Permalink
Browse files

Make better

  • Loading branch information...
1 parent c58b536 commit 23687ef72ea34eae7fea50254959508d6ac6568a @ithinkihaveacat committed Dec 5, 2012
Showing with 5 additions and 4 deletions.
  1. +3 −0 programs/python
  2. +1 −4 unix/darwin/cannonball/config
  3. +1 −0 unix/linux/T410s/config
View
@@ -5,3 +5,6 @@ PATH0=$(makepath $PATH0 $HOME/local/lib/python/bin)
BASE="$HOME/local/lib/python/lib/2.6/site-packages"
export PYTHONPATH=$(makepath /usr/local/lib/python*/site-packages/*.egg $PYTHONPATH)
+
+# Without cat, get python stack trace if you abort pipe
+alias jsonlint="python -mjson.tool | cat"
@@ -1,13 +1,10 @@
# -*- sh -*-
export ACCEPT="application/json"
-export X_CANDY_PLATFORM="desktop" # or "mobile"
+export X_CANDY_PLATFORM="EnhancedMobile" # or "desktop"
export X_CANDY_AUDIENCE="international" # or "domestic"
# Aliases don't do any sort of expansion: http://mywiki.wooledge.org/BashFAQ/080
function apicurl {
curl -s -E $HOME/.ssh/bbc/certificate.pem -H "Accept: $ACCEPT" -H "X-Candy-Platform: $X_CANDY_PLATFORM" -H "X-Candy-Audience: $X_CANDY_AUDIENCE" "$@"
}
-
-# Without cat, get python stack trace if you abort pipe
-alias jsonlint="python -mjson.tool | cat"
View

0 comments on commit 23687ef

Please sign in to comment.