Author: Jason
-
Pull a backup from a remote host with ssh and tar
Sometimes you might need to copy a whole directory from a remote host, but the remote host does not have enough space to tar the whole thing up and then sftp it off. The solution is to tar/bzip the directory and stream it directly to your local host: ssh root@remotehost ‘tar cjf – /path/to/somedirectory’ |…
-
HP MediaSmart IR Remote for MythTV
I’ve been on a quest to find a good remote for MythTV. My first try was with a Logitech Harmony. Those things are nasty horrible pieces of crap. I’d never touch one again. Programming it is a nightmare. It does not have a generic PVR option so you have to fake it to make it…
-
Tips on installing FreeSWITCH and FusionPBX in debian
I’ve been testing out FreeSWITCH and FusionPBX. I found it non trivial to install in debian. Here are my tips for installing. Don’t bother with the install script. I found it to be broken. And when it breaks during install, it leaves you in a state that’s very hard to understand and fix. In the…
-
Proxy Dashing Dashboard behind Apache with SSL
I needed to allow access to my Dashing dashboard over ssl from the Internet. I decided to proxy it behind Apache and get Apache to do all the SSL heavy lifting, mainly because I couldn’t work out if and how you could enable SSL within Dashing itself. It turned out to be quite simple to…
-
3D Printed Heated Towelrail Brackets
Our heated towel rail’s brackets broke from old ages recently. After investigating getting a new towel rail and finding out they were quite expensive, I decided to try and design and 3D print new brackets for it. The first cut of the design turned out to have too little space for the nuts. A second…
-
Preserve file permissions 664 under subdirectories in linux with ACLs
Have you ever wanted to give several users permission to work on files within a directory, but then struggled with what permissions and user:group ownership to set them to so users can always edit the files? You might think the solution is to make the parent directory owned by a common group, lets say dev,…
-
FreeCAD
Hack A Day has a great article introducing FreeCAD. FreeCAD is a parametric 3D modeler. Parametric modeling allows you to easily modify your design by going back into your model history and changing its parameters. FreeCAD is open source (LGPL license) and completely modular, allowing for very advanced extension and customization. There are several great things about…
-
typing mathematical symbols into emacs using the TeX input method
You can type mathematical symbols into emacs using the TeX input method. C-\ TeX <enter> \ohm \therefore \pi C-\ will toggle the input method on and off. Note the \ indicator in the bottom left of the status bar.
-
LED down light comparison website – www.ledbenchmark.com
I’ve wanted a reliable source of information on LED light bulbs for a long time. Well apparently it does exist. ledbenchmark.com have brief reviews and comparisons of many blubs and it seems to be done in a nice scientific way. Image By Mcapdevila [CC-BY-SA-3.0], via Wikimedia Commons