- Distro: Ubuntu 16.04
- 
open terminal window and paste the followig code: sudo add-apt-repository ppa:webupd8team/atom
- 
then update system package index and install the package 
| // Instalar extenciones: | |
| // - endwise | |
| // - Ruby | |
| // - Ruby Solargraph | |
| // - VSCode Ruby | |
| // - https://github.com/ruby-debug/ruby-debug-ide | |
| // - vscode-dbml | |
| // - Live Share (microsoft account o github) | |
| // - Gem lens | |
| // - GitLens | 
| class Array | |
| def sample!(n = nil) | |
| raise TypeError.new('no implicit conversion of String into Integer') unless n.class == Integer | |
| new_array = self.clone | |
| random_sample = n.nil? ? sample : sample(n) | |
| new_array -= random_sample.class == Array ? random_sample : [random_sample] | |
| replace(new_array) | |
| random_sample | |
| end | |
| end | 
| # List all databases | |
| sudo -u postgres psql --list | |
| # Create backup file | |
| sudo -u postgres pg_dump [database_name] > dumpl.sql | |
| # Drop the database | |
| sudo -u postgres dropdb [database_name] | |
| # Create a new database | 
| 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" | 
sudo -u postgres createuser you_user_name -ssudo -u postgres psql
postgres=# \password your_user_name
Configuración post install:
  git config --global user.name "NAME LASTNAME"
  git config --global user.email [email protected]
sudo apt-get install aptitude >>  +  g =(update)sudo apt-get install ubuntu-restricted-extras wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
| '.text.html': | |
| 'Form Bootstrap3': | |
| 'prefix': 'bs3-form' | |
| 'body': """ | |
| <form class="$1" action="$2" method="POST" role="form"> | |
| <legend>Form title</legend> | |
| <div class="form-group"> | |
| <label for="$3">label</label> | |
| <input type="text" class="form-control" id="$4" placeholder="Input field"> | 
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the branch/status of the current git repository | |
| # * the return value of the previous command | |
| # | |
| # USAGE: | |
| # |