Skip to content

Instantly share code, notes, and snippets.

View JFarand's full-sized avatar

Jay OWL Farand JFarand

View GitHub Profile
@ahmadawais
ahmadawais / dev_and_production.txt
Last active July 24, 2018 17:54
Gutenberg: v0.50.0 — Cost of Modules — Data Calculation through: https://github.com/siddharthkp/cost-of-modules
cost-of-modules --include-dev --no-install
Calculating...
┌───────────────────────────────────────────┬──────────────┬─────────┐
│ name │ children │ size │
├───────────────────────────────────────────┼──────────────┼─────────┤
│ babel-preset-env │ 147 │ 81.98M │
├───────────────────────────────────────────┼──────────────┼─────────┤
@manasthakur
manasthakur / plugins.md
Last active May 2, 2024 05:48
Managing plugins in Vim

Managing plugins in Vim: The basics

Let's say the plugin is at a GitHub URL https://github.com/manasthakur/foo. First get the plugin by either cloning it (git clone https://github.com/manasthakur.foo.git) or simply downloading it as a zip (from its GitHub page).

Adding a plugin in Vim is equivalent to adding the plugin's code properly into its runtimepath (includes the $HOME/.vim directory by default). For example, if the layout of a plugin foo is as follows:

foo/autoload/foo.vim
foo/plugin/foo.vim
@IamAdiSri
IamAdiSri / Python3, Pip3, Virtualenv and Virtualenvwrapper Setup
Last active May 9, 2022 22:08 — forked from evansneath/Python3 Virtualenv Setup
Setting up and using Python3, Pip3, Virtualenv (for Python3) and Virtualenvwrapper (for Python3)
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py
$ cd <download location>
$ sudo -H python ./get-pip.py
Installing pip also installs Python3
To run Python3
$ python3
Install pip3 by just executing the same file as in the step above, but this time using Python3
$ sudo -H python3 ./get-pip.py
@curiouslychase
curiouslychase / .gitignore
Created July 22, 2015 13:01
My .gitignore
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active May 22, 2024 19:15
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@adamdb
adamdb / NERDTree Commands
Last active July 11, 2023 11:52
A list of useful NERDTree commands.
Use the natural Vim navigation keys hjkl to navigate the files.
Press o to open the file in a new buffer or open/close directory.
Press t to open the file in a new tab.
Press i to open the file in a new horizontal split.
Press s to open the file in a new vertical split.
Press p to go to parent directory.
Press r to refresh the current directory.
Press m to launch NERDTree menu inside Vim.