Notes

What I’m excited about at the moment:

Archive:

Reading that may be interesting:

Specifications:

APIs:

Eclipse plugins:

  • AnyEdit – converts tabs to spaces, trims trailing whitespace when saving, and more…

Programming references
XFront tutorials (xml, xsl, xpath, rest etc)


Set up environment variables globally (Ubuntu)
Set variables in /etc/profile, for example, add to the bottom:

export JAVA_HOME=/home/tools/jdk-1.6.0_01
export M2_HOME=/home/tools/maven-2.0.6
PATH=$M2_HOME/bin:$JAVA_HOME/bin:${PATH}

Note, to set environment variables for a users terminal session (rather than globally), edit ~/.bashrc

Shutdown
Shutdown and power off from the command line:

shutdown -h -P now

Disk space
To find how disk space is taken up by directories:
du -h --max-depth=1 /tmp/mydir
or for a sorted list:
du -B MB --max-depth=1 /var | sort -n

or for your current directory:
du -sh *
6.7M bin
8.0K boot
8.0K dev
128M etc
7.1G home
257M lib
16K lost+found
12K media
40K mnt
8.0K opt
8.0K proc
51M root
24M sbin
8.0K selinux
8.0K srv
8.0K sys
104K tmp
3.0G usr
303M var
8.0K video

To find out the usage of your partitions/volumes:

root@linux1:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 112G 2.9G 104G 3% /
varrun 252M 100K 252M 1% /var/run
varlock 252M 0 252M 0% /var/lock
procbususb 10M 176K 9.9M 2% /proc/bus/usb
udev 10M 176K 9.9M 2% /dev
devshm 252M 0 252M 0% /dev/shm
lrm 252M 18M 235M 7% /lib/modules/2.6.17...
/dev/hdb3 108G 108G 0 100% /mnt/hdb3
/dev/sda1 74G 39G 32G 56% /media/usbdisk
/dev/hdb2 12G 3.8G 7.0G 36% /mnt/hdb2
/dev/hdb1 99M 15M 80M 16% /mnt/hdb1

To convert DOS file to Unix files (to correct the end of line characters):

tr -d '\15\32' < dos-file > unix-file


This page is my Eclipse plugins reference – plugins that I regularly use and find useful. I’ll be updating this post when ever anything changes.

When installing plugins it can be a good strategy to create an extension location, and install your plugins there, rather than in the Eclipse installation itself. This makes the process of upgrading your Eclipse installation much easier.

To find more plugins, try

Subclipse
Name: Subclipse 1.2.x (Eclipse 3.2+)
Update site: http://subclipse.tigris.org/update_1.2.x

Groovy
Name: Groovy Eclipse Plugin
Update site: http://dist.codehaus.org/groovy/distributions/update/

ShellEd
Name: ShellEd Shell script editor


These are my favourite Firefox extensions:


Web applications you may find useful:

  • Del.icio.us – bookmark (and share) websites
  • Bloglines – subscribe (and share) to news feeds (blogs, websites etc)
  • Meet Up – connect to local people with similar interests
  • Campfire – chat with a group of friends

Software


Here’s what I am listening to/watching these days:


If you are in Australia you might want to check out these resources:

Leave a Comment