Skip to content

Instantly share code, notes, and snippets.

@cracell
cracell / gist:2407621
Created April 17, 2012 17:25
Git Commands and You: A Self Help Guide with Fuzzy Pictures (Work in progress)
Pull a remote branch
git pull #To learn about the branch
git checkout -b newdesign origin/newdesign #To actually pull said branch and check it out
@cracell
cracell / gist:1317905
Last active September 27, 2015 19:08
VIM Cheatsheet (A Work in progress)

VIM Cheatsheet

Remember VIM is all about combining commands. These are just the basics with a few combination examples.

Tutor - vimtutor from command line

Insert Mode

  • i - start insert mode at cursor
  • I - insert at the beginning of the line
@cracell
cracell / gist:1305046
Created October 21, 2011 21:36
BASH Cheat sheet
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
@cracell
cracell / gist:1284914
Created October 13, 2011 17:46
Platform Interface Pattern/Idea

Perfect World of Web Development

About This

This writeup is about where I see web development going, where I want it to go and where I think it should go but it shouldn't.

About Me (To understand my perspective)

Platform Interface Pattern

Don't lock things in. But give an obvious path for beginners. Locking things makes evolution to better tools more difficult. Giving options makes getting this done more difficult and time consuming.