logo

Inserting non web safe fonts into pages

logo

It has been a bit of a pain to do this until recently, sIFR was the main way of doing it which basically used flash to render the font – however I have recently come across this which just uses Javascript to do it and no flash – take a look and see what you think:

http://wiki.github.com/sorccu/cufon/about

Share with your friends and help out this site:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogosphere News
  • E-mail this story to a friend!
  • Identi.ca
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Housekeeping

logo

Apologies again for the lack of updates – has been a bit hectic here and as I havent really been doing any coding, I havent had much useful information.

So today I thought I would share some Linux Pearls of wisdom, many people need to create housekeeping scripts that clean up certain directories every so often.

Many Perl advocates will tell you that banging a load of Regex into perl will do it simply.

I disagree – POSIX gives you plenty of tools to do 99% of the tasks you need – its just a case of knowing which ones you should be using.

To get you started here are 2 of the most used:

find /your/dir/here -mtime +30 -exec ls {}\;

Lists all files modified more than 30 days ago (clearly you can replace ls with rm to delete these!)

find ./ -type f -atime +365

This finds any files that havent been access for over a year, obviously you can pipe / exec this with something else.

Hope this helps!

Share with your friends and help out this site:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogosphere News
  • E-mail this story to a friend!
  • Identi.ca
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

10TB Raid 6 Array

logo

Been a busy week – nothing like getting elbow deep in computer guts to clear your head from coding, this week aptly demonstrates that.

My main client has a big 8TB Sun Storedge raid array, unfortunately the way it was setup (4 x 2TB partitions) is starting to cause problems for them as the main partitions are filling up very quickly and being so ridgidly partitioned isnt really ideal. So (more as a backup than anything else) we decided to build ourselves a basic raid array.

We took 12 x 1TB drives, and a raid controller and built a beast of an array with it, the array itself finished building the other day and has taken the majority of today to format it while I transferred over the various other system files required to ensure that it can be a drop in replacement for the current server should anything go drastically wrong on it.

Share with your friends and help out this site:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogosphere News
  • E-mail this story to a friend!
  • Identi.ca
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Update

logo

Bit of an update – I know things have been quiet but various things have been keeping me away from my coding at the moment – namely our internet connection at work. It has been going on for months now and everything seems to be taking forever to get sorted with no one at the company apparently knowing what is happening and their refusal to send anyone out to sort the problem directly means that I am having to run up and down stairs all day plugging laptops in and doing speed tests while some one sits behind a computer screen in Nottingham scratching their balls and saying “Thats not right”.

I KNOW ITS NOT BLOODY RIGHT! how can 3 bonded lines of 8mbit/s only give a 300k/s download?

/rant

Other than that I am trying to sure up the resiliancy of our main client to ensure that any acts of god are taken into account. Unfortunately its not just a case of a few burnt DVD’s / spare hard drives. There is 12TB of data that needs to be mirrored somewhere, plus a new phone system upgrade to allow call queueing and various other office bits. But hopefully next week ill be able to get properly stuck back into the cake stuff – the stuff I have been doing over the past few days has been relatively unexciting.

I would recommend any cakePHP people read my Multiple Model Pagination post as this seems to be the best piece of code I have ever come across – it really has been saving my life on multiple occasions;

http://www.nuorderwebs.co.uk/blog/code/finally-multiple-model-pagination-with-multiple-widgets/

until next time:

Share with your friends and help out this site:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogosphere News
  • E-mail this story to a friend!
  • Identi.ca
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Dim Sum Restaurant in Birmingham

logo

Was looking around online for a decent Dim Sum Restaruant in Birmingham before the weekend and was pretty shocked when even the Dim Sum Association website (yes there is a dim sum association!) only mentioned “MUST Dim Sum Restaurant”.

I have been to Must and it is over priced and more of a bar than somewhere to go and get quality Dim Sum.

So on my little Dim Sum mission I checked out the menu of my favourite chinese restaurant (Chung Ying Garden), it is often voted as the best chinese restaurant for chinese people in Birmingham.

Their Dim Sum menu is fantastic – at least 60 different dishes so on my visit last night I went for some tasty Siu Mai, BBQ Pork Buns, and some steamed prawn and chive dumplings.

So if you are looking for a decent dim sum restaurant in Birmingham please check out this restaurant – it really is fantastic!

Share with your friends and help out this site:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogosphere News
  • E-mail this story to a friend!
  • Identi.ca
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

« Previous Entries

logo
Powered by Nu Order Webs