Projects & Stories

ODB2, DealerTool and Linux

photo_small Sometimes I am wondering myself why people pay a lot of money for closed-source software when they can use open-source for free. This time I simply wanted to read my ECU for errors and some sensor information. If you quickly search for "Triumph" and "ECU" you will end up with expensive Window Programms. But if you dig a little bit deeper. You will know that reading your ECU is pretty much standardized, whether it is a car or your motorcycle! Ever []

Flash your recovery image via adb shell on android

photo_small //edit: You need a rooted device for this kind of flashing Hi, ever wondered about how you can flash a recovery.img via adb shell? A lot of posts suggest flashing it via fastboot. Well my shitty Samsung phone is not detected by fastboot. Then there is the option to install a dubious binary file which is called flash_image.. thank u internet! Well damn I have the recover.img whats so hard to use dd and flash it with a single shell command? For tho []

Sidekiq 3 Memory Killer

photo_small My Sidekiq 3 installation seams to be very hungry in respect of memory. If you dig through the Net you'll find a lot of similar reports. For e.g. the unicorn web worker a memory-killer script exists which should prevent running into Madland. So I thought I take an example and do a similar thing for the sidekiq workers. If you give them time and send a graceful kill signal there shouldn't be any data-loss either. #!/bin/bash # check if script i []

SystemStackError: stack level too deep

photo_small I just had some trouble running a intense ruby task. The result was following error: SystemStackError: stack level too deep /home/diaspora/diaspora/app/models/aspect_membership.rb:13:in `block in <class:AspectMembership>' /home/diaspora/diaspora/app/models/user/connecting.rb:46:in `remove_contact' /home/diaspora/diaspora/app/models/user/connecting.rb:62:in `disconnect' /home/diaspora/diaspora/app/models/aspect_membership.rb:14:in `block i []

OpenWRT + TP Link WR841N(D) + OpenVPN

photo_small A friend of mine asked me the other day whether it is possible to get VPN running on the TP-LINK-WR841N(D). Quickly it was clear that the stock firmware is not capable of doing VPN but it is supported by OpenWRT. Honestly I never had the pleasure with the so called "Wireless Freedom"! It was surprisingly easy to flash the router and getting OpenWRT running <3 After getting familiar with the package-manager and searching in the Wiki for some VP []