2016-02-02

ls uses quotes ?

paul@d:~$ mkdir newls
paul@d:~$ cd newls/
paul@d:~/newls$ touch a\ space
paul@d:~/newls$ ls
'a space'
paul@d:~/newls$ 
oh well...

paul@d:~/newls$ touch \'
paul@d:~/newls$ ls
''\'''  'a space'
What ?

2015-05-15

healthy breakfast ?

It is said that breakfast is the most important meal of the day.

Here is mine (often);
picture of 6 seeds and oat

- hemp seed (hennepzaad)
- brown flax seed (lijnzaad)
- golden flax seed (geel lijnzaad)
- sesame seed (sesamzaad)
- Chia seed (chiazaad)
- Sun Flower seeds (zonnebloempitten)- Oatmeal (havervlokken)

mixed with:
picture of a plate with 6 berry types
- redcurrant (rode bessen)
- strawberries (aardbeien)
- raspberries (frambozen)
- rubus (braambes)
- blackcurrant (zwarte bes)
- cranberries? (wilde bosbes)

mixed with lots of soy milk and let it soak for half an hour.

Healthy ?

2015-05-11

new data center

My new data center is under construction (two Raspberry Pi 2 and one Raspberry pi model B).


2015-05-03

encrypted storage (on Pi-2)

I used this procedure today to create encrypted storage on two 64GB-usb sticks on a Raspberry Pi 2.

Advantage: nobody can read the backups but me
Disadvantage: I need to type a long passphrase at boot (twice)


# prepare to enter a passphrase
cryptsetup luksFormat /dev/sda --cipher=aes --key-size=256
cryptsetup luksFormat /dev/sdb --cipher=aes --key-size=256

# verify device
cryptsetup isLuks /dev/sda -v
cryptsetup isLuks /dev/sdb -v

# dump metadata (just for information)
cryptsetup luksDump /dev/sda
cryptsetup luksDump /dev/sdb

# find uuid (so you can add them with uuid to /etc/crypttab)
cryptsetup luksUUID /dev/sda
cryptsetup luksUUID /dev/sdb

# create mapper devices
cryptsetup luksOpen /dev/sda encrypt-backup
cryptsetup luksOpen /dev/sdb encrypt-archive

# verify dm devices
dmsetup info

# mkfs (Wouter told me to use ext4 ;-)
mkfs.ext4 /dev/mapper/encrypt-backup
mkfs.ext4 /dev/mapper/encrypt-archive

# tune reserved space for root
tune2fs -m2 /dev/mapper/encrypt-backup
tune2fs -m2 /dev/mapper/encrypt-archive

# mount
mount /dev/mapper/encrypt-backup /srv/encrypt-backup
mount /dev/mapper/encrypt-archive /srv/encrypt-archive

2015-04-24

Raspberry Pi case with Lego

In case you want to build a Raspberry Pi case out of Lego, here is mine.


2015-03-26

black beer

There is always room for beer (linky).







Inglorious Quad : excellent !
Oesterstout: excellent !
Embrasse: very good.
Zumbi: excellent !
Barbe Noire: very good.

2015-01-02

People of 2014

People of 2014
(in random alphabetical order)


Edward Snowden for his courage in telling the truth that matters.

Elon Musk for pushing space exploration, electric cars and solar power.

John Oliver for predatory lending, nuclear weapons, net neutrality, ...

Linus Torvalds (and thousands of others) for their great work.

Matt Taylor for landing Philae on comet Rosetta.

Mikko Hypponen for his Ted talks.

Pope Franciscus for being the first sensible pope.
If you would have asked me at any time in the past 25 years whether I would put a pope on my list of greatest people, I would have called you crazy.

Robin Williams

Theo De Raadt for being right.



(this post was written in 5 minutes, I probably forgot someone)