Go, also commonly referred to as Go, is a programming language developed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. It is a statically-typed language with syntax loosely derived from that of C, adding garbage collection,…
Custom Emoji to WordPress
Replace default smilies of WordPress, insert following code in functions.php file of current theme. // Replace default smilies of WordPress add_filter('smilies_src','fa_smilies_src',1,10); function fa_smilies_src ($img_src, $img, $siteurl){ $img = rtrim($img, "gif"); return get_bloginfo('template_directory') . '/smilies/' . $img . 'png'; } Download…
Ajax Refresh an Image in Mozilla Firefox
I use Ajax reload an captcha code image. $('.load_captcha').click(function(){ var formData = { // CSRF token _token : csrf_token }; $.ajax({ // The URL where we want to POST url : captcha_url, // Define the type of HTTP verb we…
Adding a Queue Worker in Laravel
Queue in laravel are no different with other queue services, it use easy and common procedures: There is a place to store the queue information, a PHP process at runtime writes tasks, another guard PHP polling process queue information, will…