Category Archives: linux

Deep learning made easy with Colaboratory

TL;DR: Get free a GPU and environment with Jupyter Notebook with this tutorial I always struggle to set up the environment for deep learning frameworks. It seems you need the right set and versions of hardware, OS, drivers,framework. And if you … Continue reading

Posted in deep learning, linux | 1 Comment

Raspbian headless install over Wifi

TLDR; Configure your new PI without a monitor Just follow this guide to install your raspberry pi 3 without a monitor. It enables wifi and ssh in the default raspbian installation. install raspbian on your sdcard: mount boot partition enable … Continue reading

Posted in embedded, linux | Leave a comment

Earn money with your smartphone

TLDR; Let your smartphone mine cryptocurrencies I like money. Money is even better if you don’t have to work for it. So I set up my smartphone as a zcash node. Zcash is similar to bitcoins: You exchange computing power … Continue reading

Posted in embedded, linux | Leave a comment

Enabling zram

TL;DR: Oneliner to enable zram on embedded systems. This uses nproc to initialize one swap file per cpu. ‘4096’MB is the used size. The eval is used to enable dynamic bash ranges. Lzo compresses typically 4:1. I use the same … Continue reading

Posted in embedded, linux | Leave a comment

Verifying sdcards

TL;DR: Verify sdcards on the fly I have a few sdcards which are probably counterfeit or plain broken. So I’ve developed a one liner to check the sdcard. The good part is that no temporary files are created. All data … Continue reading

Posted in linux | Tagged , | Leave a comment

3.8+ kernel for Pogoplug

TL;DR attach dtb file to kernel and boot I’m running gentoo on a Pogplug E02 and had some difficulties with kernels after 3.7. These kernels use a new infrastructure called device trees to tailor the kernel to new hardware. Luckily … Continue reading

Posted in linux | Tagged , , , | Leave a comment

ZFS-root on LUKS

TL;DR ZFS as a root device on top of LUKS I encrypt my devices. This saves hours of changing passwords in case a hard disk is lost. Additionally, I don’t have to think much about which data I save: passwords, … Continue reading

Posted in linux | Tagged , , | Leave a comment

Working with Lua on an ESP8266

TLDR; use luatool to upload scripts Lua is a scripting language which has been ported to the ESP8266. After flashing the latest firmware you can connect to the module using screen /dev/ttyUSB0 You probably want to save your entered code … Continue reading

Posted in electronics, linux | Leave a comment

qemu on gentoo

I’m running gentoo on a pogoplug. This is an embedded device with 1,2GHz armv5 and 256MB Ram. Unfortunately, big packages like gcc don’t finish. Thats why i set up a working qemu environment to emerge certain packages, zip them up, … Continue reading

Posted in linux | Leave a comment