At a current project I work on, we use a Windows server to run our subversion repository.
I wanted to set up the pre-commit hook so that commits with empty comment are automatically rejected.
All commit-hook example files that go with Subversion are written in bash (as unix servers tend to be the normal).
Here is [...]
Continue reading »Windows SVN pre-commit-hook«
It is often said that an image is worth a thousand words. New York Times is a good resource for interesting visualization on current topics. The article on Europe’s Web of Debt is rather good at conveying a lot of information on the recent European Debt crisis.
Continue reading »Interesting visualization of Money Flow«
Grabbing data from Restful webservices has never been easier. I use this code in the Rails /db/seeds.rb file to grab data from the Danish webservice with addresses, municipalities, regions, etc.
I decided to import the data into a local database to ensure it could work offline.
Code from
/db/seeds.rb
file:
Now I can access municipalities in a grouped selectbox [...]
Continue reading »Seeding Rails App With RESTful Address Data«
I took Jeff Atwodd’s advice and watched Ed Catmull of Pixar: “Keep your crises small”. A presentation about lessons learned from successes and crises at Pixar.
A central quote:
If you give a good idea to a mediocre group, they’ll screw it up. If you give a mediocre idea to a good group, they’ll fix it. [...]
Continue reading »Lessons Learned from Pixar«
Today I did an internal presentation on how we used Cucumber as testing framework on several recent occasions.
The presentation was held in our usual Capgemini SmartLunch format: People can eat and learn in their lunchbreak. External visitors are welcome. Duration 30-45 minutes including questions.
pres 2010-04-27-cucumber (573KB pdf format)
pres 2010-04-27-cucumber.key (782KB keynote format)
Continue reading »Capgemini SmartLunch: Cucumber for Automated Accepta...«