jQuery is picky about the JSON that is read from in HTML5 data elements. Of course, it’s not really jQuery that’s at fault, it’s simply that the JSON spec is a lot more strict than simple javascript. In javascript, I can define an object like this: Note the lack of quotes on the key names… Read more »
Posts Categorized: Development
Community Calendar API
At work, we had a hackathon and developed some sample apps that make use of our new HoopaNow API. HooplaNow is a community calendar in Iowa’s Creative Corridor. These are still works in progress, but there is a Sinatra app called simply hooplanow_api_example for you Rubyists out there, and a wordpress plugin for those of… Read more »
Never Say WordPress When Selling a Web Design Project
Never Say WordPress When Selling a Web Design Project
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2
Learning git made me a better svn user
Before learning git, I rarely created branches in svn projects. Honestly, I don’t know why. It seemed like too much work, but really that was just because I didn’t do it. Now, whenever I start a new feature, I create a branch first. Sure, it creates a branch on the svn server that may or… Read more »
ActiveRecord: self.field vs field
TL;DR version:“self.field” is only necessary when you are assigning a new value to a field. It always confused me why it seemed like sometimes using the field name from the database failed to work in model methods that I wrote. When the method was simple, things would work fine, but then something would happen and… Read more »
Dogs at computers
The lightning talk at 39:00 helps make programming a lot less scary for newbies.
My .gitconfig
Here’s my current .gitconfig file. It’s very simple, but it makes using git so much better. git s is a simplified git status, and git l is a log that shows one-line commit messages and a tree that shows where branches and merges were made. I also highly recommend you check out the table below,… Read more »
Test IE virtual machines made easy
I just have to take a minute and thank @xdissent et al. for the amazing work done on ievms. I was able to install IE 6,7,8 and 9 virtual machines without hardly any work on my part. I am running Ubuntu 12.04, and after uninstalling the virtualbox package found in the standard repository and installing… Read more »
Compile this into that
UPDATE: I made a mistake in thinking that RubyMotion compiled Ruby into Objective C. That was incorrect and is corrected in the comments below. There’s a new trend I find very interesting. It goes like this; take some code in one language, and compile it into another. Sometimes it’s a completely new language, like CoffeeScript,… Read more »