See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
# -*- coding: utf-8 -*- | |
""" | |
Generate a file tree table of contents for a directory of markdown files | |
run from command line: | |
$ python md_file_tree.py | |
will generate a markdown index of all markdown files in the current working | |
directory and its sub folders and insert it into a file `index.md`. |
#!/usr/bin/env python3 | |
# Dependency: pip3 install twitter | |
import twitter | |
# Go to http://apps.twitter.com/, create an app, and fill in these values: | |
consumer_key = 'www' | |
consumer_secret = 'xxx' | |
access_token = 'yyy' | |
access_token_secret = 'zzz' |
^+v:: ; paste text and emulate typing (CTRL+SHIFT+V) | |
AutoTrim,On | |
string = %clipboard% | |
Gosub,ONLYTYPINGCHARS | |
StringSplit, charArray, string | |
Loop %charArray0% | |
{ | |
this_char := charArray%a_index% | |
Send %this_char% | |
Random, typeSlow, 1, 3 |
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
Quick guide on how to setup git signing. Information is aggregated from following sources:
/* | |
* LOGO | |
*/ | |
[aria-label="Twitter"] { | |
display: none; | |
} | |
/* | |
* LEFT COLUMN |
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query