Getting back to shared servers problems. I have some very time consuming scripts running through CRON – some nice web scrapping jobs. They are not processing-intense, but rather slow because of slow websites. All these jobs are really hard to divide in to separate scripts (another article), so one script should have no limits to [...]
Posts tagged ‘firefox’
Prevent scripts from being killed
Debugging with FirePHP and Firebug
One may debug his application with print(”) statements all other the place or alert(”) for JavaScript. Luckily some years ago Firebug extension for Firefox was introduced, which introduced (?) console. Console works absolutely the same as in Linux and can be used not only to execute commands, but receive information from various sources.
To start with, [...]
Custom HTML input element with jQuery
In some situations, you need Checkbox and Radio elements functionality merged together. For example, imagine available discounts list where user can pick only one, but can pick none, because maybe he wants to use it later (lets say discounts are one-time). How would you do it in HTML?
Yesterday I was working with same problem and [...]
Easy javascript packing with PHP
“JavaScript packing” is method for reducing JavaScript files size by removing all unnecessary data (obfuscating) and compressing it’s contents. Most popular is Dean Edward’s packer, which transforms JavaScripts into something like this:
eval(function(p,a,c,k,e,r){…
To start with, it’s very easy to have dynamically packed files (no one wants to pack them by hand, packed versions are only useful [...]







