DEANO.ME

Monthly Archives: February 2012

 

Ok I must apologise for the missing emoticons in the Emoticon Library, I must have overwritten the database the other day, or something because all the latest additions since November were missing, however a backup from about 20 days ago which had all the missing entries! I have now restored the database and while I […]

 

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 how the Emoticon Library works, currently there are some categories of an adult nature with […]

 

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 string cannot be converted to an integer, parseInt() returns “NaN” which means “Not-a-Number”. This is […]

 

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 “this|is|a|test” can be split up into an array where: [0] =  this [1] = is […]

 

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 code concise and use the jQuery method explained further down. JavaScript So here is an […]

 

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 it was still listing pages for my development server but was no longer updating (so […]

 

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 button again (in frustration because perhaps they had not noticed the error box appearing) I […]

 

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 the same. How it works This function will take the Source Image and Destination Image […]

+1
Tweet
Share
Share
Stumble
Pin
Email
Shares 0