Categories
Programming

iMacros enhanced using Javascript

Introduction The other day, I had to automate interactions on a web page, for testing purposes. I stumbled across the iMacros Firefox extension, which turned out to be very mighty. Basics With iMacros you can automate sequences of events on web pages in order to test them in terms of behavior and/or performance. The extension […]

Categories
Guitar

Hughes & Kettner Tubemeister 18 Headphones

Introduction After a couple of years of abstinence, I bought myself a new guitar and a new amp. Since I wasn’t really happy with my Gibson Les Paul LPJ 2014 (tonally), I got myself a Fender HSS Strat (Made in Mexico) this time. It was the mid-ish tone that I didn’t like with the Les […]

Categories
Programming

Howto find memory leaks using code injection via LD_PRELOAD

Introduction I recently had to find a memory leak in a huge C/C++ application running on linux. Unfortunately, I was not able to use valgrind, because the application was too slow when running inside the valgrind VM. So I decided to write my own memory debugging library. The key idea is to overwrite/replace the original […]

Categories
Linux

Postfix and SASL

Motivation Postfix and SMTP authentication can be a very time intensive issue, I had to cope with twice. The second time I had to reread all the documentation, because there were almost 5 years between the first and second attempt. This is what motivated me to write this documentation. Introduction Given a running postfix mail […]

Categories
Graphics

PS Selective Colorization

Hello my friends out there! I know, it’s been a long time… Because I had to do it so many times now, here are some essential steps for selective colorization in Adobe PS: Open the desired image in PS Choose Layers – New Settings Layer – Black & White Confirm the popup with Ok, which […]

Categories
Misc

Fetch youtube annotations

Hi peeps, it’s me again. I just thought that it might be time to share something. I’ve tried to copy the text from a youtube annotation (those neat boxes that appear within a video). Unfortunately, it seems that flash doesn’t support it or youtube deactivates it. However, those annotations are kept in an xml-file attached […]

Categories
Linux

Modify an initial ramdisk (initrd)

Hi out there! Because modifying an initial ramdisk is something I had to do every once a while and I am pretty oblivious when it comes to “exotic” commands, I will persist the knowledge at this point. First of all, modern linux kernels (like everything above 2.6 or so) use an initrd that is a […]

Categories
Programming

Need ldd on windows?

Hey there, if you might ever need something like ldd on windows to figure out the dependencies on dynamic libraries of some binary, the following link could interest you: http://www.dependencywalker.com/

Categories
MacOS

Got root on MacOS?

Hey you root lovers, no, it’s not a dream, you can haz root on MacOS, too. First, out of security reasons, I recommend to use sudo to do all the nasty stuff on the console. If that ain’t enough, the root users needs to be enabled first. As on most modern Linux distributions, you can […]

Categories
MacOS

MacOS and locked files

Hey peeps around the world, recently I copied some files from one mac to another via network. At first, the access rights on the remote computer were messed up somehow. The nobody user had its finger in the pie. Finally, I’ve made it to copy the files. Now that the files were on my disk, […]