HashMap.put(null, toto)
Question: does Java’s HashMap accept null as a key?
Read the rest of this entry »
Forum Trium 2006 – back!
Quelques impressions sur le Forum Trium 2006 a Paris Expo, Porte de Versailles.
Forum Trium’06
Je serai present demain, toute la journee, a l’edition 2006 du Forum Trium (Mines Paris, Ponts, Techniques Avancees, ENSAE), comme representant de mon entreprise.
Je suis facile a trouver: il suffit de chercher un geek mal a l’aise dans un costume ;-).
CSS changes
I modified background colors.
Yes, I know, it’s ugly, but:
- I am fed with using CSS grammars. Had I chosen, CSS would be an XML-based language, instead of a grammar.
- I was fed with “black font on white background”. It is not yet a rainbow, but it is easier to read, at least I feel it as less aggressive for the eyes.
- I did not want to enter deeper in the PHP source code at 11pm.
Therefore, I think I will not change anymore the stylesheet for a while.
List the content of a jar
Case: you have a jar foo.jar, and you need list the names of the files in it.
Solution: use the following command:
jar -tf foo.jar
Display the list of certificates trusted by Java
Case: under Windows, you need the list of the certificates that your local Java installation trusts.
Solution: open a DOS console, and write:
C:\>keytool -list [-v] -keystore "C:\Program Files\j2sdk1.4.2_07\jre\lib\security\cacerts"