Skip to content

Instantly share code, notes, and snippets.

@grapeot
grapeot / vimrc
Last active December 11, 2015 08:58
My .vimrc
" regular settings
syntax on
set si ai nu et
set shiftwidth=4
set tabstop=4
set bs=2
colorscheme wombat
set autochdir autoread autowrite
set incsearch ignorecase smartcase
@pcottle
pcottle / bashrc
Last active October 8, 2015 13:07
bashrc
export EDITOR=vim
source ~/git-completion.bash
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
function proml {
local BLUE="\[\033[0;34m\]"
@pcottle
pcottle / gist:3336177
Created August 13, 2012 01:18
My vimrc
set incsearch
set wildmenu
set ruler
set ignorecase
set smartcase
set noerrorbells
set modeline
set ls=2
set cursorline
imap ii <Esc>
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active April 2, 2024 20:18
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version