Maven3, Javac & Co. On Debian

Maven3 &the right JDK I was trying to build Maven3, to build other stuff (hippo cms) and suddenly my system said: BUILD FAILED /usr/src/apache-maven-3.0.5/build.xml:223: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to “/usr/lib/jvm/java-6-openjdk-amd64/jre” This means that I’m trying … Continue reading “Maven3, Javac & Co. On Debian”

Using wget to download from svn (subversion)

Well sometimes you could need to download software that it is available just for svn checkouts, without having or using any svn client. For example I’m on a machine where I cannot install subversion but I have wget wich, at the end, it is just a normal http client just like a browser or subversion … Continue reading “Using wget to download from svn (subversion)”

Raspberry pi streaming webcam

How to build a streaming server with a webcam and a Raspberry pi Here is described how to obtain a live streaming server with ffmpeg and ffserver using a webcam and a Raspberry; it’ s easy enough. Unfortunately AFAIK, the default ffmpeg should segfault if used for streaming live video feed. For this reason we need … Continue reading “Raspberry pi streaming webcam”

Reversed battery polarity smoked my Turnigy 9X

Short circuit smell and Embarrassment. I managed to invert the polarity of the li-fe battery of my turnigy 9X when the battery was at its maximum voltage. Incoming search terms:senha cisco dpc3925 net (33)usuário e senha cisco dpc3925 (21)cisco dpc3925 net virtua senha (18)dpc3925 senha (18)senha cisco dpc3925 (16)cisco dpc3925 senha net virtua (13)turnigy 9x … Continue reading “Reversed battery polarity smoked my Turnigy 9X”

Ubuntu & Debian FIX java plugin for Firefox and Chrome

How to Fix java plugin in Ubuntu for Firefox/Chrome The error: Your browser Mozilla Firefox or Google Chrome refuses to execute a java applet because of the security risks related to an old version of java, most likely the jdk1.7.0_40 which has been disabled by Mozilla Firefox plugin mantainers on October the 16th. So you probably … Continue reading “Ubuntu & Debian FIX java plugin for Firefox and Chrome”

Web developers should turn off Firefox DNS Caching

Firefox Browser In some cases, when you normally use /etc/hosts to check if a new created website is working as expected, it can be useful to disable the browser dns records caching (yes, on the client side), especially when you are about to move a site and you cannot afford to stay offline. Thus you … Continue reading “Web developers should turn off Firefox DNS Caching”

Extend Xen guest partition on a live system

No restart of the guest VM is required on Dom0: lvextend /dev/lvm/domU.lan-var -L +5G Extending logical volumedomU.lan-var  to 7.00 GiB Logical volume domU.com-var successfully resized On DomU resize2fs /dev/xvdaX #(where X is a number) resize2fs 1.42.5 (29-Jul-2012) Filesystem at /dev/xvdaX is mounted on /var; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 1 Performing an on-line … Continue reading “Extend Xen guest partition on a live system”

Shineisp Installation Log / mini How to

Shineisp is an italian open source WHM (Web Hosing Management) and we are going to give it a try. I recall i alredy installed it last year, but the machine had a poor hardware and shineisp is a greedy MVC php–mysql program. For this “instalfiguration” we assume we are on Debian Squeeze and we will … Continue reading “Shineisp Installation Log / mini How to”