This command writes (pastes) the content of the clipboard to
To use - copy (cmd-c) some text; then in the terminal type
pbpaste and enter:
$ pbpaste Hello, World!
|# Assuming jq (https://stedolan.github.io/jq/) and curl are installed.|
|# Show only the entries for region = us-east-1 and service = API_GATEWAY.|
|curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq --raw-output '.prefixes | select(.region=="us-east-1" and .service=="API_GATEWAY") | .ip_prefix'|
PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.
Here's how I combine the two, to create docs with embedded diagrams.
Get the command-line PlantUML from the download page or your relevant package manager.
|The script creates 'licenses' under '$ANDROID_HOME' and creates a file which proves|
|that the SDK license was accepted by the user.|
|Please copy this to your own account/gist/server. Every time there's an updated license, update the file with the new|
|Legally if you run this script (or your own version of it), it means YOU accepted the license - don't trust someone else.|
|The hashes below are supposed to be taken from $ANDROID_HOME/licenses/android-sdk-license on YOUR machine, after you|