I hereby claim:
- I am jofish on github.
- I am jofish (https://keybase.io/jofish) on keybase.
- I have a public key whose fingerprint is C0F8 0586 10BE F095 26F4 E9B2 63C9 40E6 8FC9 48EC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
so first you want to download all the code from mozilla's repo | |
(there may be better ways to do this, like using the search api interface, but let's be dumb for now) | |
right now i'm doing this by just pulling all the python files as an example | |
mkdir mozilla-github | |
cd mozilla-github | |
curl -i https://api.github.com/search/code?q=include+in:file+org:mozilla+language:python python -c $'import json, sys, os\nfor repo in json.load(sys.stdin): os.system("git clone --depth 1" + repo["clone_url"])' | |
[see here for discussion of the right thing there: https://gist.github.com/caniszczyk/3856584] |
#jofish's quick and filthy script to download your pocket saves to keep locally | |
#so they can be indexed by spotlight or whatever and show up when you search | |
# | |
#to begin, download your pocket saves from https://getpocket.com/export (you'll need to be logged in) | |
# | |
#todo: make that automatic so this can run on a cron job | |
#example line of pocket save file | |
#<li><a href="https://www.saveur.com/xo-sauce-hopscotch-oakland/" time_added="1710236753" tags="">The Secrets of Making XO Sauce, the Magic Condiment of China</a></li> |