JANKY LEGO STOP MOTION

Well the kids have lost interest in Raspberry Pi Python programming for now, but look who’s still at it! The jankyiest of Lego stop motions. Here was the code I tossed together to make the gif above: #!/usr/bin/env python2 import os import time import shutil import datetime import tempfile import pygame.camera import pygame.image import RPi.GPIO as GPIO save_dir = '/usr/share/nginx/www' GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.cleanup() GPIO.setup(17, GPIO.IN) pygame.camera.init() camera = pygame.camera.Camera('/dev/video0') def make_picture(filename): raw_input('Ready for picture?

read more
GEODJANGO AND TACO BELL

I’ve been at it again with GeoDjango , this time I’ve pulled data on all Taco Bells locations from a popular social media site, took that data and added to a Django project, and finally plotted them in a view using Google Maps : Wow, that is a lot of Taco Bells ! Since this is Django, we are also able to view and edit from the admin : As well as the shell :

read more
USING GEODJANGO TO FILTER BY POINTS

Just recently I found myself playing with GeoDjango , I’ve been using it on both a Ubuntu 14.04 cloud server and a Macbook Pro (OS X El Capitan). GeoDjango allows us to query by geographic points directly on the data model. We are then able to extend the model, and add a custom method to search by zipcode. Using the Django shell we can easily check data in our favorite interpreter :

read more
SIMPLE EC2 INSTANCE + ROUTE53 DNS

If you have a multi-environment AWS setup, and want a easy way to resolve all EC2 instance using Route53 DNS, look no further! Currently I’m maintaining a production and staging environment on Amazon Web Services across multiple regions. We tend to not use ElasticIPs as that just increases cost, plus internally we resolve using Consul . There is one drawback with not using ElasticIPs, when ever the instance restarts they will be offered a new dynamic IP (we will solve this with automation).

read more
C# APPLICATIONS DEPLOYED WITH DOCKER AND MONO

Lately I’ve been working a lot with Mono , and building C# applications on Linux. Just recently I discovered the official mono image in the Docker Hub Repo . This image comes with xbuild and NuGet (tools we need for building). So lets do a little work and get a mono application up and running (note I’m using a company application and will remove any references that may be sensitive.) I start by pulling the application’s source code down beside the Dockerfile :

read more
ELASTICSEARCH USING DOCKER

Elasticsearch is a distributed RESTFul search tool over the HTTP protocol. And we are going to use Docker to spin up multiple nodes in the cluster. First we need a server node running Docker. I’m using a Debian server so the command I need is apt-get:

apt-get install docker.io After installing the package make sure the docker command is available:

docker version Client version: 1.3.1 Client API version: 1.

read more
PURCHASED MY FIRST BRAND NEW DISC THE OTHER DAY.

Needed a good Mid Range disc to go along wit my Innova Boss (driver) and Innova Aviar (Putter), a veteran disc golfer in the shop suggested the Discraft Buzz ,Innova Roc3, and this Innova Spider.

read more
NAVIGATING THE DISC GOLF COURSE.

read more
HEARTHSTONE ARENA

I’ve been playing a little bit of Hearthstone lately, and heard the Mage is one of the best for arena. I won’t say I did great, but then again it wasn’t terrible.

read more
SAGA VOLUME THREE!

Picked up Volume 3 of Saga last night, this has been a fantastic graphic novel and I would recommend it!

read more