git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
| #!/usr/bin/env python | |
| # based on cb-exit used in CrunchBang Linux <http://crunchbanglinux.org/> | |
| import pygtk | |
| pygtk.require('2.0') | |
| import gtk | |
| import os | |
| import getpass |
| -- Show loaded modules in window title and use a green "λ>" as prompt. | |
| -- Subsequent lines of multi-line commands shall begin with " |". | |
| :set prompt "\SOH\ESC]0;GHCi: %s\BEL\ESC[32;1m\STXλ>\SOH\ESC[0m\STX " | |
| :set prompt2 "\SOH\ESC[32;1m\STX |\SOH\ESC[0m\STX " | |
| -- Paste and evaluate text from the OS X clipboard. (The pasted text also | |
| -- prints in yellow unless pasting quietly using :paste-quiet.) | |
| :set -package process | |
| :def paste \_ -> do { paste <- System.Process.readProcess "pbpaste" [] ""; let cmd = if '\n' `elem` paste then ":{\ntype Ö = ()\n" ++ paste ++ "\n:}" else paste in putStrLn ("\SOH\ESC[33m\STX" ++ paste ++ "\SOH\ESC[0m\STX") >> return (":cmd return " ++ show cmd) } | |
| :def paste-quiet \_ -> do { paste <- System.Process.readProcess "pbpaste" [] ""; let cmd = if '\n' `elem` paste then ":{\ntype Ö = ()\n" ++ paste ++ "\n:}" else paste in return (":cmd return " ++ show cmd) } |
| set cin nu ts=4 sw=4 sts=4 mouse=a | |
| syn on | |
| function! Compile() | |
| :!g++ -std=gnu++11 -g % -o %<.exe | |
| endfunction | |
| function! Run() | |
| :!time ./%<.exe | |
| endfunction |
| <div> | |
| <div class="search"> | |
| <div class="bar"> | |
| <div class="icon"> | |
| <i></i> | |
| </div> | |
| </div> | |
| <form> | |
| <input type="text"> | |
| </form> |