This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- https://github.com/tekezo/Karabiner/blob/master/src/bridge/generator/keycode/data/KeyCode.data --> | |
<!-- https://pqrs.org/osx/karabiner/xml.html.en --> | |
<root> | |
<appdef> | |
<appname>PARALLELS</appname> | |
<equal>com.parallels.desktop.console</equal> | |
</appdef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// | |
// Example of async counting of directories and files. | |
// | |
const fs = require('fs'); | |
const path = require('path'); | |
let walk = function(fileOrDir, done) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o nounset -o pipefail | |
# | |
# - When running this script pgadmin4 is available at http://localhost:5050 | |
# - Postgres is tunneled through SSH and available to pgadmin4 (and anything else) | |
# at pghost:54320 | |
# | |
# - Container: https://github.com/thaJeztah/pgadmin4-docker | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip3 install requests | |
import requests | |
import json | |
from pprint import pprint | |
my_email = 'john@example.com' | |
my_token = 'johns-calculator-token' | |
intake = 35.01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd | |
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash | |
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[31m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"python.pythonPath": "/usr/local/bin/python3", | |
"python.linting.pylintArgs": [ | |
"--errors-only", | |
"--extension-pkg-whitelist=pygame" | |
] | |
} |