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
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f | |
[user] | |
email = | |
name = I | |
[credential] | |
helper = store | |
[alias] | |
ec = config --global -e |
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
#!/bin/sh | |
echo "pre-push started" | |
files=("./app" "./tests") | |
if [ "$files" = "" ]; then | |
echo "\nNo files found:\n" | |
exit 0 | |
fi | |
pass=true |
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
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --enable-logging --v=1 --enable-memory-info --js-flags="--expose-gc" --enable-precise-memory-info | |
tail -f ~/Library/Application\ Support/Google/Chrome\ Canary/chrome_debug.log |
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
ls /usr/local/Cellar/watchman/3.1/var/run/watchman | |
total 48 | |
drwxr-xr-x 6 ec staff 204 May 15 12:15 . | |
drwxr-xr-x 4 ec staff 136 May 18 22:21 .. | |
-rw-r--r-- 1 ec staff 0 Apr 5 23:02 .not-empty | |
srw-rw-rw- 1 ec 2110994482 0 May 15 12:15 ec | |
-rw------- 1 ec staff 17005 May 18 17:25 ec.log | |
-rw------- 1 ec staff 170 May 14 10:56 ec.state |
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
var items = {}; | |
$("#qunit-tests > li.pass").each(function(i, el) { | |
items[i] = { | |
"time": parseInt($(el).find(".runtime").text().split(" ")[0], 10), | |
"module": $(el).find(".module-name").text() | |
}; | |
}); | |
console.table(items); |
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
beginInstrumentation = function(eventName) { | |
var styles; | |
if (eventName == null) { | |
eventName = "render"; | |
} | |
styles = { | |
"render.render.metamorph": "color: #a47701;", | |
"render.render.boundHandlebars": "color: #0f51fe;", | |
"render.view": "color: #37be02;" |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/base16-eighties.dark (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Ubuntu Mono", | |
"font_options": | |
[ | |
"no_bold", | |
"subpixel_antialias" |
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
source 'http://rubygems.org' | |
gem 'rack' | |
gem 'em-websocket' | |
gem 'octokit' | |
gem 'sinatra' | |
gem 'thin' |
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
require "dalli" | |
set :cache, Dalli::Client.new | |
settings.cache.flush | |
settings.set(key,value) | |
settings.get(key) | |
settings.del(key) |
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
npm config set registry http://registry.npmjs.org/ | |
npm config set proxy http://http-proxy.com:80 | |
npm install -d |
NewerOlder