Log » Archive 2007 - (20 entries)
It appears that Apple missed the new rules for Daylight Saving Time (DST) in New Zealand in even the most recent versions of Mac OS X 10.4 Tiger.
From this year [2007], Daylight Saving will ru...
javap | October 04, 2007
The javap command disassembles a Java(tm) class file. The options
determine the output. If no options are used, javap prints out the
package, protected, and public field...
netstat on Mac OS X is not what you might be used to on a linux machine (there you can use netstat -atp | grep -i "listen"). To show all open ports applications on your machine are listening to yo...
There are many tools to monitor network traffic.
Wading through lines and lines of tcpdump output can be cumbersome sometimes.
ngrep to the rescue. From their website:
ngrep strives to ...
Today is Google Developer Day in 10 cities around the world.
I have the pleasure to attend the Hamburg, Germany conference.
During the keynote in Australia the following new features were announ...
Filenames containing "special characters" can cause an annoying Subversion error message:
svn: Can't convert string from 'UTF-8' to native encoding:
From the subversion book:
Errors like ...
I just couldn't resist. The by now well known Netflix Prize is a great opportunity to do a little bit research about recommendation engines (recommender).
I decided to use a plain MySQL 5 d...
Attachr.com now supports OpenID. You can add an OpenID to your existing account. New users can signup using an OpenID.
Read more about OpenID. Create an account at attachr.com....
Are you getting the following error while trying to use the "gem" command?
undefined method `refresh' for #<Hash...
Solution: Delete your source_cache files!
These files are located...
As of today attachr.com now supports the following additional languages:
Clipper
Rexx
Oberon
FORTRAN 77/Fortran 90/95
Lisp and
Pike
Examples: Rexx, Oberon an...
macbook-sts:~ stefan$ nl `which attachr`
1 #!/usr/bin/env ruby
2 #
3 # This file was generated by RubyGems.
4 #
5 # The application 'attachr' is installed as par...
Install Imagemagick (you might want to use sudo port install imagemagick on a Mac).
Welcome to Darwin!
macbook-sts:~ stefan$ cd ~/images/
macbook-sts:~ stefan$ for i in $(ls); do identify $i ...
Being a long time ant user i always wanted to use Ant-style properties in my Spring bean definitions. And no surprise here - this is quite easy to accomplish.
Spring has the PropertyPlaceholderConfigurer class which takes a Java properties file and replaces ${} placeholders in your XML base bean definition files.
Mac OS X has several command line programs you maybe unaware of. Here are a few that are worth knowing of.
Command+Shif+4 or Command+Shift+3 are the built in commands to capture the current...
I was asked how to get the body of an HTTP post request in a Rails controller. And with the most things in Rails it's very easy.
...
The nohup utility invokes command with its arguments and at this time
sets the signal SIGHUP to be ignored. If the standard output is a terminal, the standard output is appended to the file nohu...
The day before yesterday i wrote a short post about RubyOSA. RubyOSA is a Ruby/AppleEvent Bridge which in the end means that you can use Ruby to script Mac OS X applications like iTunes, iChat, A...
free is a command to show memory usage on variuos linux distributions. As "free" is not available on Mac OS X you have to use something different.
To determine the size of memory on Mac OS X ...
As mentioned here Ruby trunk now contains YARV. YARV is a Virtual Machin for Ruby and Ruby trunk is what will become Ruby 1.9.1 (it is 1.9.0 as of now).
The benchmark looks really promising...
Nifty little application for Mac OS X.
SoundBoard ist an Application to play sounds. Yeah. You can define soundsets and load sounds into them. All sounds are accessible via the dock menu for q...