Force Chrome Extensions to Update

Updating Chrome Extensions is a very easy task, but because of how Google Chrome worded a few settings and buttons, it may be overlooked. Just to note, Chrome automatically updates Chrome Extensions every few Chrome Restarts. It doesn’t check for updates every time, so if you are noticing issues with an extension I suggest trying to see if they have an update.

Open up Chrome Extensions Page

  • Right Click an Extension Button and navigate to “Manage”
  • Go to “Settings” and then to “Extensions” on the left sidebar
  • Navigate to chrome://extensions

Open up Developer Mode (Not Inspect Element)

On the top right of the Extensions Page, you will see a toggle checkbox for “Delevelper Mode”. Now, this does contain developer tools, but also will display the update button for Extensions.

Create Vertical and Horizontal Gradients in PHP

PHP GD Image Functions are a great way to customize images, add copyright information, add text, resize and a lot of other functions. But what I’ve noticed a lot is people using flat colors for the images they create. Now, I know “Flat Design” is in, but some gradient is nice. I figured most people don’t want to try to setup gradients or think it is too difficult.

I’m going to share some code I wrote recently for a website on how to create gradients in PHP using the normal GD Image functions. The function uses HTML Hex Codes for the color values and then converts them over to an array that has the RGB values. It’s a lot easier to just pass a 6 character string instead of 2 arrays as parameters for a function.

Favicons Inside of WordPress

Adding a Favorite Icon / Bookmark Icon / Favicon / Website Icon to wordpress is a lot easier than you may think. But it still does require some work. The first way won’t take more than a few seconds after you have the icon you wish to use. But it is highly suggested you use both methods since it will work better across different browsers and search spiders.

Method 1 - Favicon.ico in Root Directory

This method is the most common method, and a lot of websites that show favicons next to URL’s (YouTube and Google Plus for example) will use favicon method. Instead of having to parse your website’s HTML for the favicon, they just check a single URL of [website]/favicon.ico.

Tools for Web Developers

If you are working on any website, no matter what size of site, the audience or if it’s the first or last website you are going to be working on, you need a set of tools. I’ve been making sites for a while now, and I have a system in place to make everything run smoothly from website idea to production.

Now, all websites are different so some tools may not be used as often or even at all. But there is a good chance that you will need to use them at some point if you are building multiple websites.

AWStats Remove Unwanted Stats and Domains

AWStats which comes packaged with CPanel is an Apache and other log parser to convert the log files from the web server into usable statistics. The reason AWStats is better than some “Real Time” stat systems is that the “Real Time Stat Systems” require JavaScript and often people can opt-out of them so they won’t appear in the stats. For instance, Google Analytics allows users to opt-out of being tracked. Or if the visitor doesn’t have JavaScript enabled, visitor won’t be tracked. Although Google Analytics has those “problems” it’s still useful, but we are here for AWStats.