No3x

Online IDE

All online IDE don’t fulfill my requirements of a IDE where I can – checkout git repositories – merge branches with visual support   www.codebox.io – no git editor integration – no paste in terminal c9.io – no git editor integration codeanywhere.com – no git editor integration – login via github was broken orionhub.org – no registration email received to… Read more →

How to install Scrapy

This line installs all requirements for pip first. After that you can install pip. With pip you can install Scrapy. sudo apt-get install build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev python-dev python-libxml && sudo apt-get install python-pip && sudo pip install Scrapy This should avoid errors like: Downloading/unpacking lxml Running setup.py egg_info for package lxml /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘bugtrack_url’ warnings.warn(msg)… Read more →

WordPress action or filter not called

If you are using the wordpress api to hook into actions or filters there are some pitfalls. But these pitfalls are not wordpress related but likely your faults. I wan’t to show how to NOT hook into wordpress. 1. add_action( “actionA”, array( __CLASS__, “processA”, 10, 3) ); Please check the array declaration. Stupid mistake, but it’s hard to locate the… Read more →

oBackup superSu errors

If you struggle with installing onandroid script (that is used by oBackup) and get the following error: Processing the package before execution… sh: <stdin>[1]: cd: /storage/emulated/0/Android/data/com.pommedeterresautee.twoborange3/files/898116564: No such file or directory cp: can’t stat ‘./onandroid’: No such file or directory Unable to chmod /system/bin/onandroid: No such file or directory cp: can’t stat ‘./dedupe’: No such file or directory Unable to… Read more →

Problems Solved for Setting Up Jenkins

You must set the %JAVA_HOME% and Path environment variables for jenkins. Otherwise you should get errors like: $ “C:\Program Files (x86)\Android\sdk/tools/android.bat” list target Der Befehl “C:\Windows\system32\java.exe” ist entweder falsch geschrieben oder konnte nicht gefunden werden. Ungültiger Pfad Das System kann den angegebenen Pfad nicht finden. To do so follow this steps: Create a %JAVA_HOME% var with path to the Java… Read more →

toString(), equals() Contract

Any Object is an Object or a child of an Object as described in the Java Language Specification: The class Object is a super class (§8.1) of all other classes. A variable of type Object can hold a reference to the null reference or to any object, whether it is an instance of a class or an array (§10). All… Read more →

wget Seite rippen

Man kann perfekt alle Dateien eines Web-Verzeichnisses mit dem tool wget laden. Hier ein Beispiel: cd /home sudo mkdir mirror/ cd mirror/ sudo wget -v -r -A iso -c –http-user user –http-passwd password http://url   -v Ist verbose Mode -r rekursives Laden, folgen von Links (max 5 Ebenen) -A <list> Filter um nur iso zu laden -c Schaut ob die… Read more →