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
{ | |
// -------------------------------------------------------------------- | |
// JSHint Configuration, Strict Edition | |
// -------------------------------------------------------------------- | |
// | |
// This is a options template for [JSHint][1], using [JSHint example][2] | |
// and [Ory Band's example][3] as basis and setting config values to | |
// be most strict: | |
// | |
// * set all enforcing options to 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
for file in ./*.mp3 | |
do | |
lame -mm -b64 ${file} ../target_dir/${file} | |
done |
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=$(curl http://build.chromium.org/f/chromium/snapshots/Mac/LATEST | sed 's/\(.*\)/http:\/\/build.chromium.org\/f\/chromium\/snapshots\/Mac\/\1\/chrome-mac.zip/') | |
wget $VAR | |
unzip chrome-mac.zip | |
cp -r chrome-mac/Chromium.app /Applications/ | |
rm -rf chrome-mac chrome-mac.zip |
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
cd ~ | |
mkdir nginx | |
cd nginx | |
wget http://sysoev.ru/nginx/nginx-0.7.63.tar.gz | |
curl -L -O http://dfn.dl.sourceforge.net/project/pcre/pcre/8.00/pcre-8.00.tar.gz | |
tar xzfv nginx-0.7.63.tar.gz | |
tar xzfv pcre-8.00.tar.gz | |
cd nginx-0.7.63 | |
./configure --prefix=/opt/nginx --with-http_ssl_module --with-pcre=../pcre-8.00 --add-module=/opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/nginx | |
sudo make install |