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
#bin/bash | |
docker run -p 6379:6379 -i redis |
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
M104 S0 | |
M140 S0 | |
;Retract the filament | |
G92 E1 | |
G1 E-1 F300 | |
G28 X0 Y0 | |
M84 |
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
#bin/bash | |
docker run -p 5432:5432 -e POSTGRES_USER="vcamargo" -e POSTGRES_PASSWORD="maxwell" -v /opt/databases/postgresql:/var/lib/postgresql -i postgres | |
docker run -p 5432:5432 -e POSTGRES_USER="vcamargo" -e POSTGRES_PASSWORD="maxwell" --name postgres -i postgres |
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
IS_VENV=false | |
function virtualenv_check(){ | |
if [ -d "${PWD}/venv" ] && ! $IS_VENV; | |
then | |
echo "--- Virtualenv Activate---" | |
source venv/bin/activate | |
IS_VENV=true | |
if [ -d "${PWD}/venv/etc/jupyter" ]; | |
then | |
echo "Jupyter detected do you want to launch it? (Y/N)" |