Submitted by TheCarneyEffect on Fri, 03/28/2014 - 12:12
This is a quick reminder to myself so I don't forget in future. I've got a Facebook Like button which I'm reloading using AJAX. Using FB.XFBML.parse(); is required to render XFBML markup on the fly but for some reason both the FB.Event.subscribe('edge.create') and FB.Event.subscribe('edge.remove') were not working after any AJAX event.
Submitted by TheCarneyEffect on Sun, 06/03/2012 - 22:55
Is CloudFlare great? Probably! Should I put up with messages like this when trying to view my site? Definitely not!!
Submitted by TheCarneyEffect on Wed, 01/18/2012 - 14:05
I'm British! I like being British, the problem is that a lot of dates are formated MM/DD/YYYY. I spend a lot of time using DD/MM/YYYY format because that's what is expected for British sites. However, what if I want to validate a date in this format? Well it turns out it's pretty easy, below is a function I created to return TRUE if the date is in the valid DD/MM/YYYY format:
Submitted by TheCarneyEffect on Tue, 01/17/2012 - 15:03
Getting the thumbnail image for a Vimeo video is very easy. Just use the following link, replacing the <video-id> with the id of the video.
Submitted by TheCarneyEffect on Tue, 01/17/2012 - 14:41
Getting the thumbnail image for a YouTube video is very easy. Just use the following link, replacing the <video-id> with the id of the video.
Thumb image (different position):
Submitted by TheCarneyEffect on Sun, 01/08/2012 - 10:54
I've been suffering from eye strain for over a year now, I just can't seem to shake it. There are many articles on the internet that include various solutions about what one should do in the event of developing eye strain, this isn't one of them, rather I'm going to just list all the ones I've tried. In my case, the best advise is to simply take time off and let my eyes recover, but everything I like doing involves sitting in front of a monitor.