Follow this guide to install WSL:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Get your build tools and python required libraries installed:
Follow this guide to install WSL:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Follow this guide to install WSL:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
| TIME_DURATION_UNITS = ( | |
| ('week', 60*60*24*7), | |
| ('day', 60*60*24), | |
| ('hour', 60*60), | |
| ('min', 60), | |
| ('sec', 1) | |
| ) | |
| def human_time_duration(seconds): |
git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
| Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. | |
| To use the support version of these attributes, remove the android namespace. | |
| For instance, "android:colorControlNormal" becomes "colorControlNormal". | |
| These attributes will be propagated to their corresponding attributes within the android namespace | |
| for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix. | |
| All Clickable Views: | |
| ----------- |
| Backup: | |
| docker exec -t -u postgres your-db-container pg_dumpall -c > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql | |
| Restore: | |
| cat your_dump.sql | docker exec -i your-db-container psql -Upostgres |
| from flask import abort, make_response, jsonify | |
| abort(make_response(jsonify(message="Message goes here"), 400)) |
| # Defines all Languages known to GitHub. | |
| # | |
| # type - Either data, programming, markup, prose, or nil | |
| # aliases - An Array of additional aliases (implicitly | |
| # includes name.downcase) | |
| # ace_mode - A String name of the Ace Mode used for highlighting whenever | |
| # a file is edited. This must match one of the filenames in http://git.io/3XO_Cg. | |
| # Use "text" if a mode does not exist. | |
| # wrap - Boolean wrap to enable line wrapping (default: false) | |
| # extensions - An Array of associated extensions (the first one is |
| Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. | |
| To use the support version of these attributes, remove the android namespace. | |
| For instance, "android:colorControlNormal" becomes "colorControlNormal". | |
| These attributes will be propagated to their corresponding attributes within the android namespace | |
| for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix. | |
| All Clickable Views: | |
| ----------- |