RSS

Archive for October, 2009

October 20th, 2009 - 5:59 pm § in Notes

[PHP] Get current time in milliseconds

I recently needed to get the current time in milliseconds, of course this can easily be retrieved using microtime() however I needed the entire number in digits, not in decimals with seconds seperately etc. Heres how: ?View Code PHP1 2 3 $timeparts = explode(" ",microtime())[...]

October 12th, 2009 - 3:42 pm § in Notes

Bash, Bad Interpreter

I recently came across: /bin/bash^M: bad interpreter: No such file or directory When trying to run a bash script that someone else had edited. This most commonly happens on UNIX systems if the file has been edited on MS-DOS or Mac. The cure for this is to run a simple perl script: ?View Code BASH1 [[...]

October 9th, 2009 - 2:18 pm § in General

New Project: vBulletin-Bridge

Whilst working on FetchMP3 I wanted to create a bridge between the forum membership system and that of the main site’s. So a lot of writing later the vbulletin bridge was born. It has many of the features any membership system would need such as:[...]

October 8th, 2009 - 4:32 pm § in General

Under Construction!

Its been a long time coming but I’m finally re-developing my site, I’ve been pre-occupied recently with the latest project I worked on, FetchMP3, but I’m now finally getting my act together and adding content etc. Most of the portfolio has been updated now but the main content is s[...]

October 7th, 2009 - 2:31 pm § in Portfolio

About Me

Hi. I’m Sam Cleaver, a first year student at Coventry University in Electrical Systems Engineering. I’m also a web developer with almost 7 years experience in programming. I can code in HTML, CSS, Javascript, AJAX (jQuery), Perl, PHP, MySQL in addition to server system administration. I [...]

October 7th, 2009 - 2:09 pm § in Portfolio

My Skills

Programming since I was 12 (2002) I have had a lot of experience working with information technology. Originally starting coding very basic, messy, HTML I have now had almost 7 years of working with the language, now of course using tidy XHTML and CSS stylesheets.[...]

October 6th, 2009 - 2:22 pm § in Portfolio

Twerq

I worked on Twerq roughly three years ago now and it has been one of the biggest projects I’ve undertaken to date. At its core Twerq enables users to very easily search and find multiple items all in one go. It was one of the first services to “mashup” content, pulling together vid[...]

October 4th, 2009 - 8:39 pm § in Portfolio

FetchMP3.com

My latest and greatest project is a culmination of many many hours of both research and programming. Originally launched at the beginning of December, 2008, it has recently reached version 3. It includes the use of ajax, caching, php, mysql and intergration with external scripts such as ffmpeg and c[...]