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
{ | |
"name": "Minimal New Tab", | |
"version": "0.0.0", | |
"manifest_version": 2, | |
"description": "A minimalist New Tab page.", | |
"chrome_url_overrides" : { | |
"newtab": "newtab.html" | |
} | |
} |
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
perl -e 'exit -1' | |
perl -e "print unpack('c', pack('C', $?)), \$/" |
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 bash | |
set -e -o pipefail | |
LATEST_GIT_VERSION=$(curl http://git-scm.com/ 2>&1 | grep -A 2 '<span class="version">' | grep '[[:digit:]].[[:digit:]]' | tr -d ' ') | |
GIT_VERSION="${1:-$LATEST_GIT_VERSION}" | |
PREFIX="/usr/local/git" | |
SUDO="sudo" | |
NOW_SECONDS=$(date +%s) | |
THE_ABYSS="/dev/null" |
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 argparse | |
import requests | |
import json | |
ROOM_ID = '' | |
TOKEN = '' | |
HIPCHAT_ROOM_URL = 'https://api.hipchat.com/v2/room/{0}/notification' | |
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
var re = /^(?!app[\\\/])|(app[\\\/]test)/; | |
console.log(); | |
console.log(); | |
console.log(); | |
console.log(); | |
[ | |
"app/test/Config.js", | |
"app/test/OtherConfig.js", |
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 python3 -OO | |
import itertools | |
import serial | |
import shlex | |
import subprocess | |
MESSAGE = """ | |
Hi there! You have a serial port: |
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 alpine:3.6 | |
RUN apk --update add python3 | |
CMD ["python3"] |
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
fun rangeMap(value: Double, from: ClosedRange<Double>, to: ClosedRange<Double>): Double { | |
require(value in from, { "value $value must be in source range $from" }) | |
return to.start + (to.endInclusive - to.start) * (value - from.start) / (from.endInclusive - from.start) | |
} |
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
node_modules/rx/{package.json.bak => package.json} | 1 + | |
1 file changed, 1 insertion(+) | |
diff --git a/node_modules/rx/package.json.bak b/node_modules/rx/package.json | |
index b4ce765..c7871af 100644 | |
--- a/node_modules/rx/package.json.bak | |
+++ b/node_modules/rx/package.json | |
@@ -113,5 +113,6 @@ | |
"test": "grunt" | |
}, |