A small class to generate the mathematical constant “e”. Complete with timer and digits per second clock. Unpolished. Here’s a quick benchmark and you can see that it doesn’t scale.
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
/**
* calculate mathmatical constant e
*/
public class ECalculator {
private static final int numberOfDigits = 1000;
public static void main(String[] args) […]
The following build.xml file has a few targets that make compiling a project much simplier. Read on for more details.
I have the following directory structure:
(chris@hobbes)-(BackupLink)$ ls -l
total 20
drwxrwxr-x 3 chris chris 4096 Apr 21 00:07 bin
-rw-rw-r– 1 chris […]
Throw this into your /etc/bashrc for all users to pick up this more interesting bash prompt. If you just want to test it out on a single user’s profile, add to ~/.bashrc (at the end is good).
Played around with Opera 7.1. Very nice rendering, but a little buggy. Horrible mail client. Uninstalled all older versions of Mozilla on my workstation and went with Mozilla 1.4a. Was an adventure.
Got rid of evolution. Love it, but it’s not GTK2 yet. The GTK2 beta is too unstable. […]
A friggin run through 10 really friggin useful friggin Linux tips.