Development
Category
-
Simple HTML Redirect
I often find myself in need of a quick html redirect page. Most of the time I use the example from Stack Overflow but it involves changing the url in 3 places.
-
What is semalt and why are they in my analytics?
You may be among the many people having their Google Analytics stats skewed by fake referrals from semalt.
-
How to stop Google from scanning my site
Sometimes there may be occasions where you don’t want Google (and other search engines) to scan some or all of your website.
-
Convert tweet hashtags, at-tags and urls to links with PHP and Regular Expressions
Now of course if you’re using the Twitter API you can use Twitter entities but in this tutorial we’re going to use regular expressions.
-
Google Charts IE7 IE8 Issue: Date formatting problem
Just a quick post about an issue Iโve had with Google Charts on IE7/8.
When viewing my page in Firefox or Chrome my graph displayed as expected.
-
Using the AddThis Share Buttons wordpress plugin in a custom theme
There is an undocumented function for adding a custom AddThis widget to your Wordpress theme when using the Add This Share Buttons plugin, so I thought I would document it here.
-
Using background-position and sprite sheets to stop icon hover flicker
While updating the theme on this blog I added some links to my social websites. I made these links in the form of images which were black and white and become coloured when hovered over. To create these icons I created empty divs which would then be styled in CSS.
-
How to query a database with AJAX and display as a tooltip
This post began as an answer on Stack Overflow to a question on โHow to query a database with AJAX and display as a tooltipโ. I have put the answer here for future reference.
-
Shrinking SQL logs
While reading some articles about minimizing the size of data while leaving the data fully searchable I came across a lot of info about finding common data and replacing it with pointers to a dictionary or store of common strings. After thinking about it for a while I thought I would just write a little post about a way I try and minimize the size of databases in projects that I work on. Now Iโm going to start with an example of a very bad database I wrote a while back and how I used relational tables to shrink the size considerably. Now if you know anything about databases you should find all of this quite obvious but if you donโt then it may be worth taking note of.