this function add new icon font family to the default vc_icon of visual composer
This function will calculate the difference in length between two strings.
This brilliant code snippet I have collected on Stackoverflow.com is really helpful.
Need to unzip a file? this function can do that for you.
Uploader Features: 1. Upload multiple files. 2. Checking file types and extension. 3. Create upload fileds dynamically with simple jquery code. 4. Upload and instant preview of your uploaded images. 5. CodeIgniter Module Available . 6. User friendly, easy to setup and customize. 6. Tested in popular browsers like Mozilla Firefox, Chrome, Internet Explorer. 7. Source code is free to download. Source Code(PHP) http://demos.coolajax.net/download/multiple_file_upload.zip
This function will calculate the distance between point A (latitude, longitude) and point B (latitude, longitude) returning a distance in miles.
I am currently working on my own content management system and decided I would release a little pre-installation checklist script that makes sure you have all the required functions enabled on your hosting environment and shows you what you currently have and what is required in the end. If you have all the requirements that the script requires, it shows a little button at the bottom to continue the installation, if not, an error. You can easily change the file you want to check writing to by editing $file It comes with some styling already and in a nice table. Enjoy and let me know how it is.
This function will make a transparent gif thumbnail.
An easy way to send an HTML email with an attachment.
Take a valid string URL with get variables, so they can be accessed using php's P\predefined GET variables or just return an array
Code for chatting with others across the internet.
Just like incrementing numbers, you an increment letters as well. (Run best using the CLI)
Hello Guys! I've found an [url=http://www.tailored4wp.com/how-to-use-less-auto-compiler-in-your-next-wordpress-project-quick-tip-361/]article[/url] on LESS & WordPress. It's nice to use but the developer always have to repeat the function for each less files. I thought 'What if I want to use multiple files that they organized into directories?'... I made a bit modification on it and left the lessphp's cache method and gether the files recursively from the less folders, than it compares the last modification time of the generated file to each partfile. If one of the partfiles are newer than the generated file, it regenerates that. Feel free to use and call the function on event what you want by add_action() method;
This demonstrates how to generate a random password, for things such as new member registration, or password resets.
Replace substrings in a haystack with perl regular expression using preg_match_all()
Allows you to easily keep track of a series of items as either odd or even. Each time you check (using the "which" method) the counter increments so that the next time you check the state will have changed. This is the perfect class for using when you're outputting an HTML table and want to use different classes to differentiate between odd and even rows. Simply create a new instance and call OddEven->which() for each row!
using a text file display a word or phrase for the day. Uses the line number for the current day.
The scope of this function is to encode the data with the status in JSON format.
status = 1
error is not generated while encoding data
key 'data' holds the data
status = 0
error is generated while encoding data
key 'msg' holds the error message and the error-code
This will test for whether a word is a stopword. A.K.A. a word that is commonly found in sentences.