curl https://gist.githubusercontent.com/xcsrz/780017ebbd64b2435dc58b1053bf4858/raw/f9d36a87daba4e464a1e61d35172c313ee2fea7f/adb-fix-kodi-back-button-amazon-fire-tv.sh | bash
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
45.380328, -63.266579 |
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
import sys | |
import json | |
import time | |
# pip install npm | |
from npm.bindings import npm_run | |
def wait(package, version): | |
while True: | |
err, raw = npm_run('view','--json', package) |
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
from requests import get | |
from os import environ, getcwd, chdir, mkdir, system | |
from json import dumps | |
basedir = getcwd() + '/repos' | |
mkdir(basedir) | |
username=environ['BITBUCKET_USER'] | |
password=environ['BITBUCKET_PASS'] | |
team=environ['BITBUCKET_TEAM'] |
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
brew update && brew upgrade && brew install openssl | |
cd /usr/local/Cellar/openssl/1.0.2*/lib | |
sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/ | |
cd /usr/local/lib | |
sudo ln -s libssl.1.0.0.dylib libssl.dylib | |
sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib |
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
# NOTE: this updates the file in place, do you have a backup? | |
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa |
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
openssl x509 -noout -dates -in cert.pem |
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
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v3.7.1 | tar -xz --strip=2 material-ui-3.7.1/examples/create-react-app |
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
from requests import get, post, put | |
from json import dumps, loads | |
from sys import argv | |
from math import ceil | |
commands = [] | |
def addShard(idx, shard): | |
commands.append({ | |
"allocate" : { |
- To warm and froth milk:
Push the on button once
- blue indicator lights up
- To only warm milk:
Push the on button two time
- blue indicator lights up (not helpful)