This is the Gist for the Intermediate Python for Finance Training in London, 28.-29. November 2017.
Additional files (eg Jupyter Notebooks) are found under:
| using System; | |
| using System.Data.Entity; | |
| using System.Linq; | |
| namespace My.Data.Annotations | |
| { | |
| /// <summary> | |
| /// The Precision class allows us to decorate our Entity Models with a Precision attribute | |
| /// to specify decimal precision values for the database column | |
| /// </summary> |
| import gps, os, time | |
| session = gps.gps() | |
| while 1: | |
| os.system('clear') | |
| session.query('admosy') | |
| # a = altitude, d = date/time, m=mode, | |
| # o=postion/fix, s=status, y=satellites |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| docker run --rm -it --name dcv -v /home/user/blog:/input pmsipilot/docker-compose-viz render -m image --force docker-compose.yml --output-file=topology.png --no-volumes --no-ports --no-networks |
| docker run --rm -it --name dcv -v /home/user/blog:/input pmsipilot/docker-compose-viz render -m image --force docker-compose.yml --output-file=topology.png --no-volumes --no-ports --no-networks |
| # [<tag>] (If applied, this commit will...) <subject> (Max 72 char) | |
| # |<---- Preferably using up to 50 chars --->|<------------------->| | |
| # Example: | |
| # [feat] Implement automated commit messages | |
| # (Optional) Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # (Optional) Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| ############################################################################### | |
| # Helpful Docker commands and code snippets | |
| ############################################################################### | |
| ### CONTAINERS ### | |
| docker stop $(docker ps -a -q) #stop ALL containers | |
| docker rm -f $(docker ps -a -q) # remove ALL containers | |
| docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter | |
| # exec into container |