wget in Git Bash
Reading Time: < 1 minute As reported, the link is currently dead (Database connection error), so I post the original text here: The msys shell that comes with a Windows install of Git has curl, which is an awesome little Read More …
Reading Time: < 1 minute As reported, the link is currently dead (Database connection error), so I post the original text here: The msys shell that comes with a Windows install of Git has curl, which is an awesome little Read More …
Reading Time: < 1 minute I have to look up this one frequently, because it is really helpful. If you want to see what lines of a shell script are actually executed, place this line in your code: [shell]set -x Read More …
Reading Time: < 1 minute Sometimes it can be useful to have the content of MySQL blob columns displayed as plain text. There’s a pretty easy way to do this: [sql]SELECT CONVERT(my_blob_column USING utf8) AS plain_text_from_blob FROM my_table; [/sql] Yes, Read More …
Reading Time: < 1 minute If you use multiple monitors with Windows, and ever wanted to have the $%#§! taskbar spread across all monitors, here’s your cure: http://sourceforge.net/projects/dualmonitortb/ It can also be set up to let the Windows only appear Read More …
Reading Time: < 1 minute Recently I stumbled upon a nasty problem with Typo3’s Extbase. The instance of an object was not updated, but as usual (for Flow/Extbase, that is) there were no exceptions, no log entries, no hints… Extbase Read More …
Reading Time: < 1 minute Most IDEs nowadays work nicely with remote servers. But how about MySQL? phpMyAdmin is ok when you only have to use it once in a while, but a pain in the a… for everyday work. Read More …
Reading Time: < 1 minute After more than two years of no active development on my Typo3-Extension cwmobileredirect I decided to release a new version, because it is still in use by quite some people. I’m really glad it was Read More …
Reading Time: < 1 minute Sometimes it’s useful to know whether a certain class constant exists or not. This is a very quick and painless way to find that out: [php] if(defined(‘myClass::CONSTANT’)) { // CONSTANT is defined within myClass } Read More …
Reading Time: < 1 minute …you probably need to look at the many options curl offers. But let me start from the beginning. Problem: [php] $curl = curl_init(); $url = ‘http://api.somewebsite.com/whatever’; curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($curl); Read More …
Reading Time: < 1 minute If you have cronjobs running to trigger a queue, you probably would like to take care that queue is not triggered multiple times, e.g. when the previous run is not finished yet. This can easily Read More …