Recently updated my Cygwin install on Windows 7 Ultimate x64 Workstation. Tried to run startxdmcp.bat and got a Cygwin X error - failed to activate core devices Looking in /var/log/XWin.0.log showed nothing obvious as to why the X server failed to start. Ran Cygwin...
James McDonald
Javascript Best Practices
I don't do a lot of programming, and the languages I use are all interpreted (Perl, VBS, Kix, PHP) and not compiled. So people can easily see the mess I make of code. But I do like to know, at least, how to do things correctly. With regard to Javascript there are many...
Adding HP Officejet Pro 8500 A910 to Linux Mint 10
I un-installed all the hplip packages on the box from the Software Manager to start with. Then I followed the instructions here http://hplipopensource.com/hplip-web/install/manual/distros/linuxmint.html You definately need the latest hplip tarball. (I used...
For Halitosis try Linux Mint
Just did something stupid with my home system: Started an update from Ubuntu 10.10 to the development version of the new 11.04 using update-manager -d. Saw the `don't use this on a production system' warning and ignored it, and pulled the trigger on the update. Then I...
Getting Screenshots working the way I prefer in LXDE
The default command on lubuntu-desktop for ALT-PrintScreen and PrintScreen dump the file in $HOME On my Fedora 20 LXDE install there are no preconfigured screen shot options. So the following needs to be added to the openbox config xml. Before you start install scrot...
Removing the ‘quiet splash’ options from the Ubuntu 10.10 kernel boot command line
Remember the old grub? When you could just go into /boot/grub/menu.lst (on Debianesque OS's) or /boot/grub/grub.conf (on Redhatian OS's) and edit & save the file raw. Those days are gone the new grub version 1.98+20100804-5ubuntu3 on Ubuntu 10.10 is now fully...
uuencode is in sharutils
Problem: Just transferring data from RH ES 3.0 to RH ES 5.6 and while testing a cron script it failed complaining about missing uuencode The fix: yum install sharutils
Playing around with WordPress Twitter Tools
I finally have a twitter account jmcd73. Not sure what it does. Just playin' really
Linux `at’ command – Part II
I am looking at the Linux at command again. I used to think that you couldn't create commands with arguments and feed them to at without using at -f filewithcommandsinit but I have discovered it's quite easy using STDIN e.g. # to add a new command to run 1 minute from...
Quick, Dirty and Insecure Mysql Access via Apache Web Server
I am mucking around with creating a mysql web application When trying out all sorts of queries it's sometimes nice to have them output to HTML for viewing in a web browser This file (named myscript.sh) shown below goes in your cgi-bin or other directory which has a...
