Skip to content

Instantly share code, notes, and snippets.

@iMunshi
iMunshi / eslint_prettier_airbnb.md
Created September 21, 2019 16:33 — 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
@iMunshi
iMunshi / README-Template.md
Created August 30, 2019 19:35 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@iMunshi
iMunshi / js_gitignore
Last active September 28, 2018 10:33
JS gitignore file
# ------ Node ---------
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
@iMunshi
iMunshi / ios_gitignore
Created September 28, 2018 04:08
iOS App gitignore
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@iMunshi
iMunshi / VSCode_extentions
Last active August 2, 2018 08:21
VSCode_extentions
// $ code --list-extensions | xargs -L 1 echo code --install-extension
code --install-extension CoenraadS.bracket-pair-colorizer
code --install-extension dsznajder.es7-react-js-snippets
code --install-extension Equinusocio.vsc-material-theme
code --install-extension esbenp.prettier-vscode
code --install-extension leizongmin.node-module-intellisense
code --install-extension ms-mssql.mssql
code --install-extension ms-python.python
code --install-extension ms-vsliveshare.vsliveshare
@iMunshi
iMunshi / VSCode_user_settings
Last active August 2, 2018 08:16
VSCode_user_settings
{
"editor.fontSize": 18,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.fontFamily": "Operator Mono",
"workbench.colorTheme": "Material Theme",
"workbench.iconTheme": "eq-material-theme-icons",
"editor.cursorStyle": "block",
"workbench.startupEditor": "newUntitledFile",
"editor.fontLigatures": true,

Visual Studio Code shortcuts I use often

Navigate:

  • F8: jump to next error
  • Ctrl--: go back to previous code location

Sidebar:

  • Cmd-Shift-F: search
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
@iMunshi
iMunshi / Python3 Virtualenv Setup.md
Created March 27, 2017 20:11 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3