💖
- GitHub Staff
- wattenberger.com
- @wattenberger
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
#!/bin/bash | |
# This script will download the contents of a GitHub repo | |
# and place them in a local directory. | |
# | |
# Usage: | |
# download-repo.sh <repo> <output-path> <nested-path> <branch-name> | |
# | |
# Example: | |
# download-repo.sh wattenberger/kumiko ./kumiko-assets master public/assets |
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
{"lastUpload":"2018-10-15T15:32:55.143Z","extensionVersion":"v3.1.2"} |
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
var mainTextStyles = [ | |
"color: #fff", | |
"background: #5ba745", | |
"font-weight: bold", | |
"display: block", | |
].join(";") | |
var errorStyles = [ | |
"color: #fff", | |
"background: #D05C4D", | |
"font-weight: bold", |
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
Post info, w/ total page views: | |
GET casterisk-raws,casterisk-5min-2016.07.28/url,share/_search?ignore_unavailable&timeout=60000&search_type=count&routing=thedailybeast.com | |
{"query": {"filtered": {"filter": {"bool": {"must": [{"term": {"apikey": "thedailybeast.com"}}, {"range": {"_cache": true, "ts": {"from": "2016-07-27T03:00:00Z"}}}, {"term": {"_cache": false, "metas.canonical_url": "http://www.thedailybeast.com/articles/2016/07/26/prince-george-3-accused-of-being-a-f-king-d-khead-with-white-privilege.html"}}, {"range": {"_cache": false, "ts": {"to": "2016-07-28T15:00:30Z", "from": "2016-07-28T04:00:30Z"}}}, {"indices": {"indices": ["casterisk-5min-2016.07.28"], "filter": {"bool": {"must": [{"range": {"_cache": false, "ts": {"to": "2016-07-28T14:49:00"}}}, {"missing": {"field": "audience_segment_id"}}]}}}}, {"indices": {"indices": ["casterisk-raws"], "filter": {"bool": {"must": [{"range": {"_cache": false, "ts": {"from": "2016-07-28T14:50:00"}}}]}}}}]}}}}, "aggs": {"g0": {"terms": {"execution_hint": "map", " |
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
<div class="threesixty" data-path="assets/img/src/gem{index}.JPG" data-count="61"></div> |