Archive for October, 2014

Another Cryptopals Learn-A-Long

Are you interested in cryptography or Internet security? My friend Matt Baker and I have been leading a learn-a-long workshop where we all work through Matasano’s cryptopals challenges together. The next meeting is this coming Thursday 10/23 from 7PM to 9PM at Pumping Station: One in the electronics area.  None of us are experts, we’ll all be learning this stuff together.  Some people will be just starting out, others are part of the way through the course. Bring your laptop, charger and learning spirit!

Cryptography

Math! And a lock! CRYPTO!

Advertisements

Schedule Recurring Tasks on Trello

I use Trello a lot.  It plays a key role in how I Get Things Done.  It’s easy to use, snappy and lightweight.  There’s been one feature missing for me, though: recurring tasks.  There are tasks I need to do every week.  Laundry, my weekly review, whatever.  I can add them manually of course, but it would be nice not to have to.  So I wrote a quick little script that does it for me.  If you’re interested, feel free to clone the repo.

There’s a bit of setup required.  You need to install py-trello, the trello API wrapper I used.  I should add a requirements file so you can install it with pip, but I haven’t yet.  You’ll probably want to clone the py-trello repository anyway, since it simplifies the process of getting tokens.  Copy the two config.example files over and remove the “.example” suffix.  Get your Trello API key and secret.  Get your OAuth token and secret (py-trello provides a handy utility to do this, see their docs).  Replace the placeholder values in auth.config with your real values.  Edit schedule.config with the recurring tasks you want.  Next edit lines 19 and 24 of schedule_trello.py and replace “/absolute/path/to/” with the actual absolute path.  The last step is adding a line to your crontab so that this script will be run daily.  I wanted mine to run early in the morning so I set it to run at 5 AM every day.  More information on cron can be found on the Ubuntu community site. Fire up your terminal and run:

crontab -e

This will put you in a text editor editing your crontab file. At the bottom add:

0 5 * * * /full/path/to/schedule_trello.py

And you’re all set! Pull requests, comments and questions are welcome!

Crypto Learn-a-long

Are you interested in cryptography or Internet security? My friend Matt Baker and I have been leading a learn-a-long workshop where we all work through Matasano’s cryptopals challenges together. We had our first meeting last week and had a great time! If you want to join us, the next meeting is this coming Tuesday 10/7 from 7PM to 9PM at Dev Bootcamp. Bring your laptop, charger and learning spirit!

image

Obligatory ones and zeroes


Pages

Categories

October 2014
M T W T F S S
« Sep   Nov »
 12345
6789101112
13141516171819
20212223242526
2728293031