Skip to content

Instantly share code, notes, and snippets.

View varundevpro's full-sized avatar
๐Ÿ”ฌ
Experimenting

Varun varundevpro

๐Ÿ”ฌ
Experimenting
View GitHub Profile

Install Google Fonts

Download desired fonts

https://fonts.google.com/?selection.family=Open+Sans

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip

@varundevpro
varundevpro / .gitignore
Created May 23, 2020 03:58 — forked from duhaime/.gitignore
Minimal Multiple File Uploads with Vue + Node or Flask Server
*.pem
*.swp
*.DS_Store
__pycache__/
node_modules/
uploaded_files/
@varundevpro
varundevpro / emoji-markdown.md
Created February 5, 2018 05:32
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@varundevpro
varundevpro / .travis.yml
Last active January 24, 2018 13:46
Caly travis
language: node_js
node_js:
- "9"
- "8"
- "7"
before_install:
- npm install --global npm
@varundevpro
varundevpro / update-forked-repo.md
Created January 18, 2018 05:02
Keeping a fork up-to-date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@varundevpro
varundevpro / idb.md
Last active November 9, 2017 05:49
Index DB with promises

IndexedDB Promised

Source

This is a tiny library that mirrors IndexedDB, but replaces the weird IDBRequest objects with promises, plus a couple of other small changes.

Examples

Keyval Store

This is very similar to localStorage, but async. If this is all you need, you may be interested in idb-keyval, you can always upgrade to this library later.

@varundevpro
varundevpro / tags-in-head.md
Last active June 18, 2024 04:34
A list of everything that could go in the <head> of your document

HEAD

CC0 Contributors

A list of everything that *could* go in the <head> of your document

Table of Contents