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
Month: August 2013
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