wget -q –no-check-certificate -O - https://www.starbucks.com/card/manage/check-your-balance –post-data=”Card.Number=$CARD_NUMBER&Card.Pin=$CARD_PIN” –header=’X-Requested-With:XMLHttpRequest’ | sed -n ‘s|.*<span class=”fetch_balance_value”>\(.*\)</span>|\1|p’
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
export DJANGO_SETTINGS_MODULE=conf.com.ajc.projects.local | |
export PYTHONPATH=$PYTHONPATH:~/Code/django_11:~/Code/svn/odgdjango/trunk/lib | |
export CDPATH=".:~/Code" | |
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH" | |
export PATH="$PATH:/Users/zhunter/Code/django_11/django/bin:/Users/zhunter/bin" | |
#export DISPLAY=:0.0 | |
export REPO="svn+ssh://fcp-intradevweb/repos" | |
export LC_CTYPE=en_US.UTF-8 |
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
from helpers import override_settings | |
KONG_DEFAULT_SERVERNAME = 'ljworld.com' | |
KONG_DEFAULT_PYTHONPATH = '/home/code' | |
override_settings(globals()) |
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
bash-3.2$ make | |
make | |
Waf: Entering directory `/Users/zhunter/Code/git/node/build' | |
[ 8/22] libv8.a: deps/v8/SConstruct -> build/default/libv8.a | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
JS2C(["obj/release/libraries.cc", "obj/release/libraries-empty.cc"], ["src/runtime.js", "src/v8natives.js", "src/array.js", "src/string.js", "src/uri.js", "src/math.js", "src/messages.js", "src/apinatives.js", "src/debug-delay.js", "src/mirror-delay.js", "src/date-delay.js", "src/regexp-delay.js", "src/json-delay.js", "src/macros.py"]) | |
scons: *** [obj/release/libraries.cc] AttributeError : 'module' object has no attribute 'JavaScriptMinifier' |
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
* Uncompiled Python code is over 2317 times faster than | |
uncompiled Java or C | |
* Guido van Rossum invented whitespace | |
* There are over 350 million Python programmers in the | |
continental United States | |
* Python use has been outlawed repeatedly by Kim Jong il, but an | |
underground movement thrives in North Korea |
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
set sts=4 | |
set ts=4 | |
set sw=4 | |
set et |
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
vagrant@vagrantbase:~$ sudo apt-get -q -y install apache2=2.2.8-1ubuntu0.14 | |
sudo apt-get -q -y install apache2=2.2.8-1ubuntu0.14 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 | |
libaprutil1 libexpat1 libmagic1 libpcre3 libpq5 | |
Suggested packages: | |
apache2-doc www-browser file |
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
(tmp)datl9wzhunter:~ zhunter$ pip install psycopg2 | |
Downloading/unpacking psycopg2 | |
Running setup.py egg_info for package psycopg2 | |
Warning: Unable to find 'pg_config' filereading manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt' | |
warning: no files found matching 'TODO' under directory 'doc' | |
no previously-included directories found matching 'doc/src/_build' | |
Installing collected packages: psycopg2 | |
Running setup.py install for psycopg2 | |
Warning: Unable to find 'pg_config' filebuilding 'psycopg2._psycopg' extension | |
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.14 (dt dec ext pq3)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I. -c psycopg/psycopgmodule.c |
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
recursive-include media * |
These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html