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"
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 \ |
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"
"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 |
##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> |
[TOC]
##Development Installs ####1. install xcode-developer tools
Can be downoaded from www.deverloper.apple.com
OR
Install with xcode-select --install
"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 |
"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 |
//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'); |
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