Minecraft LAN play

if you run a server in offline mode you can change client’s username like this:
in your homedir in .minecraft
for Windows:

open launcher_profiles.json

and change
“displayName”: “YOUR_NAME”,

take care not to go online with this

SDcard format

when you need to format a sdcard for windows (phone) in linux:

sudo mkdosfs /dev/sdc1 -s 64 -F 32

-F is filesystem (32 is vfat/FAT32)
-s is the allocation size multiplier (for disks < = 16 GB it's usually based on a sector size of 512byte) how to find out sector size? fdisk! root@lando:~# fdisk -l /dev/sdc1
Disk /dev/sdc1: 1.9 GiB, 1973416448 bytes, 3854329 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

16×512 = 4K allocation size (standard for small cards)
64×512 = 32K allocation size (Lumia Phones from 4 – 32 GB)
(larger cards (64 GB and up) need exFAT and 128 kB allocation size for Lumia)

NOTE: for larger sector sizes you have to change the formula accordingly

5 things for better security

following the Snowden events here is what everyone can do to increase privacy/security and prevent man-in-the-middle attacks:

– tor
– otr encryption / GPG email / chatsecure / signal
– password manager and a strong password policy
– 2-factor authentication
– full-disk encryption

Continue reading

fedora core 21 > 23

trying to do this without reinstalling the entire OS…
yum install dnf dnf-plugin-system-upgrade
dnf system-upgrade --releasever=23 download

so far only fedy was disabled (cannot find repo)

1.6GB download…

all working fine – except my gpg keys…
quite impressive. ubuntu release upgrades rarely worked like that for me…

volumio on raspberry pi 2 with album art

I have received a hifiberry daughterboard for the great raspberry pi 2 which makes it put out really nice audio. Now MPD is not featuring local cover art unless you run a webserver to tell it where to look for it.

Now here is how to tell the built in webserver to add a subdirectory that finds cover art (if you follow convention to sort your albums.

This information was compiled by Rowar from the RaspiFy forums before it was called volumio
but it works fine here with mpdroid and mPod

thank you, Dude! :)

Continue reading