Synology DSvideo, DSaudio, Netflix and radio on the same device

Netflix started offering its service to mainland Europe in February this year. It was something I had been waiting for a long time. But for my living room it meant that I could no longer use my rather old ZBox running OpenElec. I tested 4 devices (Amazon Fire TV, Raspberry Pi with Kodi and Android MiiPC) for my living until I found an unexpected flexible yet extremely cheap solution for all my problems: Android TV BOX AmlogicS805 Quad Core on aliexpress. Continue reading

Unable to require openssl, install OpenSSL and rebuild ruby … on Ubuntu 14 LTS

I followed the steps from http://rubyonrails.org/download/ to install ruby but ran into this error:

Continue reading

Titanfall PC player base random Thursday February 2015

I have to say I bought into all the hype that was surrounding Titanfall in 2014. I was so over-hyped that the game could never live up to it. After playing about 8 hours in March 2014 I put the game down. It could not deliver all the nonstop fun action. It was just a decent shooter with giant robots that make giant targets for the rest of the players. Matches also tended to be too one-sided. You either ripped the other team apart easily or your were shot constantly. So I went back to my usual CS:GO and UrT recreation. Continue reading

Netgear WN3000RP mywifiext.net not found

  1. make sure the green light on the extender is turnd on after you plugged into the wall
  2. Try http://192.168.1.250 if http://www.mywifiext.net does not work
  3. If you still cannot access the extender, plug in a lan cable into the lan port on it bottom and connect it directly to your router. Then you should be able to access it via http://192.168.1.250
  4. Configure your repeater:
    4.1 Chose the Wifi you want to extend
    4.2 Enter the password and keep the same security policies
    4.3 Do NOT use the suggested SSID because it ends with _EXT. Instead remove “_EXT”; this way your Wifi devices will not have to add another SSID.
  5. It is perfectly normal that after you hit finish your browser displays page not found. The repeater uses DHCP and will get itself an new random IP.
  6. Remove the lan cable and unplug the extender from the wall for a few seconds.
  7. Plug it into the wall and everything should work fine.

Continue reading

Perl DBI how to escape single SQL quotes with regex

SQL escapes single quotes by replacing them with double single quotes. Search for Gigi D’Agostino should look like this:

In Perl the easiest way it to add the escaped quotes is by using a simple regex.

Continue reading

Use Java 6 and Java 7 on (X)ubuntu Eclipse

Install both Java versions

Check active version

Check installed versions

In Eclipse go into
Project > Properties > Java Build Path > Add Library > JRE System Library > Alternate JRE

If your Java is not in it

  • Click on Installed JREs
  • Click Add
  • Click Standard VM
  • Choose Directory containing Java 6 (/usr/lib/jvm/java-6-openjdk-i386)

 

Shell Script – check if another instance of same script is running

Source: LinuxQuestions.org

Count number of files in directory and subdirectories

Count all files in current path including sub directories

Count all pdf files in current path including sub directories

If you want to get deeper into the Linux command line, I can highly recommend Jason Cannon‘s Linux for Beginners or the classic Linux Academy course Mastering The Linux Command Line. I took both courses on Udemy.