Tuesday, July 29, 2008

Git on Rails

Rails project setup with Git.

rails project
cd project

# commands
git init
git status
git add .
git commit -a
touch tmp/.gitignore log/.gitignore vendor/.gitignore

# .gitignore
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3

Monday, July 21, 2008

Jackson JSON Consumption

Jackson is a Java based JSON consumption and emission library. It is now a Codehaus project that is currently considered the fastest JSON parser for Java. I'm writing a project module at work that consumes JSON from a REST interface and populates a Java user interface in SWT. Pretty sweet stuff!