Recently Googles take-over-the-world-spam "feature" hit me. I was logged into my Google mail and a friend wanted to log in to Youtube. When he clicked 'Log in' Youtube automatically logged in with my google user. After my friend logged out, logged in with ...
Update a git submodule
Recently a colleague and I have been taking over a project that uses git submodules. When I first started work I cloned the project using the --recursive flag to also checkout the submodules. I didn't have any experience with submodules, so I ran into som ...
PHP by reference
I've known for some time that in PHP you can pass by reference like this: function doSomthing($a, &$b) { ... } By defining a function this way the $b parameter will be passed by reference, meaning if you change $b inside the function it will also ...