January 17th, 2012 @ 3:27pm | njames | Categories Uncategorized | No Comments »
Since Gnome3 I think about changing my desktop. * [[http://crunchbanglinux.org/forums/topic/11912/march-2011-screenshot-thread/page/13/]] * openbox: mandatory * trayer: ++ * tint2: * pypanel: * thunar: ++ I am wondering if the best thing to do is not to install a Debian testing without Debian Desktop Environment, and then listing all the package i have to install after that: * bzip2
January 16th, 2012 @ 3:37pm | njames | Categories Development tools | No Comments »
With Ant several ways are possible to access Subversion information and commands:
  • svnant: use subclipse, and javahl (jni interface to subversion).
  • svntask: use svnkit, a pure Java subversion client.
  • call the svn command from ant using an exec element and parse the output.
I tried svntask (the simplest to use, as it is only two jar to add in the classpath), but I don't achieve to use the svn update feature when authentication is required.

Following is a small Ant tasks for getting the revision number using the svn info command.
Pros: small code, do not require a connection to the repository (convenient if anonymous access is not allowed on the repository).
Cons: works on GNU/Linux only.

<exec executable="sh" outputproperty="svn_revision_number">
  <arg value="-c" />
  <arg value="svn info|grep 'Revision: '|cut -f 2 -d ' '" />
</exec>
<echo>${svn_revision_number}</echo>
December 26th, 2011 @ 12:22pm | njames | Categories GNU/Linux | No Comments »
December 22nd, 2011 @ 11:20am | njames | Categories Uncategorized | No Comments »
Deactivate:
# update-rc.d -f gdm remove
Re-activate:
# update-rc.d gdm defaults
July 8th, 2011 @ 12:41pm | njames | Categories Uncategorized | No Comments »
http://userscripts.org/scripts/show/24200 for replacing the google links by the real webpage address.