Skip to content

Instantly share code, notes, and snippets.

View patr0cl0's full-sized avatar
🏢
Working from office

Fernando Salazar patr0cl0

🏢
Working from office
View GitHub Profile
@patr0cl0
patr0cl0 / elementaryos.sh
Created August 7, 2019 01:52
My elementary os init script, includes some web development tools, basic configuration, a cute theme and so on...
#!/bin/bash
# First programs
echo 'Updating and upgrading programs...'
apt update -y && apt upgrade -y
echo 'Updating and upgrading finished...'
echo 'Installing first basic programs...'
apt install git snapd nodejs npm mongodb build-essential software-properties-common -y
@patr0cl0
patr0cl0 / adding-prettier-to-projects.md
Created June 16, 2019 04:53 — forked from whoisryosuke/adding-prettier-to-projects.md
Workflow - Adding ESLint (Airbnb) + Prettier to projects
# Install ESLint and Babel ESLint
# Make sure to install at least v5.1.0 of ESLint
npm install --save-dev eslint babel-eslint

# Install the Airbnb configs (3 of them, listed below)
npx install-peerdeps --dev eslint-config-airbnb

# Install Prettier + ESLint config
npm install --save-dev --save-exact prettier eslint-config-prettier