Dynamic DNS Using Linode's API

Michael Shepanski
January 16, 2011
Dns, Vps
Jan
16

Being a fan and veteran of both DNS services dyndns.org and no-ip.org I was always very slightly annoyed that I could not do this with my personal domain name. The annoyance went up a little more when DynDNS started forcing me to log in every 3 months just to let them know I am still alive.

Since moving to Linode this weekend, I setup my own short DNS updating script. Update the variables APIKEY, DOMAIN, and RECORD to your desired settings and let her rip. Here are my settings for reference. This way when I hit home.pushingkarma.com, it routes to my home network.


Kickstarting a VPS Server on Ubuntu

Michael Shepanski
January 15, 2011
Jan
15

First, I would like to thank Brett Hoerner for providing the initial details for this setup on my old Slicehost server. Without his previous post I would be a little duck in the middle of the ocean. This walk through will cover the following setup:

  • Create a New User and Disable Root Login
  • Update and Install Common Packages
  • Setup Postfix for Email Forwarding
  • Install Basic Apache2 Configuration
  • Install Basic PHP5 Libraries
  • Install Basic Python Libraries
  • Install & Setup Postgresql
  • Create a better SSH Motd

Install psycopg2 in Virtualenv on Ubuntu

Michael Shepanski
January 13, 2011
Jan
13

It seems every time I setup a new machine I hit the same snag installing psycopg2 into a virtualenv via pip. It's not well documented online. After a bunch of failed searching with my Google foo I found a solution. In short, you can get around the issues using build-dep. Thanks Eliot!


Backup Django Database to Dropbox

Michael Shepanski
January 12, 2011
Jan
12

There is no question that backups are important. Backups should always be offsite, and no matter how many backups you are creating, you're always one too short. For this blog, as simple as it is, I have many backup mechanisms in place. The last of which is covered in this blog post.

  • Bitbucket backups my code base keeping copies in several different physical locations.
  • For $5/mo Slicehost will keep 3 backup of my linux setup on their servers.
  • Nightly snapshots of Postgres database stored on Dropbox.

Integrating Prettify with Markdown Output

Michael Shepanski
July 28, 2010
Jul
28

In the past, I have gone great lengths to avoid including large amounts of Javascript on any webpages I built. In recent years, this has slowly shifted to a point where I am comfortable allowing my visitor's web browser handle some of the heavy lifting. I believe most of this credit should goto W3C and the standards they strongly push. Even IE has been getting better in the last year or two. I shouldn't even need to mention Chrome, anyone who has used that browser recently knows Chrome is really proving that Javascript isn't something to be overlooked.