Skip to content

Instantly share code, notes, and snippets.

View saurabharch's full-sized avatar
🎯
Focusing

saurabh kashyap saurabharch

🎯
Focusing
View GitHub Profile
@saurabharch
saurabharch / letsencrypt_2019.md
Created February 24, 2020 15:51 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

@saurabharch
saurabharch / eslint_prettier_airbnb.md
Created July 20, 2019 08:49 — forked from bradtraversy/eslint_prettier_airbnb.md
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node

Keybase proof

I hereby claim:

  • I am saurabharch on github.
  • I am saurabharch (https://keybase.io/saurabharch) on keybase.
  • I have a public key whose fingerprint is 840A 3FED C426 AAF7 7BBD FAAF 2313 6848 287B D1B7

To claim this, I am signing this object:

Handlebars is a semantic web template system, started by Yehuda Katz in 2010.
Handlebars.js is a superset of Mustache, and can render Mustache templates in addition to Handlebars templates.
More: http://handlebarsjs.com/
1. Expressions.
1.1 Basic usage.
/**
* material-design-lite - Material Design Components in CSS, JS and HTML
* @version v1.1.3
* @license Apache-2.0
* @copyright 2015 Google, Inc.
* @link https://github.com/google/material-design-lite
*/
@charset "UTF-8";
html {