Monday 30 December 2013

delete the dashboard screen on os x mavericks

open terminal and type

defaults write com.apple.dashboard mcx-disabled -boolean true

press enter

then type

killall Dock

to relaunch and dashboard should be gone

Friday 6 December 2013

install rabbitmq management plugin ubuntu

First install rabbitmq from the website.

Download the .deb package and run, this is the best way to get the latest code.

once installed, run the following commands:

/usr/lib/rabbitmq/lib/rabbitmq_server-x-x-x/sbin/rabbitmq-plugins enable rabbitmq_management

you should see:

The following plugins have been enabled:
  mochiweb
  webmachine
  rabbitmq_mochiweb
  amqp_client
  rabbitmq_management_agent
  rabbitmq_management

now run:

/usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin# service rabbitmq-server restart

now go to

http://localhost:15672

in your browser, all running :)


Thursday 5 December 2013

install maven 3 ubuntu

cd ~/Downloads
wget http://apache.mirrors.timporter.net/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
tar -xzvf apache-maven-3.1.1-bin.tar.gz
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.1.1 /usr/local/apache-maven

export M2_HOME=/usr/local/apache-maven/apache-maven-3.1.1
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH

put the above 4 lines in your ~/.profile