Projects & Stories

Flash your recovery image via adb shell on android

photo_small 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 those who don't know much about linux commands here we go; Ena []

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 []

Galaxy S3 Mini Repair Broken Display

photo_small (The image quality is not the best I had to improvise. Normally I do the pictures with my phone) The last motorbike tour was awesome! Except for the part when I broke my phone. I already thought about buying a new phone and when I did some research I came to the result that I would re-buy the S3 Mini. The size is perfect, it fits into any pocket and in my opinion the camera make some great photos as well. While thinking about buying the same phon []