I hereby claim:
- I am markcallen on github.
- I am markcallen (https://keybase.io/markcallen) on keybase.
- I have a public key ASCXjc4GW-GO_7Bp4lQsnLNuKOiGl3lL83eXFnfxEn3Newo
To claim this, I am signing this object:
| Vim in One File — A Practical Teaching Guide | |
| =============================================== | |
| Use this file to teach someone Vim from zero to productive. Read top to bottom, or jump by section. | |
| 0) Panic Button — How to quit | |
| ----------------------------- | |
| - Press ESC to make sure you’re in Normal mode. | |
| - Type :q and press ENTER to quit (fails if file changed). | |
| - Type :q! to quit and discard changes. |
| cat << EOF > $HOME/.vimrc-min | |
| syntax on | |
| set backspace=start,eol,indent | |
| set hidden | |
| set noswapfile | |
| set expandtab | |
| set tabstop=2 | |
| set softtabstop=2 | |
| set shiftwidth=2 |
| #!/bin/bash | |
| # Usage: ./brew_health.sh [options] | |
| # Options: | |
| # --force Run maintenance regardless of last run time | |
| # --cleanup Remove any stale lock file before running | |
| # --dry-run Show what would be done without making changes | |
| # --status Show when the script was last run | |
| # | |
| # This script performs Homebrew maintenance tasks including: |
| #!/bin/bash | |
| # ------------------------------------------------------------------------------ | |
| # TypeScript Config Generator Script | |
| # | |
| # This script initializes a TypeScript project with a customized tsconfig.json. | |
| # It checks for an existing tsconfig.json and exits if one is found. | |
| # It also ensures that strip-json-comments is available to format the output. | |
| # | |
| # Learn more at: https://www.markcallen.com/tsconfig/ |
I hereby claim:
To claim this, I am signing this object:
| import sys | |
| from xml.etree import cElementTree as ET | |
| x509s = [] | |
| def read_in(): | |
| return ET.fromstring(sys.stdin.read()) | |
| def main(): | |
| xml = read_in() |
| new gist |