brew update
brew install pyenv
This file contains hidden or 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
""" | |
Async Tornado S3 uploader with AWS4 sign. | |
https://gist.github.com/stalkerg/63bad3ea49be6268df49 | |
Edited by @nanvel 2015-07-24 | |
Usage example: | |
.. code-block:: python |
This file contains hidden or 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
_complete_ssh_hosts () | |
{ | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
cut -f 1 -d ' ' | \ | |
sed -e s/,.*//g | \ | |
grep -v ^# | \ | |
uniq | \ | |
grep -v "\[" ; |
It's time to replace CoffeeScript with Babel and CoffeeLint with eslint.
CoffeeScript was useful a few years ago. It provided many features that
JavaScript was lacking. It gave us the fat arrow (lexical this
functions),
default parameters, destructuring assignments, splats (spread operator), a
class
keyword, block strings, and more. Everything in the list above is now
part of the JavaScript standard. JavaScript is moving forward and gaining
This file contains hidden or 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 python | |
from math import ceil, floor, log10 | |
ones = { | |
1: 'one', | |
2: 'two', | |
3: 'three', | |
4: 'four', | |
5: 'five', |
Composed of evaporator coils & refrigerant line.
Refrigerant passing through coils absorbs thermal energy from unconditioned air, resulting in cooler & drier air. This air is discharged into the living space.
- Input: Low-pressure, low-temp liquid/vapor-mix coolant.
- From: TXV
- Output: Low-pressure, low-temperator coolant vapor.
This file contains hidden or 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
{ | |
"useTabs": false, | |
"singleQuote": true, | |
"trailingComma": "all", | |
"printWidth": 79, | |
"arrowParens": "avoid" | |
} |
OlderNewer