Raspberry Pi Hifi

Posted by admin on Apr 14, 2015 in Uncategorized

For Christmas I was given a Raspberry Pi as a Kris Kringle gift. It is a model A+ with no network interface card and 1 USB port. It took me a while to decide what to do with it. After looking at a few projects, I decided to set up a streaming music server for […]


Accessing Hulu, The Daily Show etc using DD-WRT

Posted by admin on Nov 2, 2012 in Uncategorized

DNS redirection can be easily set up on a DD-WRT enabled router such as my D-Link DIR-815. Under the services tab there is a setting for DNSMasq : Additional DNSMasq Options local=/local/ server=/tunlr.net/ server=/hulu.com/ server=/mtv.com/mtvnservices.com/fwmrm.net/google-analytics.com/imrworldwide.com/demdex.net/scorecardresearch.com/quantserve.com/doubleclick.net/chartbeat.com/ These IP addresses point back to tunlr.net. An additional benefit is that I can VPN into the router and then […]


StreamedMP Tweaks

Posted by admin on May 22, 2012 in HTPC, MediaPortal, Uncategorized

My preferred skin for MediaPortals is StreamedMP and these tweaks make it slightly more user friendly. 1. Fonts The Avalon skin has a nicer font “AvalonType Light” and this can be downloaded and installed in the windows fonts directory and added to the fonts.xml file instead of the current fonts. Install the font by installing […]


Tuning DD-WRT

Posted by admin on Apr 24, 2012 in Uncategorized

echo 0 > /proc/sys/net/ipv4/tcp_westwood (default 1) echo 1 > /proc/sys/net/ipv4/tcp_vegas_cong_avoid echo 3 > /proc/sys/net/ipv4/tcp_vegas_alpha echo 3 > /proc/sys/net/ipv4/tcp_vegas_beta TCP Vegas tunes the network performance based on packet delay instead of packet loss.


Oracle User Locking

Posted by admin on Jul 4, 2011 in Uncategorized

The DBMS_LOCK package can be used to lock sections of code for concurrency control. Simple usage is as follows; DECLARE lock_handle VARCHAR2(128); lock_status number; BEGIN DBMS_LOCK.ALLOCATE_UNIQUE (lockname => ‘mylockset’, lockhandle => lock_handle); — If this is taking a long time to run check if a lock is being held and kill the session — e.g. […]


Cloning a VirtualBox Drive

Posted by admin on Nov 19, 2010 in Uncategorized

I recently tried to clone a 3G virtual disk to a 40G virtual disk. i.e. resize a disk. This was much more difficult than I thought. After reading up blogs on the internet such as using VboxManager “cloneHD”, “cloneVDI” and “internalcommands sethduuid” which all failed, I was able to do it by booting an ISO […]


MySQL delete with a left join

Posted by admin on Oct 6, 2010 in Uncategorized

delete older.* from radacct older left outer join radacct newer on older.framedipaddress = newer.framedipaddress where older.acctstoptime is null and newer.acctstarttime > older.acctstarttime;


Compute MD5 sum on Solaris

Posted by admin on Aug 29, 2010 in Uncategorized

digest -a md5 -v /path-to-file


Back button does not cause page reload

Posted by admin on Jul 20, 2010 in Uncategorized

window.onunload = function(){}; Now it does…


could not open default font ‘fixed’

Posted by admin on May 25, 2010 in Uncategorized

After adding etherape for network monitoring, the vncserver would not start and returned the following error: Fatal server error: could not open default font ‘fixed’ After a lot of googling, the following worked. apt-get –reinstall install xfonts-base

Copyright © 2008-2018 Brinsmead Data Services All rights reserved.