One of the things that have irked me with Thunderbird from the beginning was its insistence of defaulting to HTML e-mails. E-mail for me is about the text, not about formatting and even less about embedding pictures and what have you. But Thunderbird descends from Netscape Communicator who was the pioneer in this annoying HTML … Continue reading Thunderbird and plain text e-mails
Author: dummzeuch
jiggling the mouse
Did you ever want to prevent the screen saver to start because your program is displaying something and you didn't want to force the user to move the mouse every now and then? Until Windows XP it was possible to prevent the screen saver from becoming active by just handling the WM_SYSCOMMAND message with wParam … Continue reading jiggling the mouse
How to waste hours with computer problems
I just wasted several hours with yet another computer problem. Some Background: We are using a Ubuntu based server which runs Samba as a file server for Windows computers. It also is a local name server and mail server. Yesterday it was that time again that I had to reboot it because of some Linux … Continue reading How to waste hours with computer problems
A web server as a shell script – in a single line
I just found this via Heise online: Web server in one line of bash I tried it and it works! while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; cat index.html; } | nc -l 8080; done You can replace index.html with any file you happen to want to transfer (also works for binary files). … Continue reading A web server as a shell script – in a single line
Concatenating pdf files the easy way
I just had the need to concatenate several pdf files to a single one. Since my desktop computer is running Windows, I first tried to download and use some freeware utility. After the first one did not work as advertised and the second one tried to sideload some adware I stopped going that path and … Continue reading Concatenating pdf files the easy way
dBASE: When an empty string field does not match “”
Filtering the current table on a field in dBASE is done like this: set filter to [condition] So if you want all records where ANUMBER > 10 you just type this command: set filter to ANUMBER > 10 It's as easy as this... unless your field ANAME is a character field and you want all … Continue reading dBASE: When an empty string field does not match “”
tdbf updates – help required
I got developer access to the tdbf sourceforge project and made the packages compile with all Delphi versions I have got: Delphi 6 Delphi 7 Delphi 2005 Delphi 2006 Delphi 2007 Delphi 2009 Delphi 2010 Delphi XE Delphi XE2 (32 and 64 bits) Delphi XE4 (32 and 64 bits) I also applied several bugfixes which … Continue reading tdbf updates – help required
using and ab-using ifdef
I am currently trying to update an open source project from Delphi 2007 to XE2 and found some code which supposedly already works for XE2. But it is ab-using ifdef in several ways so I thought I'd blog about this to vent some steam and also possibly educate others. (Class name changed to protect the … Continue reading using and ab-using ifdef
GExperts Formatter features you didn’t know about
I am sure you did not know about these features (I had forgotten about them myself): You can save your own custom configuration as FormatterSettings-<YourName>.ini into the GExperts installation directory. After you did that, you can select this configuration in the same way you can the preinstalled configurations. If you want to format a unit … Continue reading GExperts Formatter features you didn’t know about
Comparing .po files with BeyondCompare
BeyondCompare from Scooter Software is a very versatile directory and file comparison tool. It allows filters for binary formats, weighting lines and defining a grammar for comparing text files. This is a simple grammar for .po files (used by GNUGetText): Comment=Text matching ^# and next 0 lines After defining this grammar, all changes in lines … Continue reading Comparing .po files with BeyondCompare