• The best caching plugin for wordpress.

    February 26, 2013

    OUT OF DATE. Use for tests only. Ivan Gospodinow cache plugin for wordpress is the best plugin for improving wordpress performance. Cache Plugin Download – Updated! Post Update Basically ig cache plugin assumes that when someone is logged , he changes content and it does not cache.Moreover when admin log in , the plugin clears […]

  • Simple way to validate email in javascript

    February 15, 2013

    Just use : function isMail(email) { var re = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; return re.test(email); } Simple as that.

  • php how to calculate system processor/s load in percent

    February 7, 2013

    This simple function will allow us to control php performance at level we need. /** * Calculates the processor load in % * @see sys_getloadavg * @author Ivan Gospodinow * @site ivangospodinow.com * @date 07.02.2013 * @param int $coreCount * @param int $interval * @return float */ function systemLoadInPercent($coreCount = 2,$interval = 1){ $rs = […]

  • jQuery delayed events.

    February 1, 2013

    onDelay is simple jquery plugin that trigger events with delay. /** * Trigger event delayed. * @author Ivan Gospodinow * @site http://www.ivangospodinow.com * @mail ivangospodinow@gmail.com * @date 01.02.2013 */ (function($) { $.fn.onDelay = function(type, delay, funct) { delay = undefined === delay ? 500 : parseInt(delay); var timeOut; $(this).unbind(type)[type](function(e,x,y,z) { clearTimeout(timeOut); var self = this; […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org