Skip to content

Instantly share code, notes, and snippets.

~/.gconf/apps/nm-applet/%gconf.xml
sudo rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc yum install rabbitmq-server-3.5.0-1.noarch.rpm
@bandicoot86
bandicoot86 / gist:63e9c43e306364b3052f
Created March 4, 2015 12:56
Netword and IO benchmark
http://www.sebastien-han.fr/blog/2012/08/26/ceph-benchmarks/
@bandicoot86
bandicoot86 / gist:c7e3283796917d004426
Created January 20, 2015 08:55
Fix protoc 'no library found'
export LD_LIBRARY_PATH=/usr/local/lib
@bandicoot86
bandicoot86 / gist:b95c7630d7301c51a3d8
Created January 16, 2015 14:19
Rabbit MQ add user
sudo rabbitmqctl add_user user user
sudo rabbitmqctl set_permissions user ".*" ".*" ".*"
@bandicoot86
bandicoot86 / gist:c4bfd8ce0adf87988c50
Created November 24, 2014 12:41
Update maven version
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT
@bandicoot86
bandicoot86 / gist:36fa7fefa0002b533ebb
Created November 14, 2014 20:08
Flash ubuntu 14.10
sudo apt-get install pepperflashplugin-nonfree
#https://gorails.com/setup/ubuntu/14.04
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
@bandicoot86
bandicoot86 / gist:d42faf98ce9e700d14c7
Created October 30, 2014 19:46
Replace new lines with \n
awk '{printf("%s\\n",$0)} END {print ""}' 1.txt
sudo add-apt-repository ppa:attente/modifier-only-input-switch
sudo apt-get update
sudo apt-get upgrade