Archive for Jon Evans

Extract Images From PDF Files using iTextSharp

Birmingham library is real hi-tech – free access to microfilm scanners where you can also log on to your Drive / Dropbox / Cloud*.* storage to send the scans. Sweet … except the flaming scanned images get embedded in damn PDF files. How do we get those images back out ?

Read more

Centos 6.5 / VMWare Image Duplication “bug”

Sometimes, after taking a copy of a VMware Centos 6.5 image, I lost the network connectivity. Totally gone ! Sometimes it would work initially, but come the next day after restarting it the network was gone … for good ! VMWare player showed the network as being connected, Centos however saw no trace of it. The fix turned out to be simple – but didn’t half take some finding!

Read more

Bad Web Design Practices #1

… Or How To Save A Fortune On Website Development.

There seems to be a new craze among website designs that really seems to have kicked in over the last 12 months. If you too choose to do this on your website then here is a tip that will save you a lot of time and money.

Read more

It’s !important

Funny how after years of playing with CSS I hadn’t come across the !important  attribute. To be honest that was probably a Good Thing and should as a rule be treated just like ‘C’s “goto” statement – just don’t do it, there’s always a better way.

The !important  attribute will, I guess, be read by most programmers as “NOT important”, but this being CSS actually means it IS important and can be used to force a CSS rule to take precedence regardless of the structure of the CSS. Lets use an example:

Read more

When should I write a property?

From the blog “Fabulous adventures in coding“:

One of the questions I’m asked frequently regarding design of C# classes is “should this be a property or a method?” Here are my guidelines:

It was one of those articles [link to article] lingering in an unread Codeproject newsletter I hadn’t gotten around to reading (shame on me) and was about to delete whilst tidying my inbox but one of those rare blog entries I read in its entirety – Including comments.

Read more