-bash: __git_ps1: command not found

How to fix the error “-bash: __git_ps1: command not found” after git-core updates.

Self executing jar files

I personally always felt bad about the fact that we have to provide a shell script which runs the executable jar file. It would be nice if we could provide a self contained executable in a single file, right? I just discovered a trick which works on unix, but it can possibly be adapted on […]

SSH Bash Completion

Today I was having a look on how the git-completition is implemented. If you have not enabled the completition for git, I think you should really read my article on how to do it. So I found this two links, that explain the basics on how to implement bash completion for simple commands: An introduction […]

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.properties 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 […]

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 […]

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 […]




About

You are currently browsing the NewInstance weblog archives for Bash.

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

Calendar

February 2017
M T W T F S S
« Nov    
 12345
6789101112
13141516171819
20212223242526
2728  

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:

Archives


Categories

Tag Cloud


Listening