MySQL is designed around doing good JOINS. Databases like looking up records from related tables; it makes them happy. As such, its a good idea to store every piece of data exactly once: then there’s only ever one place to store it.
Someone is Having Trouble With vim Today
Came across this in one of the repos today from one of our designers.
It’s almost as if programmers prefer our tools to be user-unfriendly.
Job security or something.
RimClip
My friend Erik has created RimClip - a camera mount for drummers.
RimClip can help you with
- Live streaming performances
- Action shots for band video
- Record and review technique
- Covering songs on YouTube
So if you’re a drummer or just want to support a young entrepreneur, checkout rimclip.com and pick one up today!
Sometimes writing a comment takes more effort than just fixing the bug.
From the recent healthcare.gov debacle, I bring you the following:
Your tax dollars at work!
HT: @robconery
How to Configure Cron Script with Rake on DreamHost Shared Hosting
Setting up a cron script to use rake
on DreamHost is fairly tricky.
Most cron implementations run the command under a limited environment compared to your usual log in. Every time my cron script was supposed to run, I would get a happy little email stating,
Could not find rake-10.1.0 in any of the sources
Open mysql Command Using Rails Connection Details
Sometimes I need to quickly investigate something on the production server for one of my little apps.
Hunting down the password and trying to copy-paste it into the right mysql
incantation is tedious.
So I automated it.
Online Cron-Tab Generator
In the UNIX world, few things are more confusing that cron tab entries.
What does 0 8 * * 2
even mean? What are those columns again? The third column is day, isn’t it? Does that mean it runs every day? I don’t even…
Today I found Crontab Code Generator.
It lets you choose each column in a slightly more user-friendly fashion and then spits out a line you can paste into the cron tab file.
I’ll be sleeping easy tonight.
BASH script to delete mac extended attributes
Sometimes when you download lots of junk from the internet, MacOSX likes to stomp all over your files leaving pesky little sprinkles of annoyance called “extended attributes”
They show up when ever you ls -l
as little @
symbols at the end of the file mode section.
1 | [~/tmp] |
MySQL Workbench is annoying
MySQL Workbench is really annoying sometimes.
1 | CREATE TABLE MyAwesomeTable ( |
Makes me want to cry.
Migrated to Octopress
I’ve migrated this site away from WordPress onto Octopress.
Because I can.