I’m a bit late to the game – 8 colours was clearly enough for me for a long time. Probably still is, but I thought I might join the late 90s and update to 256 colours. This is written from the perspective of a Mac OS X user on 10.9.x, but some of the information […]
Technical
Technical bits and bobs
Snippet: Enable RSYSLOG UDP Directory Per Host (Debian 7 / Wheezy)
This snippet should work. I saved it under /etc/rsyslog.d/local-network.conf # v5 config – docs used: http://www.rsyslog.com/doc/v8-stable/historical/multi_ruleset_legacy_format_samples.html $template HostBasedLog,”/var/log/network/%HOSTNAME%/%$YEAR%/%$MONTH%/%HOSTNAME%.log” $RuleSet remote *.* ?HostBasedLog # UDP config reverted in main config, and re-enabled here, in similar order # as main TCP example (I even enable the module here too) $ModLoad imudp # bind ruleset to udp listener […]
Australian Based VPS Hosting
A rough guide to virtual private servers/virtual dedicated server providers that have hosting actually in Australia. Requirements My non scientifically worked out requirements for a Linux (ideally Debian) host are: CPU: 1 core (dedicated). RAM*: 1GB (dedicated). Storage: 20GB – technology unimportant, but preference on SSD. Data transfer/Bandwidth**: 100GB (non strict requirement). * I ignore […]
Perth/Western Australia based Computing Retailers
Small attempt to keep a list of computing retailers for myself. Nerdism – Bunbury, near Bunnings PLE – Perth Austin Computers – Perth Netplus – Perth
awk & perl split out number in brackets
echo “a b c (9)” | awk ‘{print 0+substr($NF,2)}’ echo “a b c (21)” | perl -alne ‘print 0+substr($F[-1],1)’ Thanks, Gedge!