Category Archives: tech
When you install a new version of Mac OS X, git svn breaks. This happened with Mountain Lion and Mavericks, it happened with Yosemite. It happens again with El Capitan. Unfortunately, the old solutions no longer work due to El … Continue reading
Here’s how to make readline (including control-R reverse search) and command history work with both irb and the Rails console with rbenv and OS X Yosemite (10.10.4). You need to install Readline first, as OS X ships with libedit instead. … Continue reading
I ran in to this error today: $ grunt css Loading “sass.js” tasks…ERROR >> Error: dlopen(/path/to/project/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-node-0.12/binding.node, 1): no suitable image found. Did find: >> /path/to/project/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-node-0.12/binding.node: truncated mach-o error: segment __LINKEDIT extends to 1765408 which is past end of file 1765309 … Continue reading
Good news: Ted Cruz’s https homepage no longer 404s: $ curl -I https://tedcruz.org/ HTTP/1.1 301 Moved Permanently Server: cloudflare-nginx Date: Wed, 15 Apr 2015 02:03:46 GMT Content-Type: text/html Connection: keep-alive Set-Cookie: __cfduid=d738dec08ca404d83f8aa2b5baafa66821429063426; expires=Thu, 14-Apr-16 02:03:46 GMT; path=/; domain=.tedcruz.org; HttpOnly Location: … Continue reading
Today, Hillary Clinton announced that she’s running for president. She also launched a new website. Over the next year, political pundits will spend far too much time dissecting the horse race, scandals (real or imagined), the electoral college and more … Continue reading
Be careful when you give people a freeform text field. They’ll get creative. Here are 28 — yes, 28 — ways people spelled “independent”: endapendent IDEPENDENT Ind. Indenpent indepant Indepdendent Indepedent indepenant Independance Independanr Independence Independent independiant independient independnt Indepenent indepent Indepentant … Continue reading
Not only are they suggesting MySpace as something you might use: …but $10 gets you a whopping 100 MB.
If you run any sort of text messaging service, you’ll have to process unsubscribe requests. The standard such messages is “STOP.” To make things easier for customers, in addition to “stop”, I wrote code that also looked for “unsubscribe”, “quit”, “cancel”, … Continue reading
Easily check the status of your service request without going through the clunky website or fighting a CAPTCHA: NYC 311. This works best with a plugin like JSONView.