- create a file on /usr/local/bin with name 'php';
nano /usr/local/bin/php
- paste de following code:
#!/bin/bash
docker exec -i --user=1000:1000 YOUR-CONTAINER-NAME php "$@"
#My git alias: http://tuliocalil.blogspot.com/2020/07/linux-e-unix-alias-atalhos-produtivos.html | |
alias g=git | |
alias ga='git add' | |
alias gam='git am' | |
alias gap='git apply' | |
alias gb='git branch' | |
alias gbs='git bisect' | |
alias gcam='git commit -a -m' | |
alias gcb='git checkout -b' | |
alias gcd='git checkout develop' |
[Desktop Entry] | |
Version=1.0 | |
Name=Android Virtual Device | |
Comment=Start Android virtual device | |
Exec=bash -c "~/Android/Sdk/emulator/emulator -avd Galaxy_Nexus_API_28" | |
Icon=~/Android/Sdk/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Utility;Application; |
const localizationBR = { | |
pagination: { | |
labelDisplayedRows: '{from}-{to} de {count}', | |
labelRowsSelect: 'linhas', | |
labelRowsPerPage: 'Linhas por página:', | |
firstTooltip: 'Primeira página', | |
firstAriaLabel: 'Primeira página', | |
previousAriaLabel: 'Página anterior', | |
previousTooltip: 'Página anterior', | |
nextAriaLabel: 'Próxima página', |
//Using: | |
import React, { Component } from "react"; | |
import AdminLTE from "adminlte-2-react"; | |
//import the login component | |
import Login from "./LoginAdminLTE"; | |
//receive the json returned after form submit | |
handleLogin = values => { | |
alert(JSON.stringify(values)); |
##Windows users:
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
homestead
utf8_general_ciimport android.app.Activity; | |
import android.app.Dialog; | |
import android.util.Log; | |
import android.view.Window; | |
import android.widget.ImageView; | |
import com.bumptech.glide.Glide; | |
import com.bumptech.glide.request.target.GlideDrawableImageViewTarget; | |
public class LoadingDialog { |
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<ImageView | |
android:id="@+id/custom_loading_imageView" | |
android:layout_width="120dp" |