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
[~/c/bootstrap] > echo 'a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a{a' | wc | |
1 1 106 | |
[~/c/bootstrap] > echo 'a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<' | wc | |
1 1 133 | |
[~/c/bootstrap] > echo 'a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(A(A(a(a(99a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(a(' | wc | |
1 1 117 | |
[~/c/bootstrap] > | |
echo 'a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[a[aa[a[[a[a[a[a[a[a[a[a[a[a[' | wc | |
1 1 187 | |
[~/c/bootstrap] > |
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
[~/c/bootstrap] > git ls-files '*.less' | xargs cat | fold -w1 | sort -n | uniq -c | sort -nr | |
34509 | |
11192 e | |
10535 o | |
10289 - | |
9532 t | |
9188 r | |
8473 i | |
8403 n | |
8177 a |
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
(function() { | |
var request = require('request'); | |
var count = 0; | |
var FREQ = 1000; | |
setInterval( | |
function() { | |
request.post( | |
'http://suitsoncampus.com/nominate/saved', { | |
form: { | |
'school': 'Carnegie Mellon University' |
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
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1='\[\e[1;31m\][\W]$(parse_git_branch) → \[\e[0m\]' |
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
SELECT bm.folder_name, bm.folder_id, p.title as title, p.url as url FROM (SELECT f.title as folder_name, f.id as folder_id ,b.title, b.fk as place_id FROM (SELECT * FROM moz_bookmarks where type=2 AND (parent=2 OR parent=3)) f JOIN moz_bookmarks b ON f.id = b.parent) bm JOIN moz_places p ON p.id = bm.place_id |
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
tabs.on('ready', function(tab) { | |
reportError("tab activated"); | |
let gBrowser = Svc.Services.wm.getMostRecentWindow("navigator:browser").gBrowser; | |
let doc = gBrowser.contentDocument; | |
let browser = gBrowser.getBrowserForDocument(doc); | |
if (browser.engines) { | |
reportError(Object.keys(browser.engines[0])); | |
browser.engines.forEach(function({uri, title, icon}) { | |
let type = (/xml$/).test(uri) ? Ci.nsISearchEngine.DATA_XML : Ci.nsISearchEngine.DATA_TEXT; | |
let e = Svc.Services.search.currentEngine; |
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
Components.utils.import("resource://gre/modules/Services.jsm"); | |
win=Services.wm.getMostRecentWindow("navigator:browser"); | |
gB=win.gBrowser; | |
t=gB.visibleTabs[0]; | |
tb=gB.getBrowserForTab(t); | |
Object.keys(tb.engines[0]); |