Sections Comentarium:  SitesBlog
BLOGS
The best of the blogs in one place
Search posts in the blogs:
 
 
Home /
Stuff and things | ?coding in (mainly) PHP and MySQL
...coding in (mainly) PHP and MySQL
paulferrett.com
Stats for this blog:
Views from on Friday, August 12, 2011: 24
Views of the last 30 days: 0
Views Yesterday: 0
Latest postings from this blog:
Filter:
on Thursday, May 19, 2011
Fit text string to cell in FPDF
uncategorized, pdf, php
Something I really hate (and am not very good at thoroughly testing) is ensuring that a layout I?ve designed will nicely fit user data of any length. Of course you can easily wrap all text outputting on a webpage or a dynamically generated PDF in a truncate() method, however this crude method isn...

17 views
on Thursday, March 24, 2011
Win an iPad2
uncategorized, competitions, ipad, servicecentral
Service Central (where I work) is the best way to find a tradie, and we?ve helped thousands of Australians to find certified businesses for all sorts of work. We?re about to get our quarter of a millionth job posted and to celebrate we?re holding a competition to win an iPad2! Simply guess the da...

5 views
on Monday, January 3, 2011
Triple J Hottest 100 2010 Song Previews
uncategorized, hottest100
Here?s a list of all songs that you can vote for in Triple J?s Hottest 100 for 2010. It shows a YouTube preview of each song to help choose your own top 10. http://www.paulferrett.com/triple-j-hottest-100/2010/

11 views
on Wednesday, August 18, 2010
Pad a number with leading zeros in PHP
numbers, php, useful
Just a quick one to share a couple of ways to pad a number with leading zeros? I?ve seen a lot of really poor examples of how to do this so I thought I?d share the two ways I might add leading zeros to a number in PHP. function number_pad($n, $pad_len) { [...]

10 views
on Saturday, June 26, 2010
Automatic backup all SVN repositories
shell, backups
Here?s a shell script I use to automatically backup all of my subversion (svn) repositories. I use Dropbox to put my backups in ? it gives you easy to manage backups in the cloud for free (Free account gives you up to 2GB of storage) and pushing all backups to any machines on which you have [...]

12 views
on Monday, June 21, 2010
Hosting ga.js locally (google analytics tracking code)
javascript, google, optimisations, optimisation
Hosting ga.js locally has two main benefits ? fewer DNS lookups for the client?s browser (you could even combine it with your site?s java script to reduce HTTP reqs as well), and you might be able to get it to your users faster than Google can. Whilst the second point isn?t likely true for many, ...

4 views
on Friday, May 21, 2010
Compare Transport Routes with Transportle!
uncategorized
Transportle is a website myself and two friends made for the Victorian Government?s App My State competition. It allows you to compare different transport routes in terms of not only time and money, but exercise value and environmental impact. Check out out and let me know what you think! feedbac...

16 views
on Saturday, April 10, 2010
Google Ascii Art
uncategorized, google
Playing with the tool I wrote for my last blog post, I googled ?ascii art? and was very impressed by what they do with the Google logo in the search results? Check it out!

6 views
on Monday, April 5, 2010
ASCII Art Instruction Generator
ascii, uncategorized, art
My sister is making up some activity sheets for school (she is a primary school teacher) and wanted some instructions on how to make ascii art for the children. So I made an Ascii art instruction generator so the kids can follow each step to make their ascii art. The generator is here: http://www...

22 views
 
Tags relating to this Blog
Highlights of this blog (last 30 days)
Fit text string to cell in FPDF
Win an iPad2
Triple J Hottest 100 2010 Song Previews
Pad a number with leading zeros in PHP
Automatic backup all SVN repositories
Hosting ga.js locally (google analytics tracking code)
Compare Transport Routes with Transportle!
Google Ascii Art
ASCII Art Instruction Generator
 

submit URL | Register | Login