Jun 09

10 XXX One Liners to Impress Your Friends

one-liners scala ruby coffeescript python haskell

There is some fascination to solve problems by writing as little code as possible. And even yesterday I visited the Rails Usergroup Hamburg where we played Ruby Golf.

It's a great way to learn some not so common constructs of the language of your choice. Even if some of them don't even try to be very expressive or elegant. But there's always something you can learn from, right?

Read more …

Jun 04

E-Mail Forwarding from Point to Gmail

dns email alias pointhq gmail

I use Point to manage the DNS of all my domains. Actually I think it's one of the best tools out there. All you've to do is to register the dnsX.pointhq.com nameservers at your domain provider and start managing your DNS settings from the easy to use Point interface.

But when I wanted to forward mail@foobar.com to my myname@gmail.com account, it didn't work. Note it's a standard Gmail account, not Google Apps. Even the User Manual does not contain a hint, but here's how!

Read more …

Nov 12

Print Groovy's classpath for debugging

groovy eclipse

Today I was in need to maintain an old Groovy project. I haven't used Groovy since upgrading to Galileo, so I had to reinstall the GroovyEclipse Plugin. No problem!

But although my scripts work on the command line, some dependencies were missing in Eclipse. So I used this little helper to print my classpath:

Read more …

Nov 10

Advanced Git aliases

git shell

Started with git's commandline, tried some other tools like git-sh for a while, I've returned to the core cli. Not because it is so awesome, but git has become just another tool for the shell. Which is a good thing!

Nevertheless I use a lot of aliases. So here are some I've created and considered as useful extensions to standard aliases like git s. Simply put them in the [alias] section of your ~/.gitconfig. By the way, I've tried not to use aliases in the examples.

Read more …

Nov 08

Generate GitHub pages in a submodule

github git submodule

Ok, this is the basic stuff. Go to your GitHub dashboard, create a new project, and follow the instructions. I've called mine foobar.

mkdir foobar
cd foobar
git init
touch README
git add README
git commit -m "initial commit"
git remote add origin git@github.com:blindgaenger/foobar.git
git push origin master
Read more …

Digging in the archives …