There's a current news story about a wallet blunder freezing up $280,000,000 of Ether, a cryptocurrency. I try to avoid posting too much opinion on my blog, but I do have a view on this. Cryptocurrency A cryptocurrency like Bitcoin or Ether is based on the idea of unbreakable contracts and irreversible transactions. This is … Continue reading Cryptocurrency and irreversible transactions
Author: Leons Petrazickis
Integrate your Rails app with Open edX SSO and Oauth2
OpenEdX is an open source platform for MOOCs. I put together the omniauth-cognitiveclass gem for integrating Rails apps with Open edX SSO using Oauth2
Brace expansion to match multiple files in Bash
Bash has handy brace expansion powers that I've belatedly discovered. $ echo I love hippo{griffs,potamuses,dromes} I love hippogriffs hippopotamuses hippodromes For example, you can quickly diff a file with and without a suffix: $ echo diff .env{,.example} diff .env .env.example Or tail multiple log files: $ echo tail -f /var/log/{messages,secure} tail -f /var/log/messages /var/log/secure Bash … Continue reading Brace expansion to match multiple files in Bash
Command line client for Sentry (Bash)
Sentry is a great error aggregation service. We use it for every service we deploy at work. A command line client for Sentry lets you log Bash errors.
Update OpenLDAP SSL certificate on CentOS 6
You may need to update your OpenLDAP SSL certificate, as well as the CA certificate and signing key on a regular basis.
Fix full Ubuntu /boot partition
Linux kernel images are stored on a separate partition mounted under /boot. This partition can fill up and prevent you from installing updates.
Enable better git diffs on the Mac
git 2.9 brings new features that make reviewing changes easier. Everyone should set these configuration options to enable better git diffs.