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 | |
"use strict"; | |
console.log("This is pid " + process.pid); | |
setTimeout(function () { | |
process.on("exit", function () { | |
require("child_process").spawn(process.argv.shift(), process.argv, { | |
cwd: process.cwd(), |
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
# I use MacOS VMs from github for iOS development. | |
# By no suprise they are a bit slow and have a lot of things I don't use | |
# Hence this script for lighter and better VM for my iOS development and builds | |
# GUI and animation related things to tweak | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0 | |
defaults write com.apple.dock launchanim -bool false | |
sudo sysctl debug.lowpri_throttle_enabled=0 |
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
"use strict"; | |
const net = require("net"); | |
const port = 4000; | |
var time, times = []; | |
function now() { | |
let hrtime = process.hrtime(); | |
return hrtime[0] * 1e9 + hrtime[1]; | |
} |
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
"use strict"; | |
const fs = require("fs"); | |
const util = require("util"); | |
const p = process.argv[2]; | |
function time() { | |
const t = process.hrtime(); | |
return Math.round((t[0] * 1e9 + t[1]) / 1e6); | |
} |
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
user http; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
server_tokens off; |
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
body { background: #222 } | |
#octo #cat { fill: #fff } | |
#octo { position: fixed; height: 100%; width: 100% } | |
#octo .part { | |
animation-name: fade; | |
animation-duration: 1s; | |
animation-iteration-count: infinite; | |
animation-timing-function: ease-out; | |
fill: #333; |
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
#9576ff | |
#869a00 | |
#c67f66 | |
#ff0095 | |
#809b31 | |
#92bc82 | |
#919191 | |
#ff4593 | |
#f79c0d | |
#d2ad00 |
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
install: /usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/ | |
programs: =/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ | |
libraries: =/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/lib/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/lib/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../:/lib/armv6l-unknown-linu |
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
install: /usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/ | |
programs: =/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/local/lib/cw/../lib/gcc/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ | |
libraries: =/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/local/lib/cw/../lib/gcc/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/lib/armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/lib/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../armv6l-unknown-linux-gnueabihf/4.7.2/:/usr/local/lib/cw/../lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../:/lib/armv6l- |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("^http(s)?://((www|gist|help|status).)?github.*") { | |
/* Github Dark Theme v1.3.5 (6/18/2013) | |
* https://github.com/Mottie/Github-Dark | |
* http://userstyles.org/styles/37035 | |
* License: http://sam.zoy.org/wtfpl/ | |
*/ |
NewerOlder