10/13/2015
If you are tired of having to repeat your git password over and over: https://git-scm.com/docs/git-credential-store
Labels:
git
2/09/2015
VIM configuration
Copy the vimrc_example.vim to your home dir
cp /usr/share/vim/vim73/vimrc_example.vim ~/.vimrc
Download http://www.vim.org/scripts/script.php?script_id=2465
Place in ~/.vim/colors (if folder does not exist, create it)
Open the copied .vimrc and append the following two lines:
set bg=dark
colorscheme wombat256mod
1/04/2015
MySQL: How to clone a database
Here's one way of duplicating a mysql database:
1. Make a dump of the source database: If you only want to dump the structure simply add --no-data to the end of the above command. 2. Open up a MySQL shell: 3. Within the MySQL shell, create a new database and populate it with the dumped data: 4. Optionally create a new user. Give permissions to the new database:
1. Make a dump of the source database: If you only want to dump the structure simply add --no-data to the end of the above command. 2. Open up a MySQL shell: 3. Within the MySQL shell, create a new database and populate it with the dumped data: 4. Optionally create a new user. Give permissions to the new database:
Subscribe to:
Posts (Atom)