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 Asterisk < Formula | |
| homepage 'http://asterisk.org' | |
| url 'http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-10.11.0.tar.gz' | |
| sha1 'a678774bd6cb90fb4cefe115eb91a30228410288' | |
| env :std | |
| fails_with :clang | |
| def options | |
| [['--with-samples', "Install the sample config files. NOTE. Without this, you won't have any config files."]] |
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
| for i in {0..1362}; do echo Searching page $i...; wget -q -O- http://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android/backers?page=$i|grep YOUR_NAME_HERE && break; done |
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
| time php -r 'ini_set("memory_limit", "2048M");$a=[];for($i=0;$i<1000000;$i++){$a[]=$i;}implode($a);' | |
| time php -r 'ini_set("memory_limit", "2048M");$a="";for($i=0;$i<1000000;$i++){$a.=$i;}' |
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
| <?php | |
| namespace Framework; | |
| class SlatedHandler | |
| { | |
| /** | |
| * @var Framework\App | |
| */ | |
| private $app; |
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
| alias newc='tmp=`date +%Y%m%d%H%M%S`; open -na "Google Chrome" --args --user-data-dir=/tmp/$tmp --no-first-run --disable-extensions --safe-plugins --disable-default-apps --disable-save-password-bubble --disable-session-storage --disable-sync --disable-zero-browsers-open-for-tests' |