Technology, life, programming, travel and money.

Programming

Writing and releasing a free software tool in two weeks

Writing and releasing a free software tool in two weeks

Two weeks ago I started a mini-project to write a simple piece of software in C#, package it up and release it. Although I had initially given myself two weeks, the actual time I spent on this project was less than a week due to a pest problem, a birthday, and a family visit. The purpose of this project was to learn the basics of a new programming [...]

C# – How to make a window stay on top and become transparent

C# – How to make a window stay on top and become transparent

Whilst looking for information on how to make a window stay on top using C#, I spotted some odd solutions on a number of other web sites. After looking through the Form properties in Visual Studio C# 2008 myself it turns out that it is really easy to make a window stay on top. I added a check box to by application and when it is ticked the window [...]

FTP uploading a directory of files using perl

Here is a simple script to upload the files which are in a particular directory. I use something similar to automate the file uploading for my tube walking blog. Whenever I take photos for the blog I put them into a directory with the current date as the directory name. So I have a structure like [...]

Backup / restore of last modified and created file time attributes on Windows

Last month I found that I needed to be able to backup and restore the last modified and created file times of a load of files in Windows XP. This is probably a bit of an obscure thing to need to do so naturally I couldn't find any existing tools to do it. I've therefore made a Perl script to allow this to be done. Just so you are clear, this [...]

Adding a date/time stamp to a jpeg image in Java

I've been looking for a simple tool to add a date/time stamp to some jpeg images. There are quite a lot of tools to do this but they all tend to cost money. I decided to make my own in Java. The actual process of loading a jpeg, adding a stamp and then saving it again is very simple. The below snippet will do the job. BufferedImage bi = [...]

ProGuard Eclipse Ant build.xml

If you are building J2SE apps with Eclipse and want to use ProGuard to compress, optimise or obfuscate your code you'll need to create an Ant build.xml file to do this. I found various bits of help on the internet explaining parts of the build.xml file, but couldn't find anywhere that gave the complete build.xml to do the full compile, jar and [...]

 Page 2 of 2 « 1  2