{"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc","forks_url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/forks","commits_url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/commits","id":"43a506058d6d998e02f305b7332915bc","node_id":"MDQ6R2lzdDQzYTUwNjA1OGQ2ZDk5OGUwMmYzMDViNzMzMjkxNWJj","git_pull_url":"https://gist.github.com/43a506058d6d998e02f305b7332915bc.git","git_push_url":"https://gist.github.com/43a506058d6d998e02f305b7332915bc.git","html_url":"https://gist.github.com/michaellihs/43a506058d6d998e02f305b7332915bc","files":{"bash-shell-cheatsheet.md":{"filename":"bash-shell-cheatsheet.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/michaellihs/43a506058d6d998e02f305b7332915bc/raw/473487fa4bbb48b9468e9ad9fb51691aa09bbe7d/bash-shell-cheatsheet.md","size":3001,"truncated":false,"content":"bash / shell Cheat Sheet\n========================\n\n## Using colors in shell output\n\n```bash\nRED='\\033[0;31m'\nNC='\\033[0m' # No Color\nprintf \"I ${RED}love${NC} Stack Overflow\\n\"\n```\n\nor with `echo`\n\n```bash\necho -e \"I ${RED}love${NC} Stack Overflow\\n\"\n```\n\nColor Codes:\n\n```\nBlack        0;30     Dark Gray     1;30\nRed          0;31     Light Red     1;31\nGreen        0;32     Light Green   1;32\nBrown/Orange 0;33     Yellow        1;33\nBlue         0;34     Light Blue    1;34\nPurple       0;35     Light Purple  1;35\nCyan         0;36     Light Cyan    1;36\nLight Gray   0;37     White         1;37\n```\n\nsee [ANSI Escape Codes](https://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## avoid entries in bash history\n\nsee http://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces\n\n```bash\nexport HISTCONTROL=ignoreboth \n```\n\n\n## start `ssh-agent` only once (in `.profile` on Mac)\n\n```bash\nSSH_ENV=\"$HOME/.ssh/environment\"\n\nfunction start_agent {\n     echo \"Initialising new SSH agent...\"\n     /usr/bin/ssh-agent | sed 's/^echo/#echo/' > \"${SSH_ENV}\"\n     echo succeeded\n     chmod 600 \"${SSH_ENV}\"\n     . \"${SSH_ENV}\" > /dev/null\n     /usr/bin/ssh-add;\n}    \n\n# Source SSH settings, if applicable\n\nif [ -f \"${SSH_ENV}\" ]; then\n     . \"${SSH_ENV}\" > /dev/null\n     #ps ${SSH_AGENT_PID} doesn't work under cywgin\n     ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {\n     start_agent;\n }\nelse\n     start_agent;\nfi\n```\n\n## change directory to script's path\n\n```bash\ncd $(dirname $BASH_SOURCE[0])\n```\n\n\n## get script's path\n\n```bash\nDIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" >/dev/null 2>&1 && pwd )\"\n```\n\n\n## Provide proper usage information\n\n```bash\n#/ Usage: ./rollout.sh\nusage() {\n    grep '^#/' \"$0\" | cut -c4-\n    exit 0\n}\nexpr \"$*\" : \".*--help\" > /dev/null && usage\n```\n\n\n## clean up after script finishes\n\n```bash\ntrap \"rm -rf /tmp/concourse-deployment ca.pem\" QUIT TERM EXIT INT\n```\n\n\n## write heredoc into file\n\n```bash\ncat > ci/stub.yml << EOF\n---\nmeta:\n  ssh_key: (( file \"/opt/workspace/concourse/concourse_rsa\" ))\n  target: tenant-deployer\nEOF\n```\n    \n    \n## dispatch commands to bash function\n\n```bash\n## copy-artifacts: copies compiled artifacts in preperation for Docker build\nfunction task_copy_artifacts {\n  prepare_client\n  prepare_server\n}\n\nfunction task_usage {\n    echo \"Usage: $0\"\n    sed -n 's/^##//p' <$0 | column -t -s ':' |  sed -E $'s/^/\\t/'\n}\n\nCMD=${1:-}\nshift || true\nRESOLVED_COMMAND=$(echo \"task_\"$CMD | sed 's/-/_/g')\nif [ \"$(LC_ALL=C type -t $RESOLVED_COMMAND)\" == \"function\" ]; then\n    pushd $(dirname \"${BASH_SOURCE[0]}\") >/dev/null\n    $RESOLVED_COMMAND \"$@\"\nelse\n    task_usage\nfi\n```\n\n## Check if variable is set\n\n```bash\n: \"${VARIABLE_NAME:?'expected variable VARIABLE_NAME is not set'}\"\n```\n\n\nReferences\n----------\n\n* [https://dev.to/thiht/shell-scripts-matter](https://dev.to/thiht/shell-scripts-matter)\n* [http://jvns.ca/blog/2017/03/26/bash-quirks/](http://jvns.ca/blog/2017/03/26/bash-quirks/)","encoding":"utf-8"}},"public":true,"created_at":"2017-03-16T10:15:10Z","updated_at":"2020-09-15T10:37:24Z","description":"bash / shell cheatsheet","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/comments","owner":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"forks":[],"history":[{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"b59befb3092ea8e2f06e3c29880a5b650b37bea4","committed_at":"2019-11-29T07:22:38Z","change_status":{"total":10,"additions":10,"deletions":0},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/b59befb3092ea8e2f06e3c29880a5b650b37bea4"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"5699fac9eced06272339c429aa33cb827fe7504f","committed_at":"2019-10-24T09:53:22Z","change_status":{"total":130,"additions":65,"deletions":65},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/5699fac9eced06272339c429aa33cb827fe7504f"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"b2c8ceac37089a3b2213e287e59e01d1619ebe0a","committed_at":"2019-10-24T09:52:27Z","change_status":{"total":27,"additions":16,"deletions":11},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/b2c8ceac37089a3b2213e287e59e01d1619ebe0a"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"141ee5a7e80b053c9b681365283d650f66099c60","committed_at":"2019-10-24T09:51:30Z","change_status":{"total":14,"additions":7,"deletions":7},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/141ee5a7e80b053c9b681365283d650f66099c60"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"cc2eb37fa388ffd8ab37c8439f4ce1442ebaaaff","committed_at":"2019-10-24T09:50:53Z","change_status":{"total":30,"additions":30,"deletions":0},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/cc2eb37fa388ffd8ab37c8439f4ce1442ebaaaff"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"ae855658118cc8013a07a58a0cf7713e16bebad6","committed_at":"2019-10-24T09:28:07Z","change_status":{"total":6,"additions":6,"deletions":0},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/ae855658118cc8013a07a58a0cf7713e16bebad6"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"1872aa0e177231413d3f70dca11df32f8cf6beda","committed_at":"2019-10-24T07:25:38Z","change_status":{"total":3,"additions":0,"deletions":3},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/1872aa0e177231413d3f70dca11df32f8cf6beda"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"444f50ab7483ef44428b0d5e6353b54aad18945c","committed_at":"2019-10-24T07:23:35Z","change_status":{"total":12,"additions":6,"deletions":6},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/444f50ab7483ef44428b0d5e6353b54aad18945c"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"bea80a41070a2d98d7324cd0fda6681f05476cba","committed_at":"2019-10-24T07:23:05Z","change_status":{"total":33,"additions":21,"deletions":12},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/bea80a41070a2d98d7324cd0fda6681f05476cba"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"ac4e5a55183bd1352484e47d15f60c22fe2ee97c","committed_at":"2019-10-24T07:21:25Z","change_status":{"total":28,"additions":28,"deletions":0},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/ac4e5a55183bd1352484e47d15f60c22fe2ee97c"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"5a0283f8c6808858e490673900607113921e6666","committed_at":"2017-04-04T21:21:32Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/5a0283f8c6808858e490673900607113921e6666"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"54b1f4901f8927724ce9f473e2a9bc9d3a075352","committed_at":"2017-03-17T12:26:29Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/54b1f4901f8927724ce9f473e2a9bc9d3a075352"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"92773a5d2cb09817485d30de979e0cc58025cbf3","committed_at":"2017-03-16T12:59:52Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/92773a5d2cb09817485d30de979e0cc58025cbf3"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"7d064269993a5de28d370b34fdfda02b8c4b8dde","committed_at":"2017-03-16T10:27:22Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/7d064269993a5de28d370b34fdfda02b8c4b8dde"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"79ffaf6e01ca7de950a5cc993cd3714ec2da8b73","committed_at":"2017-03-16T10:17:50Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/79ffaf6e01ca7de950a5cc993cd3714ec2da8b73"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"7c709df3b66d2bf4750ad49b1127fdc31e4a86e2","committed_at":"2017-03-16T10:15:50Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/7c709df3b66d2bf4750ad49b1127fdc31e4a86e2"},{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"cad9afc3b5412508527c1c76efb5d78ff2bce13d","committed_at":"2017-03-16T10:15:09Z","change_status":{},"url":"https://api.github.com/gists/43a506058d6d998e02f305b7332915bc/cad9afc3b5412508527c1c76efb5d78ff2bce13d"}],"truncated":false}