general:
curl <url> | python -m json.tool > <filename>
example:
perhabs you know
cd -
to go to the directory where you come from.
git can do that too!
| <snippet> | |
| <content><![CDATA[ | |
| import pdb; pdb.set_trace()]]> | |
| </content> | |
| <scope>source.python</scope> | |
| <tabTrigger>pdb</tabTrigger> | |
| </snippet> |
| { | |
| "url": "http://example.com/api/23/", | |
| "author": 1, | |
| "date_created": "2015-03-26T11:01:23.262391Z", | |
| "date_updated": "2015-03-26T11:01:23.262391Z", | |
| "html": "<form></form>", | |
| "javascript": "<script></script>", | |
| "form": { | |
| "id": 123, | |
| "method": "POST", |
| { | |
| "url": "http://example.com/api/23/", | |
| "author": 1, | |
| "date_created": "2015-03-26T11:01:23.262391Z", | |
| "date_updated": "2015-03-26T11:01:23.262391Z", | |
| "html": "<form></form>", | |
| "javascript": "<script></script>", | |
| "form": { | |
| "id": 123, | |
| "method": "POST", |
| # debug salt states: | |
| `sudo salt-call state.sls <your-salt-state-to-debug> test=True` | |
| git stash show -p stash@{0} |
| # delete unused remote branches | |
| git remote prune origin |
osx
git mergetool -t opendiff
ubuntu linux
git mergetool -t meld
cat ~/.zsh_history | awk -F\; '{ print $2 }' | sort | uniq -c | sort -n