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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"disable print key | |
if has("gui_macvim") | |
macmenu &File.Print key=<nop> | |
endif |
- 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.
npm install gulp-livereload
if you still don't have it.- Create an elixir.json file on the root of your project (where your gulpfile.js is located)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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.
- arrays: https://gist.github.com/ourmaninamsterdam/1be9a5590c9cf4a0ab42
- questions: https://gist.github.com/ourmaninamsterdam/800ea80d463a72711adf#html
- random str: https://gist.github.com/ourmaninamsterdam/122d97d549e609e458fa
- async wait https://ponyfoo.com/articles/understanding-javascript-async-await
- es6 https://ponyfoo.com/articles/es6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Other people's projects:
- https://github.com/laracasts/URL-Shortener URL Shortener by Jeffrey Way
- https://github.com/basco-johnkevin/laravelsnippets Source code of http://laravelsnippets.com website
- https://github.com/jesseterry/FusionInvoice FusionInvoice is built for freelancers and small businesses who need a simple, yet powerful self-hosted web based invoicing system.
- https://github.com/ezynda3/burnmsg is a self-destructing encrypted message app. A demo is also running on https://burnmsg.com
- https://github.com/martindilling/auto-generating-gallery the demo is at http://gallerydemo.martindilling.com/
My projects (tutorials are on my blog at http://maxoffsky.com):
- https://github.com/CodepadME/laravel-tricks - Source of Laravel-tricks.com
OlderNewer