So, I setup few SBCs (Raspberry Pi, Orange Pi) as mini-servers for many kind of purpose at home. One of them is a media-server, it is plugged into multiple removable drives (few USB sticks and one 3TB self-powered seagate 3.5″ enclosure). I setup the drive to auto-mount on boot using fstab. One day, because I use one of the USB stick, it stopped working. It seems that the system check
Weekend Project
WordPress from PHP to HHVM
This blog was using nginx+php5.5+mysql and I’ve been reading about hhvm and it`s 100% compability with WordPress. So it’s worth to test. OK, what I was doing is basically installing hhvm using this guide sudo apt-get install software-properties-common sudo apt-key add –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 sudo add-apt-repository ‘deb http://dl.hhvm.com/ubuntu trusty main’ sudo apt-get update sudo apt-get install hhvm Since hhvm is also fastcgi compatible, all I do is changing my
Home Automation By Presence Detection
Some friends asking me about my Homebred setup for my home automation – It’s been a while since I promise to write about it – so here you go. (will open the code as soon as I can make it readable for public and clean it up from my custom setups) The setup is simple, nothing fancy. It’s using tricky simple presence detection – a.k.a detecting MAC address of my