2014-12-24

Mums till jul.

Mums. Får komma ihåg Barlingbo.

2014-09-17

Nice kvm/usb-test.


lsusb
...
Bus 002 Device 007: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Pass that to KVM, and ask for the boot menu:

sudo kvm -m 512 -smp 1 -drive file=/path/to/hardisk/file.img -usb \
-usbdevice host:0781:5406 -boot menu=on


*SPLOOSH*

2014-08-27

Handy oneliner for easier living with ....

begin:vcard
fn:Johan Pettersson
n:Pettersson;Johan
org:KTH;Industriell Produktion
adr;quoted-printable:;;Brinellv=C3=A4gen 68;Stockholm;;10044;Sweden
email;internet:p1ersson@kth.se
tel;work:087909542
x-mozilla-html:FALSE
version:2.1
end:vcard

echo MAC | sed 's/:/-/g' | sed 's/[a-f]/\u\0/g

2014-04-23

Micro$oft Office and the trouble of activating. And Adobe...



 1. Activate Office 2010 by using OSPP.VBS.

a. Open an administrative command-prompt
b. Run one of the following command-lines based on your Operating System:

x86
cscript "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act
x64
cscript "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /act


 Adobe sux.


 http://helpx.adobe.com/creative-suite/kb/acrobat-failed-launch-30-days.html

Download and run. Maybe fixed. Or use something else than ADOBE!

2014-03-05

So simple, so often forgotten.

for i in *; do du -h $i | tail -1; done

2014-02-28

Microsoft Wedge Bluetooth keyboard


So: finally a small comfortable keyboard. Although my messed upp Ubuntu 12.04 didnt want to pair...

CLI to the rescue.

Basically I followed Gino Vincenzini's instructions @ http://unix.stackexchange.com/questions/19593/cannot-pair-my-generic-keyboard-via-automatic-pin


But shortly:
Fn+Btconnect (not just Bt-buttoon!)

 x@y:~$ hcitool scan
Scanning ...
    7C:1E:52:14:6E:8A    Microsoft Wedge Mobile Keyboard

bluez-simple-agent hci0 7C:1E:52:14:6E:8A

sudo hidd --connect 7C:1E:52:14:6E:8A

Instant success.

Cheers dude!

2014-01-26

Long under glows

Awesome woolgloves. Extends nicely up on wrist.

2014-01-16

Comsol with matlab


Hm Comsol 4.4 shouldnt use the flag

in file installdir\COMSOL42\bin\archdir\
comsolserver.ini and comsol.ini

But today it was necessary

Im still alive?

Tjoff