A couple months ago I decided I needed to be better about telling my wonderful wife how much I loved her on a daily basis. Being the nerd that I am I decided to tackle this using IFTTT and a custom web app. For this project I went with Django to build my app out. I’d never used it before so I wanted a chance to play with it.
When I first got a Raspberry Pi the first thing I wanted to build was a home server. I wanted to have a central place at home to store files. I also thought it would be nice to have a torrent machine to handle downloading whatever I wanted. This past weekend I was finally able to get around to building it with a Raspberry Pi 2. I chose to use Diet Pi as my OS.
I’ve been watching my local Barnes & Nobel’s like a hawk the past few weeks. In case you’ve been living under a rock, the official Raspberry Pi magazine, MagPi, shipped with the new Raspberry Pi Zero attached to the cover. The Raspberry Pi Zero, announced in late November of 2015, has been flying off shelves as fast as it’s stocked. They’re HARD to get your hands on. I should know, I’ve been trying since they were first announced!
I recently started using Pelican static site generator for this blog. I was drawn to it for a few reasons: It uses Jinja2 for templates, which I love. It written in python It reminds me a lot of Flask (this might be because of using Jinja2…) I’ve done a few interesting things with this site though. I’m hosting the repo that contains the source content, configuration, etc. on Gitlab.
It seems like the “thing to do” at the beginning of each new year is to make New Years Resolutions. If you’re at all into blogging then you know that you then have to publish those resolutions for all the people who don’t read your blog to see. That’s who/what this post is for. I wanted to make my resolutions less about “I want to lose weight”, and more focused on programming, open source, and this blog.
This year’s Christmas was one for the books. As a father it was SO much fun to watch my two girls have the time of their little lives getting and playing with all their new toys. Their excitement and wonderment meant the world to me, even if I know they don’t fully understand everything. Before we went down, we had the girls get their Christmas Jamies on! When we went downstairs there wasn’t much ceremony to it at all.
Yesterday I took part in the Hour of Code at my local high school as a volunteer.In fact, it was at the high school that I attended. I had a lot of fun and I was excited to see the stundents gain a deeper understanding of code. I was especially impressed with the number of young women in the class that seemed to really enjoy it. It’s a really common misunderstanding that people hold that girls aren’t interested in tech.
Call Calls a function, with the specified arguments passed in The first argument becomes this, the rest are passed in as regular arguments. Using call allows you to maintain the scope of this accross methods. It works like this: Here we’re using prototypical inheritance to allow us to inheirit properties from Animal in Dog and Cat. Using call allows us to invoke Animal to initialize it’s properties while maintaining the correct scope.
1. Subject Line The Subject Line is the first line of your commit message. Often the subject alone is enough, but if it’s not and you need a body be sure to separate the subject and body with a blank line. First line of a commit message Often the only part you’ll need Separated from the body by a blank line Soft limit of 50 characters, hard limit of 69 Github’s interface truncates the subject line at 69 characters Capitalize!