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
require 'formula' | |
class Proxychains < Formula | |
homepage 'https://github.com/haad/proxychains' | |
url 'https://github.com/haad/proxychains/tarball/proxychains-4.0.1' | |
sha1 '48911bf630dd293414f94e78d7dc7b0a1386b241' | |
def install | |
system './configure', '--prefix #{prefix}' | |
system 'make' |
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
#!/bin/bash | |
git remote add origin [email protected]:$(git config --get github.user)/$(pwd).git |
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
#!/bin/sh -e | |
# usage: $0 [optional arrow args] | |
# run all arrow tests from cwd and just display the results | |
err() { | |
echo "error: $2"; exit $1 | |
} | |
which pgrep arrow >/dev/null || err 1 "missing executable(s)" | |
pgrep -f arrow_server >/dev/null || err 3 'arrow_server not running' |
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 perl | |
# @drewfish https://gist.github.com/3241991 | |
# | |
# Show a nice table representing the differences between | |
# the local repo and remotes. | |
# | |
# It is assumed that there is a direct relationship between | |
# the local branch names and remote branch names. | |
# | |
# TODO |
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
#!/bin/sh -e | |
echo "starting arrow_server" | |
arrow_server & | |
sleep 2 | |
echo "starting selenium" | |
jarf=$(ls /opt/brew/Cellar/selenium-server-standalone/2.*/selenium-server-standalone-2.*.jar | tail -1) | |
java -Dwebdriver.firefox.profile=default -jar $jarf |
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
Index: git-rel-pkg.sh | |
=================================================================== | |
--- git-rel-pkg.sh (revision 83346) | |
+++ git-rel-pkg.sh (working copy) | |
@@ -16,7 +16,7 @@ | |
[email protected]:yahoo/mojito.git # authenticated read/write public | |
gitdir=./mojito-$relnum | |
int_br=rel-$relnum # temp integration branch | |
-pkgjson=source/package.json | |
+pkgjson=package.json |
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
#!/bin/sh -e | |
pkill -fl arrow_server phantomjs 2>/dev/null && echo "killed arrow_server" | |
echo "starting arrow_server" | |
arrow_server & | |
sleep 1 | |
echo "starting selenium" | |
jarf=$(brew ls selenium-server-standalone | grep .jar) |
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
18:13isaodevelop% arrow --browser=phantomjs --logLevel ERROR unit/lib/app/addons/ac/test_descriptor.json | |
Failed mojito-analytics-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34 | |
0 Passed, 2 Failed , 0 skipped | |
in testCaseyui_3_5_1_2_1345598089406_26 | |
test setMergeFunction:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.analytics(null, null, mockAc)') | |
test stored analytics defers to meta addon for store and retrieve:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.analytics(null, null, mockAc)') | |
[2012-08-21 18:15:01.693] [ERROR] SeleniumDriver - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms' | |
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"applicati |
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
//http://news.ycombinator.com/item?id=4378741 | |
return s(val).replace(re, function(t){ | |
if( t == '>' ) return '>'; | |
if( t == '<' ) return '<'; | |
if( t == '&' ) return '&'; | |
if( t == '"' ) return '"'; | |
return t; | |
}); |
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
17:26isaodevelop% pwd | |
/Users/isao/Repos/mojito/myfork | |
17:26isaodevelop% npmls | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |