Are you habit to have some configuration files packaged inside the jar of your application? If so, you can still have a look at those configuration files in the running environment using the unzip Unix utility. $ unzip -p /opt/myapp/lib/my-app.jar log4j.rootLogger=INFO,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Threshold=INFO log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{dd-MMM hh:mm} [%-5p] %m%n The -p option uncompress and prints […]

There are a couple of cool features in GIT that may not be well known by everyone, depending on which platform you are using. For example on Linux it is quite common to have the bash completion working, while in Windows msysgit comes with a cool prompt which displays the current branch and some status […]

Android.jar sources

Yesterday I wrote a post to explain how to link Android sources in Eclipse. If you use a different IDE, probably you can't have Eclipse facilities but it may be easier to have the sources "in line" with the android library. For myself usage I packed the android sources into some jar files. To have […]

If you are working with the Android Development Toolkit (ADT) for Eclipse you may have noticed that the sources for android.jar are missing. The Android SDK comes without the sources, and even if you manage to download the source code for the Android library, the ADT does not allow you to attach the sources to […]

If you have more than one laptop/computer on your desktop, you may find yourself jumping from a keyboard to another to make use of them. In this article I explain how I configured my laptops to share keyboard and mouse using synergy. It is always a good thing to have a second monitor, for example […]

Eclipse slow in OSX

I found that eclipse is incredibly slow in OSX, switching from tab to tab, reorganizing or switching the perspectives, or maximizing the tabs, it is so slow that can barely be defined as usable. If you are experiencing the same problem, try to modify the eclipse.ini ( in this way. Change the line -Dosgi.requiredJavaVersion=1.5 to: […]

I used to create launchers in Linux for command line applications, to place on the desktop or in some bar. On Linux, that is as easy as specifying the launcher command or bash script, tell if you want run it in a console or not, and specify an icon. On OSX (...) read this article. […]

3G USB Stick on Ubuntu

I am in London for work, and my hotel wants me to pay £ 17 per day for accessing internet. But I found an internet café which is offering Internet connection on a 3G USB stick for £ 19.99 per week ( 197 Praed Street, Paddington ). The USB stick is from Three, like […]

Ipod touch with Linux

Yesterday night I tried to connect the iPod to Linux. I tried some programs but none was working decently; but the good news is that you don't really need any special program "made for iPod" to do this. For the guys who do not know about iTunes and iPod/iPhone foolishnesses, the problem is that when […]

I discovered today that in Karmic there is an option to format encrypted usb disks. But first of all you need to install the support for this feature; from the terminal: $ sudo apt-get install cryptsetup When you plug in your USB disk, and mount it, you'll see an icon on your desktop. Right-clicking on […]


You are currently browsing the NewInstance weblog archives for How-To.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.


February 2017
« Nov    

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:



Tag Cloud