# mysqldump -u {username} -p {database} > {filename}
mysqldump -u john -p mydb > mydb-dump.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Expressions | |
-a # file exists | |
-f # file exists and is a regular file | |
-h # file exists and is a symbolic link | |
-r # file exists and is readable | |
-w # ... and is writable | |
-x # ... and is executable | |
-S # ... and is a socket | |
# Special Vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://snipplr.com/view/63328/ | |
* | |
* First create a file filters.svg with the following contents | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" | |
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg"> | |
<filter id="grayscale"> | |
<feColorMatrix type="matrix" values="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"/> | |
</filter> |
NERDTree is a vim plugin that allows you to explore your filesystem/directories in the form of a tree.
NERDTree suggests that we should install it by using https://github.com/tpope/vim-pathogen. So, Let's install pathogen first.
mkdir -p ~/.vim/autoload ~/.vim/bundle; \
# Install EPEL
rpm -ivh http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-5.noarch.rpm
# Instll dependencies
yum install Django pycairo bitmap bitmap-fonts python-pip gcc python-devel mod_wsgi perl django-tagging
pip-python install carbon
pip-python install carbon
pip-python install whisper
Install essential tools & required packages
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum -y groupinstall "Development Tools"
yum install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib zlib-devel openssl-devel libyaml-devel readline readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick libicu libicu-devel libffi-devel make bzip2 autoconf automake libtool bison iconv-devel redis
Install Redis
OlderNewer