simple test first express setup & tutorial
It has been surprisingly hard to find a very simple tutorial to get started with Express, along with some common helpful tools, including tests! Here’s a little tutorial for Node.js v0.10 and Express...
View Articlerspec 3 upgrade: conversion of should to expect
update: follow the rspec upgrade guide and try the transpec gem Upgrading a Rails app to RSpec 3, I appreciated Jake Boxer’s guide. However, his regular expressions didn’t work in the editors I use, so...
View Articletime tracking with google calendar
I just created a very lightweight time tracking system where we can use a Google Calendar to track who does what when and then get a spreadsheet that shows all of the hours worked by individuals. It...
View Articlejekyll dektop app with node-webkit on osx
I had an idea this morning that I could make a simple desktop app by combining the lightning-fast website generation capabilities of jekyll with the awesome Node-Webkit that lets us native wrappers for...
View Articleruby to find latitude/longitude for a list of cities
I have a relatively short list of cities which I want to plot on a world map. The list is a little too long for a manual lookup, but I don’t know exactly how I’ll use it in an app, so I figured out how...
View Articlerspec: mixing transcations and truncation database clearner strategies
I’m using capybara-webkit for integration testing with rspec, which is awesome, because it is faster than other full-browser testing solutions, like Selenium, but it is slower than RackTest (default...
View Articlerails 4 twitter omniauth with mongodb
If you are brand new to MongoDB and Rails 4, take a quick look at my very basic rails 4 mongodb tutorial before diving into this one. Gems: mongoid, omniauth, figaro Let’s get started Make sure you...
View Articlerails 4 with mongodb on osx
This post covers getting started with Rails 4 and Mongodb, using the Mongoid gem. As part of getting up to speed, I enjoyed reading Rails + Mongo take on the object-relational mismatch by Emily Stolfo...
View Articleempowering content creators with drupal
Bryan Braun (@bryanebraun) gave a refreshingly opinionated talk Empowering Content Creators with Drupal. Coming directly from the Ruby and Rails communities where a core value is to articulate best...
View Articlegetting started with drupal
Emeline Glynn and Anthony Glynn gave a helpful talk called “How to teach anyone Drupal in 7 months.” The timeline was based on their experience where Anthony, an experience Drupal developer, taught...
View Articlebuilding tesseract from source
Thanks to the prior work of Matt Christy at eMOP, I got started building Tesseract from source (on Mac OSX 10.8.4). Here’s my slightly modified workflow: svn checkout...
View Articlebuilding unix package with autotools
ever wonder what all those random files are at the root of some package source that you are playing with? and how exactly does the mystical configure command actually do? Alexandre Duret-Lutz has...
View Articletesseract html page with text overlay
I’m learning a bit about OCR, and wanted to get some hands on experience using the open source Tesseract to get a feel for how it works. I’m a long way from any reasonable visual or interaction design,...
View Articleeasy drupal install on mac osx lion
Lion comes with Apache and PHP installed. We just need to enable PHP, install MySql and create a database, then download drupal. Enable PHP My new laptop which came with Lion has PHP 5.3.15, using the...
View Articlegetting started with drupal 7 and openshift
When learning a new web technology, I believe it is important to have hands-on experience from development to deployment. I chose Open Shift, one of the recommended cloud deployment options for Drupal...
View Articleffmpeg for ogg and webm
I wanted to experiment with Ogg and WebM and the <video> tag, and I thought the easiest way would be with my favorite command-line transcoder, ffmpeg. It’s fabulous support for just about every...
View Articlegetting started with minecraft modding
I started learning about creating a Minecraft mod today, using this excellent tutorial (thanks @0×17h and @adudney). Background: Minecraft is a very popular world-building game. They announced last...
View Articled3.js experiments in the console
d3 (aka Data-Driven Documents) is a great little JavaScript framework for data visualization. It’s got a nice declarative syntax for DOM manipulation that’s quite readable, but takes a bit of effort to...
View Articlefixing brew install opencv on osx
This is more about fixing my brew install, than about opencv. As with many install issues the root cause was actually pretty simple, but finding it was challenging. Along the way, I fixed a number of...
View Articlecucumber and custom rspec matchers with rails 3.1
I’m working my way through an epic Rails 3.1 upgrade and some of my cucumber features were failing because I was using a custom RSpec matcher and the method wasn’t found. My custom matcher looks...
View Article