If you are using list() function with variable, like this:
$arr = array('green', 'apple');
list($color, $fruit) = $arr;
You should pay attention to the order of variables you assign if one of them has same name as initial array. Else you’ll run into madness, trying to find a bug…
Continue reading →
Posted in Development
|
Tagged gotcha, php, tip
|
After I was hired for another project of Joomla! based website, I realized that I need a list of files and directories to ignore with the stupid content tracker. I love to keep all changes I made tracked by git. So today, I’m going to list all directories and files that are “optional” — those, which can be removed upon migration and so on…
Continue reading →
In my previous post I have showed how to create a simple system tray icon in ruby and GTK. Today, I will create exactly the same application but with QT4 instead of GTK… Before I started this, I was full of optimism that it will be even easier to do this with QT. I was wrong :)) Because of some differences it was not as easy as I wished it to be…
Continue reading →
Everybody knows what system tray is. My friends (Hello, bigote and stanislavv!) were suggesting to start using FVWM and it’s pager instead of using system tray. But I was not inspired by pager. Probably because I was too lazy to try it in action for more than 1 minute. Anyway. One day I realized that I need something to notify me via system tray icon. So today I’m going to create a simple system tray icon in ruby with GTK step by step…
Continue reading →
This is a small improvement to previously released free version of CRE Loaded PCI Pro. After I was playing with previous release I found that (at least) after upgrading from another version this application sends an information about your web-site at sales@creloaded.com and application@cremerchant.com which is not cool at all. So here’s another modified version of CRE Loaded PCI Pro which is not only free as in freedom, but also does not spies for you…
Continue reading →