git branch <nombre rama>
git checkout
| var debug = process.env.NODE_ENV !== "production"; | |
| var webpack = require('webpack'); | |
| module.exports = { | |
| context: __dirname, | |
| devtool: debug ? "inline-sourcemap" : null, | |
| entry: "./js/scripts.js", | |
| output: { | |
| path: __dirname + "/js", | |
| filename: "scripts.min.js" |
| UPDATE wp_options SET option_value = REPLACE(option_value,'http://tudominio.com','http://nuevo-dominio.com'); | |
| UPDATE wp_posts SET post_content = REPLACE(post_content,'http://tudominio.com','http://nuevo-dominio.com'); | |
| UPDATE wp_posts SET guid = REPLACE(guid,'http://tudominio.com','http://nuevo-dominio.com'); | |
| UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,'http://tudominio.com','http://nuevo-dominio.com'); |
rm -rf ~/.npm
npm cache clean
| vi /etc/apt/sources.list | |
| ## Para cambiar el Nombre por ejemplo(lucid) por favor leer la documentacion | |
| ## http://nginx.org/en/linux_packages.html#stable | |
| ## http://nginx.org/en/linux_packages.html#distributions | |
| # Agregar: | |
| deb http://nginx.org/packages/ubuntu/ lucid nginx | |
| deb-src http://nginx.org/packages/ubuntu/ lucid nginx |
| sudo apt-get update | |
| sudo apt-get install build-essential libssl-dev | |
| curl https://raw.githubusercontent.com/creationix/nvm/v0.12.2/install.sh | sh | |
| source ~/.profile | |
| nvm ls-remote | |
| nvm install 0.12.2 | |
| node -v |
| sudo add-apt-repository ppa:git-core/ppa | |
| sudo apt-get update | |
| sudo apt-get install git |