I hereby claim:
- I am rpowis on github.
- I am rpowis (https://keybase.io/rpowis) on keybase.
- I have a public key ASCRvE50YDFEXb9GNGuYpVNpOuobr2ch3OmGl7upwxpkcAo
To claim this, I am signing this object:
| # code --list-extensions | |
| adpyke.codesnap | |
| amazonwebservices.aws-toolkit-vscode | |
| apollographql.vscode-apollo | |
| axetroy.vscode-npm-import-package-version | |
| bierner.github-markdown-preview | |
| bierner.markdown-checkbox | |
| bierner.markdown-emoji | |
| bierner.markdown-footnotes | |
| bierner.markdown-mermaid |
I hereby claim:
To claim this, I am signing this object:
| cowsay HAPPY BIRTHDAY ELLEN!!! 🥳 🎂🍸 |
| #!/usr/bin/env bash | |
| # Set up `package-latest` branch in the `package` directory | |
| rm -rf package | |
| git fetch origin | |
| git checkout package-latest && git checkout master | |
| git worktree add package package-latest | |
| # Build | |
| npm run build:package &&\ |
| # For more information about the properties used in | |
| # this file, please see the EditorConfig documentation: | |
| # http://editorconfig.org/ | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 |
| #### REPLACE LAYOUTS | |
| {{<layouts(.*)}}((.|\n)*){{\/(.*)}} | |
| replace with | |
| {% extends "$1.html" %} $2 | |
| #### REPLACE BLOCK TITLES |
| add_action('init', 'myStartSession', 1); | |
| add_action('wp_logout', 'myEndSession'); | |
| add_action('wp_login', 'myEndSession'); | |
| function myStartSession() { | |
| if(!session_id()) { | |
| session_start(); | |
| } | |
| } |
| # Apply a patch from another (unrelated) local repository | |
| $ git --git-dir=../some_other_repo/.git format-patch -k -1 --stdout <commit SHA> | git am -3 -k | |
| # Checout an empty branch to do something radically different (i.e. gh-pages) | |
| $ git checkout --orphan <new_empty_branch> | |
| # Find the root of the project | |
| $ git rev-parse --show-toplevel | |
| # Change to the root of the project |
| # | |
| # This is a list of useful commands and one-liners to make | |
| # life on the command line easier | |
| # | |
| # Create complex directory structures | |
| $ mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a} | |
| # Option -C to unpack a .tar archive file to a location | |
| $ tar xvf -C tmp/a/b/c newarc.tar.gz |