Launch gnome-terminal from emacs

Add this to your .emacs to allow shift-f1 to launch a gnome terminal (defun launch-gnome-term () “launch gnome-terminal” (interactive) (shell-command “gnome-terminal”)) (global-set-key [(shift f1)] `launch-gnome-term) The good thing about this is it launches the terminal in the directory of the file you are working on… ready for diff’ing, scp’ing etc. Obviously this can be customized …

Continue reading ‘Launch gnome-terminal from emacs’ »

Best linux distribution for a Geode CPU

As found in the Viglen MPC-L: CrunchBang Linux 10 (i386). Important! Specify these two options to the kernel at boot (tab to edit) on installation: cdrom-detect/try-usb=true (presuming you are installing from USB key, may already be there) pci=noacpi Once you have installed, on first boot you should tab edit the grub line again and put …

Continue reading ‘Best linux distribution for a Geode CPU’ »

Can’t connect to Yubikey Admin server with IE?

Probably because MS update 2661254 has broken connecting to small privatekey sizes. For each yubikey RADIUS server you should do the following: Create a new PEM file with a 2048 bit key size – eg yubi.pem Copy the PEM file to /etc/webmin on each yubi box edit /etc/webmin/miniserv.conf set keyfile=/etc/webmin/yubi.pem /etc/init.d/webmin restart  

Create a separate Apache log for netscaler heartbeat

If you are running your Apache instances through Netscalers and want to avoid cluttering your logs with Netscaler heartbeat calls, try the below: # Dont log netscaler heartbeats and log ns requests from the CLIENT-IP header and not %a (via combinedtimens) LogFormat “%a %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\” %D” combinedtime LogFormat “%{CLIENT-IP}i …

Continue reading ‘Create a separate Apache log for netscaler heartbeat’ »

Suricata

Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine. Open Source and owned by a community run non-profit foundation, the Open Information Security Foundation OISF. Suricata is developed by the OISF and its supporting vendors. via Suricata. This looks very interesting…