Using pipenv and want your prompt to actually be on the left side of the screen? Want to share some terminal stuff but not your user and host info?
bashmin gives you a nice little prompt:
exit to bring back the full prompt.
For air travel: conferences, 10-day trips, etc. (Based on https://github.com/b-meson/packing.)
|# run as a cron job (every 24 hours?)|
|# the longer you wait, the longer the chain|
|from secrets import consumer_key, consumer_secret, access_token, access_token_secret|
|auth = tweepy.OAuthHandler(consumer_key, consumer_secret)|
I hereby claim:
To claim this, I am signing this object:
The Stockholm International Peace Research Institute's Arms Transfers Database provides a tool to download the data. By default, that output is an
.rtf rich-text file — not so easy to analyze with your favorite spreadsheet or statistics software. Luckily, getting a CSV of the data isn't very difficult. Here's how.
To get all transfers for 2016, by seller, run this command in your terminal:
curl http://armstrade.sipri.org/armstrade/html/export_trade_register.php --compressed \ --data 'low_year=2016' \ --data 'high_year=2016' \ --data 'seller_country_code=' \ --data 'buyer_country_code=' \