Category: Web Development

Google Makes Website Security SSL Certificate Necessary

Online security is rightfully at the forefront of Google in 2018 and they have placed priority on website’s officially certifying their server security with Transport Layer Security also referred to as Secure Socket Layer (SSL). Starting this year, Google will be giving preference to websites that are officially certified as secure with an SSL Certificate. […]

A custom jQuery method to AJAXify forms with .AJAXify()

// Function to AJAXify forms $.fn.AJAXify = function(resultscontainer){ // Check if the element is on the page first if(this.length){ // Keep track of original element var og = this; // Unbind submit event this.submit(function(e){ // Initialize e.preventDefault(); var postobj = {}; // Loop through each child element and add to post object og.find(‘input, textarea, select, […]

Twitter Trends Map

Many people wonder what the heck people are really talking about on Twitter and Facebook. With this amazing site you are able to see in realtime what people are talking about. This incredible marriage of Twitter and Google Maps APIs create a phenomenal global look at topics that are trending worldwide. Check it out!

Add qTranslate support to Contact Form 7

For those of you using WordPress that would like a non-intrusive simple way to add qTranslate support to your Contact Form 7 contact forms, here’s a simple snippet you can insert into functions.php: // Add qTranslate support to contact form 7 add_filter(‘wpcf7_form_elements’, ‘rl_wpcf7_form_elements’); function rl_wpcf7_form_elements($content){ if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’)){ return qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($content); } } add_filter(‘wpcf7_form_class_attr’, ‘rl_wpcf7_form_class_attr’); function rl_wpcf7_form_class_attr($content){ if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’)){ […]

BuddyPress Crop Avatar to Any Ratio

Looking to get rid of the annoying aspect ratio on your BuddyPress avatar crop tool? This was very poorly documented and nowhere to be found on Google so I decided to figure this out and share the solution with the community. This is probably not the best solution as I had to modify a core […]

3 Incredible Benefits of Using API’s

There are many of you reading this that are managers looking to get a better grasp on what an API is and how it can benefit your programmers. API is an acronym for “Application Programming Interface”. Simply put, this interface allows programmers to develop applications that communicate with an existing application or service to automate […]

Update linux DNS named serials with bash script

This will update the serials of all of your *.hosts files in the same directory that you executed the “updateserials” command in (aka `pwd`). This only updates serials that begin with the current year. Enjoy! #!/bin/bash read −p “Are you sure you want to update `pwd`/*.hosts serial numbers to `date +%Y%m%d%H` (y/n)? ” if [ […]