Thursday, October 16, 2014

Ignoring Files in Subversion

Most of our project files were originally designed around Eclipse and the IntelliJ project files keep showing up when I do an SVN status. Not a huge is fairly easy to just ignore them. But I got tired of seeing them and couldn't remember how to make Subversion ignore them. Online info for dealing with Subversion is generally great, but everything I found on this process was a bit confusing so I wanted to put it all together here.

Tuesday, August 12, 2014

Federal Place Name Codes

First there were FIPS codes. Then they became INCITS codes, but they are still FIPS codes. Frankly, I don't know what to call them, so I will continue to refer to them as FIPS codes until too many people correct me. INCITS sounds a little dirty if you pronounce it out in certain ways.

For a little history, read this. For some federal (possibly international) standard codes on places in the us such as counties, cities, metropolitan statistical areas (MSAs), and voting districts, as well as to find links to stuff like standardized spellings for all kinds of geographic entities, just go here.

Sunday, June 15, 2014

Converting Video for Use on iPod Nano

I wanted to leave my kids some video messages on their iPods for camp (7th generation Nano devices). I did this last year using the Photobooth app on the Mac and just loaded them into iTunes and there was no problem. Naturally this did not work again. Linux to the rescue, however.

Friday, June 13, 2014

Checking out just a little with Subversion

We have a huge source tree in subversion and I don't want the whole thing on my laptop. There is a top-level trunk directory and then project directories within it, and I only want a few of those project directories. Ordinarily I would just check out the individual ones I want separately, but this leaves them unrelated and when you have to make changes to multiple projects and want check them in all at once with a single commit you simply cannot. The alternative, checking out the entire trunk, seems to be a bit excessive as well. Luckily there is another alternative: checking out the root directory with a depth of empty, and then updating only the subdirectories/projects that I want within that directory.

Sunday, April 27, 2014

Exporting Video from OpenShot for Android

I was having trouble finding the exact combination of video and audio settings to use for exporting a video from OpenShot to view on my Android phone (specifically, I was using my Nexus 4 to view the videos on my LG TV via Miracast). There is not a preset, so after trying several combinations I just copied the codecs and settings used on video recorded on the device itself and everything fell into place.

Saturday, February 22, 2014

Making a Deployment Package From a Git Repository

I have a Django application in a git repository, and the whole thing needs to be moved to a server. I want to copy the application, but I don't want to drag the git repository info along with it.

Wednesday, February 12, 2014

Python triple-quoted strings vs. raw strings

Python lets you include text as strings in a number of ways, but picking the right one is important. There are two specific types of strings that I get confused and occasionally need a little reference to sort out: triple-quoted strings and raw strings.