Skip to content

Instantly share code, notes, and snippets.

Avatar

Raí Vieira Adriano raivieiraadriano92

View GitHub Profile
View sublime text
File Icon = icones dos arquivos
Aligment = atalho ctrl+alt+a para alinhar variaveis
All Autocomplete = o autocomplete junto SublimeCodeIntel
SublimeCodeIntel = configuar bin do php nos settings
BracketHighligther = indentifica onde fecha a tag
ColorHighligther = coloca uma cor
DocBlockr = comentarios
Emmet = usando o tab ele completa tags, entre outras coisas
GotoDocumentation = nao sei se é o F12 ou ele mostra a documentação de função
Numix Theme = tema do sublime
View gist:bb7053260944244c8e172a2587d2f147
subl /etc/fstab
/dev/sdb1 /media/Arquivos ntfs errors=remount-ro 0 0
ou
UUID=097F03A40354178B /media/rai/Gededaia ntfs defaults,rw 0 0
View gist:84c9717f6e256873a349b0d611642a61
#Edite o arquivo:
~/.bashrc
#Adicione as funções desejadas:
php()
{
docker run -it --rm -v $HOME/.ssh:/root/.ssh -v $('pwd'):/var/www jaschweder/php php "$@"
}
View gist:2310beb56be53fc5e117629314d44b54
sudo groupadd docker
sudo gpasswd -a ${USER} docker && service docker restart && usermod -aG docker $USER
View acentuação teclado linux
subl ~/.bashrc
adicione na ultima linha
setxkbmap -model pc104 -layout us_intl
. ~/.bashrc
ou
1 - Instalar os pacotes gtk2-immodules im-chooser: sudo dnf install gtk2-immodules im-chooser
View docker services in usr->local->bin
--------------------
node.sh
--------------------
#!/bin/bash
_CONTAINERNAME="node-running"
_DIR=$(pwd)
_FILEVOLUMENOW="/tmp/.file_node_volume_now"
if [ ! -f "$_FILEVOLUMENOW" ]; then
View .eslintrc
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"plugins": [
"react-native",
"jsx-a11y",
"import"
View .babelrc
{
"presets": [
"react-native"
],
"plugins": [
[
"module-resolver",
{
"cwd": "babelrc",
"root": [
View React - Config Reactotron
# run
$ yarn add --dev reactotron-react-native
# create the src/config/ReactotronConfig.js file as what is attached
# add in file src/index.js the line:
# import 'config/ReactotronConfig';
View Configure react-native-maps
https://itnext.io/install-react-native-maps-with-gradle-3-on-android-44f91a70a395