I recently set up a semi-public OpenBSD box, and thought I could stand to lock down password logins, especially for the root user.
A popular system for two-factor authentication is TOTP:
In a typical two-factor authentication application, user authentication proceeds as follows: a user enters username and password into a website or other server, generates a one-time password for the server using TOTP running locally on a smartphone or other device, and types that password into the server as well. The server then also runs TOTP to verify the entered one-time password. For this to work, the clocks of the user’s device and the server need to be roughly synchronized (the server will typically accept one-time passwords generated from timestamps that differ by ±1 time interval from the client’s timestamp). A single secret key, to be used for all subsequent authentication sessions, must have been shared between the server and the user’s device over a secure channel ahead of time. If some more steps are carried out, the user can also authenticate the server using TOTP.
I wrote totp-util to simplify the process of setting up Google Authenticator on UNIX systems.
I find the promoted tweets on Twitter super annoying, so I cobbled together a PHP (sorry!) script to block tweet sponsors. If anyone has an idea on how to get the mobile timeline so I never see ads for mobile games with in-purchasing, hit me up.
We were having an issue with developers ommiting or removing tests from our test harness. So I kluged together a PHP/Bash monotrosity that prints a list of files not loaded during the execution of the test harness as determined by strace’s log of file access. Although this is a little coarse, it does provide a list of outdated fixtures, new unadded tests and defunct tests to be removed/fixed. You probably want to tee this into a logfile.
I’ve created a iCalendar (ics) feed of up-to-the-minute MTA train status that you can subscribe to on your phone or calendar application.
Right now you can only subscribe to Subway. I find having this always updated in my iPhone’s notification center is better than using a heavy weight dedicated app.
iPhone / iOS / Mac OS X: I recomend using iCloud for to sync calendar subscriptions across devices.
Google Calendar I don’t think Google polls often enough for this to be useful. YMMV