Author Archives: Tobias.Braner

Windows: Get the mouse position with Ruby

1 2 3 4 5 6 7 8 9 10 require ‘Win32API’   getCursorPos = Win32API.new("user32", "GetCursorPos", [’P'], ‘V’) lpPoint = " " * 8 # store two LONGs getCursorPos.Call(lpPoint) x, y = lpPoint.unpack("LL") # get the actual values print … Continue reading

Posted in Allgemeines | Leave a comment

My entry to a remix contest: Veela – Night Vision

Veela – Night Vision (TBR Dance Remix)

Posted in Music | Leave a comment

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 … Continue reading

Posted in Allgemeines | Leave a comment

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 … Continue reading

Posted in Ruby, Sonstiges | Leave a comment

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! … Continue reading

Posted in Ruby | Leave a comment

Installing GIT on Mac with Macports

This small guide will help to install GIT on Mac using Macports. Environment: Mac Os X – Leopard 10.6.6 MacPorts 1.9.2 Start of the installation $ sudo port selfupdate $ sudo port install git-core

Posted in Sonstiges | Tagged , , , , | Leave a comment

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 … Continue reading

Posted in Ruby | Tagged , , | Leave a comment

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 … Continue reading

Posted in Ruby | Tagged , , , , , , , | Leave a comment

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 … Continue reading

Posted in iBox3D, Stonetrip's Shiva | Tagged , , , , , , , , , , , | Leave a comment

Bowline on Windows with different Titanium Version

This stuff was tested on Vista but should also work on XP. Two problems are solved in this article: Install bowline on another OS then it was developed on Run bowline with another version of Titanium Desktop then it was … Continue reading

Posted in Ruby | Tagged , , | Leave a comment