Author Archive

Quotations from Fortune the UNIX Program

July 12, 2010 | 0 Comments

fortune is a simple program that displays a pseudo-random message from a database of quotations. It is predominantly found in UNIX-like systems, but clients for other platforms exist as well. Quotations are from famous people, jokes, poetry, science fiction movies and a few other sources. Below are a few of them:

Filed Under: Funny, Linux

Creating a New Page Template for a WordPress Theme

July 8, 2010 | 0 Comments

Page templates in a WordPress theme define how the page using it is displayed. Nowadays most themes provide more than one page template. As an example the Twenty Ten theme that comes with WordPress 3.0 has Page Template and One Column, no Sidebar Page Template. They are listed in the Page Attributes box in the [...]

Filed Under: WordPress

Displaying an Image Without Locking its File

July 5, 2010 | 3 Comments

The PictureBox control is one of the most used controls in Windows Forms applications. And sometimes you might want to delete the image file that is displayed on it. Doing so with an image displayed using the Image.FromFile function will result in a file locked exception. And file will stay locked until the program exits, [...]

Filed Under: WinForms

Opening a File With its Default Program

July 1, 2010 | 0 Comments

When developing a Windows Forms application you sometimes need to open a file using the default program associated with it automatically for the user view or edit it. This could be done by just calling the System.Diagnostics.Process.Start function and passing the file name and path as a string. It works with any file type as [...]

Filed Under: WinForms

Creating Your Own URL Shortening Service With YOURLS

May 31, 2010 | 0 Comments

YOURLS (stands for Your Own URL Shortener) is a set of PHP scripts that allow you to create your own URL shortening service. Like most scripts its requirements Apache with Mod_Rewrite, PHP and MySQL which makes it easy to install in virtually any hosting account.

Filed Under: Web Development

21 Websites You Can Submit Your RSS Feed To

May 27, 2010 | 0 Comments

Here is a list of websites you can submit your blog’s RSS feed to:

Filed Under: Interesting Links, Internet

3 Affordable Stock Photography and Vector Art Websites

May 24, 2010 | 2 Comments

As a web developer and blogger I’m always looking for affordable photos and illustrations to use in CodeHill and the other websites I work on. I’ve been using these three stock photography websites for a while now, they provide good quality images for reasonable prices.

Filed Under: Interesting Links