I rebuilt my blog with hugo, and moved to netlify

About a year ago, I was frustrated with my lack of new posts on my blog and decided I needed to fix that. After a little bit of soul searching, I decided to reboot the blog, and start fresh with a new platform. Here are a few of the reasons why I decided to change my blog. I didn’t like the look of my blog, and there were no good themes available on my old platform.

Read more

Introducing Django Defender

Normally websites do very few logins, someone logs in once and their session is good for a bunch of hours. Since it’s a one time thing, it doesn’t matter if it isn’t very fast. At Docker our authentication system handles requests for both the Docker Hub, as well as all Docker Engine commands that interact with the Docker Hub (docker push, pull, etc). This Authentication system handles thousands of login attempts every minute, so any slow down in the login process has a large impact on our system.

Read more

Uploading a Video to Facebook from AWS S3 using python

If you have some video files stored in Amazon S3 and you want to upload those videos to a Facebook page, using their video API here is some python code that I used recently. I spent a good chunk of a day trying to get this too work, so I’m posting this here to help anyone else who is trying to do the same. This code isn’t using any special facebook libraries it is just using normal python along with the requests library.

Read more

The Docker Guidebook

Introduction The goal of this tutorial is to introduce you to Docker, show you what it can do, and how to get it up and running on your system, and how to use it to make your life better. This guide is open source and available on github.com. If you would like to add to it or fix something, please fork it and submit a pull request. Table of Contents

Read more

Running Docker on Digital Ocean with Ubuntu

I recently wrote a post on how to get Docker up and running on Rackspace and since then I have received some requests on how to get it up and running on other hosts. One of those hosts is Digital Ocean a hot new Cloud hosting provider that offers a 512MB 20GB SSD VPS for only \$5.00 / month. A really great deal, and also a great price if you want to play around with some new tool and not have to worry about possibly breaking a production server.

Read more

Getting Docker up and running on a RaspberryPi

This year I attended PyCon US and I was lucky enough to get a FREE RaspberryPi. At the same conference dotCloud (The company I work for), was giving a lightning talk for a project that we have been working on, called Docker. Docker is a tool that allows you to better manage your Linux Containers (LXC). Shortly after I got the RaspberryPi, I started wondering if it would be possible to run Docker on it.

Read more

Upgrading the Ubuntu linux kernel on Rackspace cloud

Yesterday I wrote a blog post on how to install Docker on to RackSpace Cloud, and one of the steps was to upgrade the kernel to the lastest one so that Docker would be nice and stable. The problem that I found out was that there wasn’t much information how to upgrade the kernel on the Rackspace Cloud servers, so I thought I would put the steps here. The goal here is to upgrade Ubuntu 12.

Read more

Running Docker on Rackspace with Ubuntu

I have been playing with Docker a lot lately, and it got me wondering how hard it would be to run Docker on the different Cloud providers. I noticed there were already directions on how to install on Amazon EC2 but nothing for the Rackspace Cloud. If you would like to run Docker on the RackSpace Cloud using Ubuntu you’re in luck. I just spent the afternoon figuring out how to get it installed on Ubuntu 12.

Read more

Intro to Python and Django Presentation

I recently gave a talk at a DjangoMaine meetup introducing folks to Python and Django. There wasn’t enough time to go over everything, so I tried to pick and choose the parts that I felt where important to go over, in order to have a good overview of what Python and Django is all about. I hope this was useful to the folks that attended. If so, it would be really helpful to know what parts you would like to know more about.

Read more

New Pelican Based Blog

I have recently changed my Django based blog to a statically generated blog based on Pelican, and hosted by GitHub Pages. This is for a couple of reasons. The first reason was because my blog is really simple, it was just a bunch of reStructuredText documents that were converted to HTML. I didn’t need the Django-admin features and I always felt it was a little overkill for my blog. The second reason was because I wanted to host my blog contents on GitHub so that others could change/update/edit my blog posts and send me pull requests if they have something good to add.

Read more