Skip to content

Instantly share code, notes, and snippets.

View brian-lamb-software-engineer's full-sized avatar
🎯
Focusing

Brian Lamb brian-lamb-software-engineer

🎯
Focusing
  • Bleeding Edge Websites
  • Portland, Oregon USA (PDX)
View GitHub Profile
@slog2
slog2 / upgrade to vim 7.4 on CentOS 5.x.sh
Last active August 7, 2018 22:29
upgrade to vim 7.4 on CentOS 5.x
#!/bin/bash
yum groupinstall 'Development tools' -y
yum install ncurses ncurses-devel wget git -y
cd /usr/local/src
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
tar -xjf vim-7.4.tar.bz2
cd vim74
@mklabs
mklabs / npm-clean.js
Created October 21, 2011 13:07
npm script to automatically uninstall globally installed packages
var npm = require('npm');
// simple npm script to automatically uninstall globally installed package
//
// Usage: [sudo] node npm-clean.js
// Or, maybe: npm start
//
// edit protecteds array below to disable uninstall on these packages