Understanding the C in CSS

July 19th, 2007


I stumbled across a great article on Digg earlier today, and just had to post about it. Understanding the C in CSS is a handly little reference for CSS precedence rules. Great for beginners and veterans alike. And now, to make this look like a real article, here's the summary from ThemBid.com:

If you are not fully utilizing the cascading feature of CSS, or you just need a quick brush up, then you need to review this article. These techniques will help you avoid duplication and make it easier to maintain your styles.
Check it out: Understanding the C in CSS

Tags: , , , , ,

Backup and Restore Firefox Passwords

July 19th, 2007


Password Exporter is a wonderful Firefox extension, created by Fligtar, that exports all your form username and passwords from Firefox to an XML file. This is an awesome application for synchronizing your information across systems. It also comes in handy for backup purposes. While the extension hasn't been updated since November '06, it works well enough to not warrant an update.

Straight from Fligtar's site, heres the details:

Password Exporter is an extension for Mozilla products that allows you to export and import your saved passwords and rejected sites from Password Manager. Your passwords will be exported to an XML file which you can then import on any computer. You can also encrypt the usernames and passwords from plain recognition.

Supported Applications: Mozilla Firefox 1.5 - 3.0a1, Mozilla Thunderbird 1.5 - 3.0a1, Flock, Songbird
Download: Password Exporter Add-On

Tags: , , , , , , , ,

Dynamic Generation of PDFs with FPDF/FPDI

July 6th, 2007


In a recent project I needed to build quite a few dynamic pdfs, with information filled from a database. This led me to two great pieces of PHP code, FPDF and FPDI. FPDF allows for building new pdf documents from scratch, while FPDI allows for manipulation of already existing pdf documents. FPDI is an extension of FPDF, so utilizing both is a minor triviality.

FPDF:
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs. FPDF requires no extension (except zlib to activate compression) and works with PHP4 and PHP5.

FPDI:
FPDI extracts and imports single pages of existing documents into FPDF. The resulting PDF created by FPDF/FPDI is a completely new document. Please don't misunderstand: with FPDI you cannot edit a PDF.
Utilizing FPDF/I I was able to build a 32 page dynamic pdf set over a couple of days. Needless to say, both FPDF and FPDI are very handy tools, and have an amazing amount of potential.

Tags: , , , , ,

Install and Create Visual Styles for Windows Vista

June 14th, 2007


You may be getting tired of the default theme in Windows Vista, and luckily for you there is now a uxtheme.dll patch for Vista. Visual styles kept XP alive for me and many others over the years, so I'm looking forward to a new generation of themes. Unfortunately there aren't too many themes for Vista currently, but in time there will be.

Are you tired of Vista's Aero theme?
A patched uxtheme.dll gave you the freedom to use un-signed custom visual style in Windows XP but in Windows Vista you have to replace three dll files to use third party visual styles.
Those three files are uxtheme.dll, shsvcs.dll and themeui.dll
Downloads and detail install instructions can be found at Lis Killer's blog

Download: Windows Vista uxtheme.dll Patch

Tags: , , , , , ,

Windows XP - Empty Recycle Bin From Right Click

June 9th, 2007


There is only one efficient way to empty your Recycle Bin in Windows XP; by right-clicking the desktop icon and selecting Empty Recycle Bin. This method works well for those casually browsing, blogging, and otherwise having fun, however for those of us whose livelihoods depend on their computer, this method of emptying the recycle bin can be somewhat irritating. Outside of just being a hassle, some of us really loathe having icons on our desktop and choose to have no icons whatsoever.

I was quite surprised when I came across a registry edit a few months ago that adds a Empty Recycle Bin entry to Explorer right-click context menus. I expect that most people won't find this tool exceptionally useful, but for those who use explorer as much and as extensively as I do, this will come as a godsend.

How to use:
  1. Extract the file from the zip. double click the .reg file and accept the warning that pops up
  2. Open My Computer/Windows Explorer; right click in any white space, in any folder, in any directory. You'll see the empty recycle bin option.
Guaranteed for use with Windows XP; I haven't tested this with Vista yet, but I plan on getting around to it eventually.

Download: Empty Recycle Bin Registry Addition

Tags: , , , , , ,