Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c58b536
commit 23687ef
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,13 +1,10 @@ | |||
# -*- sh -*- | # -*- sh -*- | ||
|
|
||
export ACCEPT="application/json" | 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" | export X_CANDY_AUDIENCE="international" # or "domestic" | ||
|
|
||
# Aliases don't do any sort of expansion: http://mywiki.wooledge.org/BashFAQ/080 | # Aliases don't do any sort of expansion: http://mywiki.wooledge.org/BashFAQ/080 | ||
function apicurl { | 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" "$@" | 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" |
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
../../darwin/cannonball/config |