Raspberry Pi in Browser Kiosk Mode with HDMI Monitor

// remove the cursor
sudo apt-get install unclutter

// install Google Chrome on Raspberry Pi
sudo apt-get install chromium

// Open Chromium in Fullscreen mode after booting the Raspberry Pi
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

It should look like this:

@lxpanel –profile LXDE
@pcmanfm –desktop –profile LXDE
@xscreensaver -no-splash

@xset s off
@xset s noblank
@xset -dpms
@chromium –kiosk http://andreasprang.de



// Disable Screen to become black

nano /etc/kbd/config

How To: Install Script TelescopeJS for Debian / Ubuntu


Installing TelescopeJS on Linux really isn’t done within 5 minutes. So I decided to create a setup script. After installing Telescope with this Script, Telescope ist set up as a service and running on port 80 of your server.


Install: $ curl https://raw.githubusercontent.com/AndreasPrang/TelescopeJS-Install/master/install.sh | sh

To change the port on which Telescope should be running edit /etc/init.d/Telescope


Install Script Git Repository: https://github.com/AndreasPrang/TelescopeJS-Install
Telescope – Project URL: http://Telesc.pe



Google Drive – Crash

„Actually“ () Google Drive is crashing all the time if you try to sync more than ~3000 files. This is because of a memory leak in the app and an other interesting point! Google Drive is an 32 Bit application.

There actually is just one way to sync Google Drive. Restart Google Drive every ~20 Minutes when you got an error message like:

NSMallocException – Attempt to allocate xxxx bytes for NS/CFData filed.
Google Drive Crash NSMallocException










With this script you automatically can restart Google Drive every 20 Minuted for the initial synchronization:


while true;
killall Google\ Drive
open /Applications/Google\ Drive.app
sleep 1200


Mac OSX – perfect Terminal Settings

TerminalSeveral years I used the Terminals as it is. Some months ago I started configuring the Terminal settings and now it’s perfect.
To get the settings enabled for your terminal just download and install the free font and my terminal settings:



  1. SourceCodePro
  2. Settings.terminal
  3. To get the perfect font colors follow my article from 2010: ls –color unter Mac OSX / BSD Unix


  • Perfect font …
    • to get the differences between chars like l and I or O and 0
    • not to fat or thin
    • monospaced
  • Terminal windows in the background are translucent
  • Cursor is high visible
  • special window title
  • background color is a very eye friendly light grey (very close to white)


perfect Terminal

Install GlassFish 4 with Oracle JDK RedHat / CentOS

glassfishDie Installation von GlassFish 4.0 schlägt auf Linux-Systemen welche nicht in englisch installiert sind fehlt. Die folgenden Schritte funktionieren:


# uninstall openJDK
   0   yum remove java-1.6.0-openjdk      

# download Oracle JDK
   0   http://www.oracle.com/technetwork/java/javase/downloads/index.html
# install Oracle JAVA
   0   yum reinstall '/tmp/jdk-7u45-linux-x64.rpm' 
   1   java
   2   java -version
   3   alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_45/jre/bin/java 20000
   4   alternatives --install /usr/bin/jar jar /usr/java/jdk1.7.0_45/bin/jar 20000
   5   alternatives --install /usr/bin/javac javac /usr/java/jdk1.7.0_45/bin/javac 20000
   6   alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7.0_45/jre/bin/javaws 20000
   7   java -version
   8   ls -lA /etc/alternatives/
   9   alternatives --set java /usr/java/jdk1.7.0_45/jre/bin/java
   10  alternatives --set javaws /usr/java/jdk1.7.0_45/jre/bin/javaws
   11  alternatives --set javac /usr/java/jdk1.7.0_45/bin/javac
   12  alternatives --set jar /usr/java/jdk1.7.0_45/bin/jar
   13  update-alternatives --install "/usr/bin/jar" "jar" "/usr/java/jdk1.7.0_45/bin/jar" 1
   14  java -version
   15  export JAVA_HOME=/usr/java/jdk1.7.0_45/bin/java

# install GlassFisht 4.0
   0   wget http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip
   1   unzip -d /opt/oracle/ glassfish-4.0.zip
       # Full edition:
   2a wget http://download.java.net/glassfish/4.0/release/glassfish-4.0-unix.sh
       # Webedition:
   2b wget http://download.java.net/glassfish/4.0/release/glassfish-4.0-web-unix.sh
       # Avoid error: Fehler beim Rendern von SWIXML Frame=content area Verursacht durch: Invalid SwiXML Descriptor.
   3   LANG=EN sh ./glassfish-4.0-unix.sh
   4   Follow this perfect instructions: https://blog.hazrulnizam.com/?p=207