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-compose run app sh -c "python manage.py test && flake8" | |
docker-compose run app sh -c "python manage.py test" | |
docker-compose build | |
docker-compose run app sh -c "python manage.py makemigrations" | |
sudo service docker restart |
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
reformat.sh | |
export FORMAT="\nID\t{{.ID}}\nIMAGE\t{{.Image}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.RunningFor}}\nSTATUS\t{{.Status}}\nPORTS\t{{.Ports}}\nNAMES\t{{.Names}}\n" | |
# this shell will only work on bash | |
# makes formatting vertical with FORMAT tag | |
COMMANDS: | |
https://docs.docker.com/engine/reference/commandline/docker/ |
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
POSTGRES EXPORT/IMPORT: | |
SELECT * FROM "ScheduledClass"; | |
COPY "ScheduledClass" TO '/Users/jesseshea/Desktop/scheduled_class.csv' DELIMITER ',' CSV HEADER; | |
COPY "ScheduledClass" FROM '/Users/jesseshea/Desktop/scheduled_class.csv' DELIMITERS ',' CSV HEADER; | |
REPLACE MULTIPLE FIND REPLACE EXCEL: | |
Sub MultiFindNReplace() |
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
new Vue({ | |
el: '#app', | |
data: data, | |
delimiters: ["[[","]]"] | |
}); | |
npm install -g vue-cli | |
vue init webpack *project* |
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
How do I compile it? | |
Run elm reactor in your project. Now you can go to http://localhost:8000 and browse through all the files in your project. If you navigate to .elm files, it will compile them for you! | |
If you want to do things more manually, you can run elm make src/Main.elm and it will produce an index.html file that you can look at in your browser. | |