Blog
MacRuby – Create iCal event with alarm from Ruby
I’ve had to create some very similar events in my calendar, but they did not match a valid recurrence pattern. As I find it quite painful to create multiple iCal events I thought I maybe should try out MacRuby to automate the process as far as I could. As the resources for this topic are rare on the net I thought I could share the basics. I’ll explain the details below the coding.
Windows: Get the mouse position with Ruby
My entry to a remix contest: Veela – Night Vision
lol-patch.com
I guess not everyone reading this article is a fan of League of Legends (LoL), a famous multiplayer game in which two enemy factions are fighting each other to destroy the enemies base. Nevertheless I’ve built a website around this game – or to be more special – around the patches which are released for it. Officially Riot, the developer and publisher of LoL, just throws out some patch notes each patch, but if you are not able to keep track of each patch, you can easily get lost in the near endless changes. Often you just want to know what changed for a special hero or item. So I sat down and brewed a nice website which can be reached at http://www.lol-patch.com or http://www.lol-patch-history.com.
Writing a jQuery plugin with coffeescript
Coffescript saves my day, as I don’t like javascript and the coffeescript syntax is more python/ruby based. Coffeescript itself compiles to javascript. It is very easy to learn, nevertheless it was not easy to create the basic code to register a new jQuery plugin. Read more →
Uninstall all local ruby gems
This ruby script might be useful for people like me who just started using bundler to manage the gems of their webapp and all others, which want to clean up their gems. Caution: all installed gems are removed from rubygems! Read more →
Rake & FTP
Rake is a build tool for ruby, similar to C’s make or Java’s ant/maven.
Basically you can define a lot of tasks, which can be executed, may have prerequisites and can do a lot boring tasks, from file operations to building gems.
One great thing is that you can easily deploy your whole project to your FTP server. Searching around I did not find a lot of information about that – this is the reason I’ll write about it. Read more →
Ruby web scraping
I want to share my recent experience with ruby web scraping and RSS.
Often I found myself checking the comments for my game iBox3D using http://www.appcomments.com. But the problem is that you can only display the comments by country and my app does so far only have comments in Germany, USA and UK. But the website does not show where you have comments or not. It was hard to say, if there were new comments or not. So I decided to write a small ruby script which should compile all comments and display them.
iBox3D released
Back in 2009, on the 23rd of March, I’ve reported about an easy way to created 3D iPhone games with Shiva, a game creation suite from Stonetrip.
Soon it turned out that it was easy to setup a quick prototype which contains only a subset of functionality of the final version. I’ve worked on iBox3D in my spare time as often as possible, but also I had to take some creative breaks.
Ruby on Windows: OLE automation for Outlook – Shared calendars
Ruby has a nice library for OLE automation, win32ole. I used this library to get appointments from shared outlook (exchange) calendars. The scripts are testen on Windows Vista with Outlook 2003. This is how it works.
Ruby & SAP Services (SOA)
I recently added two links to my blog. They both lead to articles I wrote about Ruby (on Rails) and SAP Services. Warning: This was before Rails 2.0 was released. Ruby on Rails make cool SAP MashUps possible.
How-to: Consume Enterprise Services with Ruby on Rails – Part I
How-to: Consume Enterprise Services with Ruby on Rails – Part II