Below are a few of the recent posts from my web development blog.
I am using Samba as my file server at home and connecting to it from two different users on their own macbook laptops. The Debian server has a share directory in /var/share that either myself or any other user on the system can connect to and create files or directories in. We all want to..
continue reading…If you’re doing offsite backups of your file system, AS YOU SHOULD BE, you should also dump your database periodically and include those in your offsite backups. Here is a simple bash script that will create a timestamped sql/gzip file of all your databases using mysqldump. You can use this file to import back into..
continue reading…I’ve been doing more Test Driven Development the past few months with my node.js application code base. With my latest project Wishd.me, I decided to get started early with writing tests. While skeptical at first, I have to admit it does save quite a bit of effort in debugging and peace of mind when it..
continue reading…I’m using mongodb as my NoSQL database of choice for Wishd.me. I needed a quick way to backup the mongo database to another server, and then load that production database in a test environment locally so I could do some testing. Here is how I backed up mongodb using mongodump as described here: First, ssh..
continue reading…I had some issues when I first setup my Debian VPS for my node.js app over at Wishd.me when the ISP rebooted my server a couple of times unexpectedly and my node app didn’t come back online. I didn’t find many options out there, so I wrote a node-startup script (available on github) that can..
continue reading…home | resume | network | blog | photos | portfolio © 2009-2013 Anthony Ettinger