In this post we have an example of some Yii extension available only in module and not available in main application. I’ve put that example there, because I haven’t got any other solution ready, when writing that article.
But the fact is, that the very same solution can be achieved in much easier way.
Read More “Force extension to be available only in a module”
I was looking for a function or solution, that would convert a string into associative array, i.e. respecting both keys and values. To be successfull, such function would have to operate on two delimiters. One for separating each key-value pair from surronding one. And second — for spliting keys from values. Which is, where PHP’s build-in explode function fails. Lucky I am, my two favorite uncles — Uncle Google and Uncle Stack Overflow — helped me in this case as well.
Read More “Convert string into key-value array”
To automate compare phase (first step) in folder sync tool you should:
- Set the parameters as you need them.
- Click on the folder button in the top left of the sync dialog to save these settings.
- Create a button with the
c:\totalcmd\totalcmd.exe /S=S:=backup command.
:= instead of just
/S=S:backup causes an automatic start of the comparison.
Of course you must adjust path to reflect your location of Total Commander.
Currently you can automate the compare step, not the copy step. It is considered to risky to be automated.
Here you have three different pages, each holding links to 25+ beautiful icons sets:
There are 109 total icons sets presented on these three webpages. Most of them are free. Some of them are devastating beautiful, some have medium quality. But, put together, makes a strong icon sets compilation, in which nearly anyone should find something interesting for his or her current project.
For most of your this task is as obvious as it can be and writing separate blog post about such simple thing is… simply useless. For me, a total Linux newbie, it isn’t that obvious and I found myself spending way too much time on finding this simple thing. Thus, I decided to write it down for my own future reference.
Read More “Change file’s date or time using console in Linux”
Testing your website, written in PHP, for GET request is a very easy task. All you have to do, is to manipulate your browser’s URL bar. And what about testing POST requests? Impossible?
Well… This Stack Overflow answer shows, that it is not only possible, but also fairly easy.
Read More “Use file_get_contents to simulate form submissions or POST requests”
If you use Multi-Rename Tool in Total Commander to batch-rename only folders and if all folders are numbered with dot after number (example attached and below) then multi-rename tool will treat all folders as filenames — i.e. it will “see” everything before dot (two characters in above example) as actual filename and all the rest, after dot, as file’s extension. Here is a quick fix for this situation (it actually may not be considered as bug).
Read More “Fix for multi-rename tool bug in Total Commander”
This site is currently in import mode. I'm importing all my posts from external sources. Anything strange may happen here, until this process is over (and this notice is removed).
Posts import in progress...