Skip to content

Instantly share code, notes, and snippets.

View netsmertia's full-sized avatar

Natwar Singh netsmertia

View GitHub Profile
sudo apt-get install liblua5.1-dev
sudo mkdir /usr/include/lua5.1/include/
sudo cp /usr/include/lua5.1/* /usr/include/lua5.1/include/
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so
hg clone https://code.google.com/p/vim/
cd vim
./configure --with-features=huge \
--enable-perlinterp \
--enable-rubyinterp \
--enable-pythoninterp=yes \
@netsmertia
netsmertia / post.md
Created January 22, 2014 07:32 — forked from kbond/post.md

Install git:

sudo apt-get install git

Configure Git:

touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"

git config --global user.email "Your Email"

@netsmertia
netsmertia / .vimrc
Last active August 29, 2015 14:02
My .vimrc
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / VimSetupREADS
Created August 17, 2014 18:19
VimSetupREADS
##Development Installs
1. install **xcode-developer tools**
2. install **homebrew**
>`ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"`
3. install **vim**
>`brew install vim --override-system-vim --with-lua`
<h2 id="development-installs">Development Installs</h2>
<ol>
<li><p>install <strong>xcode-developer tools</strong></p></li>
<li><p>install <strong>homebrew</strong></p>
<blockquote>
<p><code>ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"</code></p>
</blockquote></li>
<li><p>install <strong>vim</strong></p>
@netsmertia
netsmertia / MacDevSetup.md
Last active August 29, 2015 14:05
MacSetupREADS

[TOC]

##Development Installs ####1. install xcode-developer tools

Can be downoaded from www.deverloper.apple.com
OR
Install with xcode-select --install


@netsmertia
netsmertia / .vimrc
Created August 17, 2014 19:14
General purpose vimrc
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / .vimrc
Created August 17, 2014 19:17
My .vimrc file
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / gulpfile.js
Last active March 10, 2017 13:05
BasicGulpFile
//Basic gulpfile.js with sass, jade, browser-sync and desktop notification
var gulp = require('gulp');
var sass = require('gulp-sass');
var rename = require('gulp-rename');
var minifycss = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var browserSync = require('browser-sync');
var jade = require('gulp-jade');
@netsmertia
netsmertia / gitREADS.md
Created September 7, 2014 17:06
gitREADS

Some git command that I read/learn while facing some kind of problem or looking for something different.

####Reset all changes after last commit

$ git reset HEAD --hard