DI container and IDE integration
Reading Time: 2 minutes Say we use a DI container directly, i.e. via functions like get() or make(), how do we achieve proper IDE support? For example I create a class instance the usual way and I want to Read More …
Reading Time: 2 minutes Say we use a DI container directly, i.e. via functions like get() or make(), how do we achieve proper IDE support? For example I create a class instance the usual way and I want to Read More …
Reading Time: < 1 minute Again, Windows can cause problems you would not have expected. In npm versions prior to 3, npm stores dependencies in deeply nested folder structures, causing errors on running ‘npm install’ such as [code] npm ERR! Read More …
Reading Time: < 1 minute It happens from time to time that URLs don’t work, be it temporarily or permanently, for whatever reason. Since Google soaks up the internet like a sponge, you can try to fetch a copy from 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 Yesterday I learned about “Microformats“. Microwhat? Sounds suspicious! Well, at least that was my reaction. I’ve to admit that I don’t care much about SEO and Google and so on (I’m a PHP backend developer, Read More …