jq is useful to slice, filter, map and transform structured json data.
brew install jq
| .cursor { | |
| cursor: url("cursor.png") 0 0, pointer; /* Legacy */ | |
| cursor: url("cursor.svg") 0 0, pointer; /* FF */ | |
| cursor: -webkit-image-set(url("cursor.png") 1x, url("[email protected]") 2x) 0 0, pointer; /* Webkit */ | |
| } | 
| Country | ISO 3166 | Region | 
|---|---|---|
| Afghanistan | AF | EMEA | 
| Åland Islands | AX | EMEA | 
| Albania | AL | EMEA | 
| Algeria | DZ | EMEA | 
| American Samoa | AS | APAC | 
| Andorra | AD | EMEA | 
| Angola | AO | EMEA | 
| Anguilla | AI | AMER | 
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which | 
| var defaults = { | |
| number: 1, | |
| bool: true, | |
| magic: 'real', | |
| animal: 'whale', | |
| croutons: 'delicious' | |
| }; | |
| var options = { | |
| number: 2, | 
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| SYNOPSIS | |
| flask_gridfs_images.py --start | |
| flask_gridfs_images.py --add <IMAGE_URL> | |
| DESCRIPTION | 
| //Shell script in 'Hooks' settings panel | |
| // Prepends timestamp to specified files | |
| TIME=$(date +"%a %d %b %Y %H:%M:%S") | |
| lf=$'\n'; | |
| sed "1s;^;/* $TIME */\\$lf;" $CK_INPUT_PATH > $CK_OUTPUT_PATH | 
| /** | |
| * Short version to window.console.log() | |
| */ | |
| var LOG = LOG || console.log.bind(console); | |
| /** | |
| * Display function caller | |
| * Put at beginning of a function to determine who called the function | |
| */ | |
| // Display function name only | 
| # Using tuples to trigger Select2 in flask-admin. | |
| # Adjust as needed | |
| FONTAWESOME = ( | |
| ("","---"), | |
| ("fa-500px", "fa-500px"), | |
| ("fa-address-book", "fa-address-book"), | |
| ("fa-address-book-o", "fa-address-book-o"), | |
| ("fa-address-card", "fa-address-card"), | |
| ("fa-address-card-o", "fa-address-card-o"), |