Back up your data!!! (or, The Disaster That Wasn't) - 2 minute read
This is your data: This is your data without a backup: Any questions? This is especially important in programming because your data is your work product. Seriously - back up your data. Frequently. And keep an offsite copy. I saw this first-hand this last week: my experience as a server administrator made me realize the need for quick system-level recovery, so during the web development course I'm in I wrote a bash script that: Runs a git command to track all changed files. Runs a git commit. Runs a git command to send that commit to GitHub. Runs a TimeMachine backup. This gives me a TimeMachine restore point every time I make a git commit, and I only have to run one command to do four things (the syntax is at the bottom of the blog). What I didn't know is that it would come in handy last week: last week was project week, which means that I was put in a group and told to build a full-stack application in four days. On day...