blinkenlights.ch - blinkenlights.ch
  blinkenlights.ch
-... .-.. .. -. -.- . -. .-.. .. --. .... - ... .-.-.- -.-. .... Mail Home Search

torrent tool

published at Sun Nov 6 19:09:37 2011 in misc/hacks
Verify existing files using a torrent
I just had a nice (btrfs related) crash while copying some finished torrents to my primary workstation (and file vault). The crash happened (of course) just after i've deleted the files from the source server but was soon enough to cause corruption as most of the data was still stored on RAM :-/
So i've hacked a small tool called torrent-tool (download at github) How does it work You can use the --show parameter to check an existing torrent file: $ ./torre
...
 » Read 943 more bytes
 

Changing the stylus pressure on a technics sl-7 turntable

published at Sun Sep 25 17:46:27 2011 in misc
I own an old Technics SL-7 and was (until recently) not smart enough to change the stylus pressure — even after reading the manual (you can download the sl-7 manual from here btw...)
The magic screw is located on the right side (the location in the manual is therefore completly wrong ;-) )

and the pressure can be changed by ±0.25g:
...
 » Read 64 more bytes
 

The Economist cache

published at Fri Sep 23 09:41:14 2011 in android
The Economist provides a nice Android application, however: the cache contents (saved on the sd-card by the application) are 'encrypted' for some silly reason. We will fix that within a few minutes. Analyzing the data The 'encrypted' data is stored at /your/phone/com.economist/library/$date, let us have a look at some cached files: $ hexdump -C 20110813_AMC392.gif|head -5 00000000 c7 c9 c6 b8 b9 e1 ac 81 b5 81 77 80 80 95 8e 87 |ÇÉÆ¸¹á¬.µ.w.....| 00000010 99 93 8b a2 9c 95 a7 a2 9c ae aa a4 b5 b1 ac...
 » Read 2844 more bytes
 

6RD (IPv6) via Bluewin/Swisscom DSL

published at Fri Sep 23 09:41:14 2011 in linux
6RD (IPv6) via Bluewin/Swisscom DSL Seit Mitte 2011 bietet die Swisscom (bzw. ex Bluewin) einen 6RD gateway an. (Siehe http://labs.swisscom.ch/en/node/692/). Der 6rd-tunnel scheint aus allen Bluewin-IP-Ranges erreichbar zu sein, folglich muss man nur die IP des 'Gateways' (6rd.bluewin.ch / 6rd.swisscom.com - 193.5.122.254, bzw. 164.128.155.23 bis zum 8. November 2011) und den Prefix der Swisscom (2a02:1200::/28) wissen: Mit diesen Angaben lässt sich 6rd problemlos auf einem halbwegs aktuellen Linuxr...
 » Read 8711 more bytes
 

Ejabberd clustering

published at Tue Aug 23 15:45:32 2011 in linux
Some notes about ejabberd clustering (incomplete and probably wrong ;-) ) Setup the first node Note: If you are already running a single ejabberd node (called ejabberd@localhost) i'd recommend to simply dump mnesia and import it again: changing the node name might be too much work

We will call the first node ejabberd@first.example.com
Install erlang and ejabberd Create your ejabberd.cfg file In ejabberdctl.cfg: set INET_DIST_INTERFACE={10,0,0,1} (where 10.0.0.1 is the ip of first.example.co
...
 » Read 5217 more bytes
 

How to Install Cyanogenmod 7.0 on a HTC-Legend (running stock froyo)

published at Sun Mar 20 16:21:06 2011 in android
Installing custom ROMs on a HTC Legend device running Android 2.2.x is a real pain but it can be done.
You'll need:
A HTC Legend running HTCs Froyo (Android 2.2) image Some PC running Windows (sorry!) [you also need to install the android SDK] Some leaked HTC Software (google) 2 Micro SD-Cards (using one would work, but having two makes it easier

Some Notes This will void your warranty Blabla.. insert standard disclaimer here I didn't do any of the fancy stuff: this is just a collection
...
 » Read 4713 more bytes
 

MythTV Autoshutdown/Poweron

published at Mon Feb 7 18:13:32 2011 in mythtv
MythTV Autoshutdown/Poweron Wer sein MythTV Backend (+ Frontend) im Wohnzimmer stehen hat, möchte die Kiste wohl kaum 7x24h am rumrödeln haben. Abstellen ist ja kein problem, aber wie kommt die Kiste von alleine wieder hoch? Eigentlich kein problem, man muss nur etwas rumbastelnt :-) [...und das ist der MythTV User ja gewohnt ;-) ] Auto Power-On Zuerst kümmern wir uns ums automatische einschalten: Dazu verwende ich bei meiner Installation nvram-wakeup [siehe auch: mythtv.org wiki-eintr...
 » Read 3811 more bytes
 

SixAxis (PS3) Controller + ZSNES

published at Mon Feb 7 18:13:32 2011 in mythtv
SixAxis / Dualshock 3 und Linux Sony verkauft mit dem SixAxis-Controller ein ganz nettes Bluetoot-Gamepad welches sich super für SNES-Emulatoren eignet. (Klar: Man hat ja damals auch das Design geklaut.) System vorbereiten Auf http://www.pabr.org/sixlinux/sixlinux.en.html ist eigentlich alles ganz prima erklärt, damit ich aber auch was zum schreiben habe: hier die Kurzversion:
hidd patchen Der Controller wird out-of-the-box nicht funktionieren: Zuerst muss hidd (bluez-utils) gepatcht und
...
 » Read 3208 more bytes