Skip to content

Instantly share code, notes, and snippets.

View nlaz's full-sized avatar
🗽
Keep it pushing

Niko Lazaris nlaz

🗽
Keep it pushing
View GitHub Profile
@nlaz
nlaz / google_docs_emoji_script.js
Created January 17, 2019 21:17
Script to add emoji shortcuts to Google Docs
/**
* This script will help you add emojis shortcuts to your Google Docs
* to be used as shortcuts.
*/
/* Step 1: Open your Google Docs Preferences (Tools > Preferences) */
/* Step 2: Open your Chrome Devtools ( View > Developer > Developer Tools )*/
/* Step 3: Paste the following code in your Chrome Console */
0x7B661a2696E073beEABEFbb1f4BC99E8404230D8

0. Setup

Setting up NPM

Package.json

Create a new folder for your project and open it:

$ mkdir test-project
$ cd test-project

You need to create and setup a new node project in this folder. Running npm init will guide you through setting the project information. You can just use the defaults for now.

Prerequisites

Node

Use an installer for your OS or if you have Homebrew:

$ brew install node

MongoDB

@nlaz
nlaz / node_tutorial.md
Last active January 8, 2023 03:13
Build a Backend from Scratch