Tuesday, August 7, 2012

Mysql Database Backup

http://dev.mysql.com/doc/refman/5.0/en/copying-databases.html

Friday, September 23, 2011

EASiER

gmp
------
./configure CC=gcc-x (x != 4.3.1)
make
make install

pbc
----
./configure
make
make install

sudo apt-get install autoconf openssl libtool libgtk2.0-0 libgtk2.0-dev libgnomeui-0 libgnomeui-dev

libbsw
--------
./configure
make
make install

cpabe
------
./configure
make
make install

Sunday, August 28, 2011

Show Full Path in Terminal

Type: nano .bashrc
Type: export PS1=" "
Between the quotation marks, you can add the following lines to customize your Terminal prompt:
  • \d – Current date
  • \t – Current time
  • \h – Host name
  • \# – Command number
  • \u – User name
  • \W – Current working directory (ie: Desktop/)
  • \w – Current working directory, full path (ie: /Users/Admin/Desktop)
export PS1="\u@\h\w$ " which will look like: Admin@MacBook~Desktop/$ "
type . .bashrc
[source - http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/]

Sunday, June 26, 2011

Changing Grub Boot Priority Ubuntu 9.10 Karmic

sudo gedit /etc/default/grub
default X

[X in 0, 1, ..., index of desired OS in the list]

Wednesday, March 9, 2011

RabbitVCS on Ubuntu

[Source: http://wiki.rabbitvcs.org/wiki/install/ubuntu]

Adding the PPA:

Karmic and later: 

sudo add-apt-repository ppa:rabbitvcs/ppa

Installing RabbitVCS:

Update your software package repositories with: 
sudo apt-get update

And install it with: 
sudo apt-get install rabbitvcs-core rabbitvcs-nautilus rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli