Google Adsense

I’ve just been accepted into the Adsense program that Google provides, right now though I’m only going to serve the adverts to my blog. In order to start serving ads on the resplace website I’m going to have to modify …

Read more »

JavaScript: parseInt() Tip to avoid NaN

parseInt() is an incredibly useful function which is available in some form in all programming languages, however in JavaScript there is one slightly annoying difference… Unlike in other languages which either throw an error or just assume 0 when a …

Read more »

JavaScript: Explode a string

Those of you who are familiar with PHP know a very useful function called explode() which takes a string and a delimiter and splits the string into an array using the delimiter as the splitter. So for instance a string …

Read more »

Finding out if an element exists with jQuery and/or Javascript

If your looking to find out if an element your about to select using ID, class and/or element type exists or not then you can do this using JavaScript, or if your implementing jQuery you may as well keep your …

Read more »

How to stop indexing & password protect your development server

Hey everyone ,So recently I noticed that Google had indexed my whole Development server! To combat this I immediately inserted a robots file into the root of my Apache server so that Google would stop indexing everything. After a month …

Read more »

Bring attention to an element by flashing it’s background

Recently I needed to grab the users attention if they attempted to submit a form that had errors, now when the button is first clicked a box is shown with the error they must fix. But if they clicked the …

Read more »

Java: resize an image keeping the proportions correct

This ones very useful if your looking to resize an external image in Java. Recently I have been needing this solution and once I had implemented the code I decided I would share it for anyone else looking to do …

Read more »

Tool that mounts an ISO file making it a CD/DVD

When I first started downloading and creating ISO files a few years back, I thought to myself “I wonder if there is a way I could use this image as a CD Drive but without physically having to write the …

Read more »

Java: Resize Array’s & Multi-Dimensional Array’s

One useful feature in most programming languages is the ability to resize an array if you need more allocations for data, for instance in VB.NET you would resize an array like this: Dim myArray(4) As Integer Redim Preserve myArray(10) As …

Read more »

How to connect to Minecraft server from school/work

Today I had a major life threatening problem. I could not connect to my Minecraft server because the company who manages the internet connection for my workplace had blocked minecraft.net! So as you could imagine, upon realising this I was …

Read more »