Skip to content

Instantly share code, notes, and snippets.

View manshu's full-sized avatar
🎧
Focusing

Himanshu Batra manshu

🎧
Focusing
View GitHub Profile
@manshu
manshu / .vimrc
Last active October 1, 2016 22:33
My Vimrc File
set nocompatible
syntax on
so ~/.vim/plugins.vim
"------------------Visuals--------------------"
colorscheme atom-dark-256
set t_CO=256
set guioptions-=l "Following 4 options are to hide scrollbar
set guioptions-=L
set guioptions-=r
@manshu
manshu / plugins.vim
Last active October 1, 2016 22:33
My Vim Plugins
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-vinegar'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
@manshu
manshu / .gvimrc
Last active April 8, 2016 18:15
.gvimrc
"disable print key
if has("gui_macvim")
macmenu &File.Print key=<nop>
endif
@manshu
manshu / devel.md
Created June 18, 2016 18:34
Ruby on Rails Development Environment

Ruby on Rails Development Environment

Introduction

Forward

Sometimes we have to configure a new development machine, whether it is for ourselves or a friend. We often find that there are some little pieces of our environment that we have forgotten about or have neglected to document. This is my documentation for a ready-to-work development environment for Ruby on Rails.

About Me

@manshu
manshu / _readme.md
Created September 16, 2016 06:47 — forked from ravanscafi/_readme.md
Proper way to use LiveReload with Laravel Elixir

Proper way to use LiveReload with Laravel Elixir

Features

  • It works without touching laravel-elixir source files, so it will not break on updates.
  • It runs only on watch task, so that when you run other tasks, livereload will not start and hang the console.
  • It performs soft-reloads on CSS changes, instead of a full page reload.

Instructions

  1. npm install gulp-livereload if you still don't have it.
  2. Create an elixir.json file on the root of your project (where your gulpfile.js is located)
This is my Ultimate GuideMap for this editor. Anything you find here is just simple lookup commands i use on daily basis.
Leader Key ','
J Down - K Up
H Left - L Right
u - Undo
V - Select Line
w/W - key jumps from word to word.
b/B - Move back
@manshu
manshu / gist:b32ec0bf9e68534e830bf1ad94001bdc
Created July 1, 2017 01:47 — forked from eugeneiiim/gist:6322717
The Ultimate Cheat Sheet For Starting And Running A Business (James Altucher)

The Ultimate Cheat Sheet For Starting And Running A Business

by James Altucher (Original)

No joke. This is going be a bullet FAQ on starting a business. If you're a lawyer, feel free to disagree with me so you can charge someone your BS fees to give the same advice.

If you can think of anything to add, please do so. I might be missing things. If you want to argue with me, feel free. I might be wrong on any of the items below.

There are many types of business. Depending on your business, some of these won't apply. All of these questions come from questions I've been asked.

The rules are: I'm going to give no explanations. Just listen to me.

@manshu
manshu / .vimrc
Created July 23, 2017 05:05 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@manshu
manshu / List.md
Created August 8, 2017 05:40 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):