In this case I need a small HTML template to be included into my very simple JS project. Since template is multi-line I want to edit it as-is and dont mess with "+" on each line. Here is a simple and elegant solution:
After some very successful photo sessions in Africa, my collection counted like 2000 photos. I was quite happy since most of them were good to show to my friends.
Once in the evening I open my Picture folder in Ubuntu and found that it is empty. Completely empty, nothing was there. I was totally destroyed, shocked.
But I stayed optimistic, since nothing is lost without tracks, even in some cases it is very hard to destroy piece of information.
In this article you will learn about the possible use xdebug by system administrators of web-servers.
If you administer a web-server, often face problems that ordinary users of the site called "slow" or "dead-slow" Of course, this is a very important issue that could have serious financial consequences for the website owner. This formulation is sufficient to begin the investigation.
It has been long time for using opendir, readdir functions or even scandir for reading directory listing from the disk. Even myself still using it when in need.
Its time to update your snipped library with new PHP5 object oriented code. This is definitely not a new new thing, but still I want to make an article on it to attract more users to use this feature.
"The friend in need is friend indeed" which is so true what I am going to write about. In short, Tinydeal has bad client service and attitude.
Quite often pages are overloaded with 3rd party APIs or widgets and page loading time becomes a bottleneck in user experience. In my project I need google maps support, but only if user selects one particular tab.
So how to load Google Maps V3 dynamicly, on button click or tab select
Recently I took part in integration project and faced interesting problem. PHP application that I deploy must communicate with Informix database for data selecte. This php application aims to corporate market, so its not a extraordinary case. I see that it may require connecto to Oracle or DB2 in near future.
Yes, PHP itself has wide choose of database connectors, which is a good option to have native database support. The only problem is that most of them are used so rare that are usualy not compiled in all modern Linux destributos. For example in Ubuntu server 12.04 there are five most pupular php5-sybase php5-interbase php5-mssql php5-mysql php5-pgsql.
Thinking of it, I found one interesting solution.
This is advertising post
While certainly not in the same class as Hilarious Video: Relational Database vs NoSQL Fanbois or NSFW: Hilarious Fault-Tolerance Cartoon, this parody does have some really good moments:
It works!!! It took me several hours to make it, but I do not regret time spent, I was so sick of running VirtualBox for MS Office.