- Run Docker Image:
docker run -it your-image-name
- Or, if you want to run a specific command within the image, like running a bash shell:
docker run -it your-image-name /bin/bash
- Create Docker Image:
docker build -t your-project-name .
The dot at the end indicates that the build should occur in the root directory. If you want to build from a different directory, use the../
syntax. - List Docker Images:
docker images
- Remove Docker Image:
docker image rm image-name
- Forcefully Remove Docker Image:
docker image rm image-name -f
- List Containers:
docker ps -a
- Remove Container:
docker container rm container_name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import LottieView from "lottie-react-native"; | |
import { Fragment, useRef, useState } from "react"; | |
import { Button, Dimensions, StyleSheet, Text, View } from "react-native"; | |
export default function HomeScreen() { | |
const [playPause, setPlayPause] = useState<string>("play"); | |
const animationRef = useRef<LottieView>(null); | |
const runAnimation = (mode: string) => { | |
if (mode === "play") { |
This documentation provides step-by-step instructions on how to generate a debug APK (Android Package) file for a React Native application. The debug APK is primarily used for testing and debugging purposes during the development phase.
Before proceeding, ensure that you have the following prerequisites in place:
let up = true;
let down = true;
let screenCounter = 0;
let incrementBy = 1;
let defaultTftMode = "light";
const lengthOfScreen = 4;
// direction would be up or down
function changeScreen(direction = null) {
#in blade file to perform delete using anchor tag with js
<x-layouts.app>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<div class="row">
<div class="col-md-5">
Employees
<style>
.tooltipevent {
width: 400px;
background: #ccc;
position: absolute;
z-index: 10001;
transform: translate3d(-50%, -100%, 0);
font-size: 0.8rem;
box-shadow: 1px 1px 3px 0px #888888;
<div wire:ignore class="form-group row">
<x-label class="col-md-3 col-form-label" for="message" :value="__('Compose message')" />
<div class="col-md-9">
<textarea wire:model="message" class="form-control required" name="message"
id="message"></textarea>
<x-error-message :value="__('message')" />
</div>
</div>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from "react"; | |
import cookies from "next-cookies"; | |
import { TOKEN_STORAGE_KEY, USER_STORAGE_KEY } from "@/services/auth.service"; | |
export function ProtectedRoute(WrapperComponent) { | |
return class extends Component { | |
static async getInitialProps(ctx) { | |
const token = cookies(ctx)[TOKEN_STORAGE_KEY]; | |
if (!token) { | |
// const route = '/login?dest=' + ctx.asPath; |
NewerOlder