I hereby claim:
- I am shaneshifflett on github.
- I am shaneshifflett (https://keybase.io/shaneshifflett) on keybase.
- I have a public key ASAkA-9iOiGCxZCNDm9Yd3e9IFojoIV0vrQuf8QvGAbyJAo
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | |
| <script>L_PREFER_CANVAS = false; L_NO_TOUCH = false; L_DISABLE_3D = false;</script> | |
| <script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.0.0/leaflet.markercluster-src.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.0.0/leaflet.markercluster.js"></script> | 
| #install: https://www.continuum.io/downloads | |
| import requests | |
| import json | |
| response = requests.get("https://itunes.apple.com/search?country=us&entity=software&term=flappy") | |
| data = json.loads(response.content.decode('utf-8')) | |
| print(data['results'][0].keys()) | |
| values = list(map(lambda x: [x['price'], x['releaseDate'], x['trackName']], data['results'])) | |
| df = pd.DataFrame(values, columns=['price', 'release-date', 'name']) | |
| df.to_csv("~/for-steph.csv") | 
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
| #codecs i've used to get web mp4s working on safari/chrome | |
| ffmpeg -i YOURFILE.mov -vcodec libx264 -vprofile high -preset veryslow -b:v 1m -maxrate 300k -bufsize 1000k -vf scale=-1:-1 -threads 2 -pass 1 -an -f mp4 YOURFILE.mp4 | |
| #for firefox | |
| ffmpeg -i iqos.mp4 -c:v libvpx -b:v 1M -c:a libvorbis iqos.webm | 
| import requests | |
| urls = []#list of urls to scrape | |
| for link in urls: | |
| response = requests.get(link) | |
| with open('pdfs/'+link+'.pdf', 'w') as f: | |
| f.write(response.content) | |
I hereby claim:
To claim this, I am signing this object: