This file contains hidden or 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
| kubectl exec -it <pod-name> -- /bin/bash |
This file contains hidden or 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
| docker-machine create default | |
| Start the vm default. | |
| docker-machine env --shell cmd default | |
| After this command, set all variables. |
This file contains hidden or 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
| docker-machine create -d hyperv --hyperv-virtual-switch "Virtual Switch" default |
This file contains hidden or 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
| docker image rm $(docker images -a | grep none) -f |
This file contains hidden or 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
| SELECT * FROM table_privileges WHERE owner = 'OWNER_NAME' ORDER BY grantee, owner, table_name; |
This file contains hidden or 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://coinmarketcap.com/api/ | |
| //https://blockchain.info/ticker | |
| function getReal() { | |
| return getBitcoinBrl() / getBitcoinUsd(); | |
| } | |
| function getBitcoinBrl() { | |
| return getValue("bitcoin", "BRL"); | |
| } |
This file contains hidden or 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
| # Config Git | |
| git config --global user.name "Altieres de Matos" | |
| git config --global user.email "altitdb@gmail.com" | |
| git config credential.helper store |
This file contains hidden or 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
| echo Export Environment Variables | |
| sudo cat >> ~/.bashrc <<EOL | |
| # Java Variables | |
| export JDK6=/opt/java/jdk6 | |
| export JDK7=/opt/java/jdk7 | |
| export JDK8=/opt/java/jdk8 | |
| export JAVA_HOME=/opt/java/jdk8 | |
| export MAVEN_HOME=/opt/maven/maven-3.5.0 | |
| export LD_LIBRARY_PATH=/opt/vasco/VACMAN_Controller-3.17.0/lib | |
| export PATH=$PATH:/opt/java/jdk8/bin:/opt/maven/maven-3.5.0/bin |
This file contains hidden or 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
| cd Programs | |
| echo Instal Vim | |
| sudo apt-get install -y vim | |
| echo Install Skype | |
| sudo dpkg -i skypeforlinux-64.deb | |
| sudo apt-get install | |
| echo Install Slack |
This file contains hidden or 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
| cd Developer | |
| echo Permissions | |
| sudo chmod 777 /usr/share/applications | |
| sudo chown -R $USER:$(id -gn $USER) /home/alm/.config | |
| echo Install Postman | |
| sudo mkdir -p /opt/Postman | |
| sudo tar -xvzf Postman-linux-x64-5.0.0.tar.gz -C /opt/Postman --strip-components 1 |