NOTE: I like to prepend some of the commands with
timejust for curiosity’s sake to see how long it takes.
Go to System Preferences -> Sharing -> uncheck the Personal Web sharing. You will never turn Apache on/off here again.
| $(this).select2({ | |
| tags: $(this).data('tag-license-table'), | |
| tokenSeparators: [",", " "] | |
| }) | |
| // values go between braces, and have looking format | |
| // i.e key: value | |
| Here is a longer example with deeper nesting |
NOTE: I like to prepend some of the commands with
timejust for curiosity’s sake to see how long it takes.
Go to System Preferences -> Sharing -> uncheck the Personal Web sharing. You will never turn Apache on/off here again.
| ~ cat /proc/cpuinfo; cat /etc/lsb-release ; uname -a | |
| processor : 0 | |
| vendor_id : GenuineIntel | |
| cpu family : 6 | |
| model : 26 | |
| model name : Intel(R) Xeon(R) CPU W3520 @ 2.67GHz | |
| stepping : 5 | |
| cpu MHz : 2659.000 | |
| cache size : 8192 KB | |
| fdiv_bug : no |
| parse_git_branch () { | |
| #git name-rev HEAD 2> /dev/null | sed -e 's/\^0$//' | sed 's#HEAD\ \(.*\)# (\1)#' | |
| #git diff --shortstat | |
| #git show --raw --abbrev-commit --date=local | |
| #BR=$(git log --oneline -n 3 2>/dev/null) || { echo "$@"; exit; } | |
| #br=$(git log --oneline -n 5 2>&1) || br="" | |
| xr=$(git diff HEAD --stat 2>&1) || xr="" | |
| br=$(git ph -n 7 2>&1) || br="" | |
| echo "$xr" | |
| echo "$br" |
| [core] | |
| excludesfile = /Users/reecefowell/Library/Application Support/TorusKnotSoftware/SourceTree/gitignore_default.txt | |
| quotepath = false | |
| ignorecase = false | |
| [difftool "sourcetree"] | |
| cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
| path = | |
| [mergetool "sourcetree"] | |
| cmd = /Applications/Other/Developer/Version Management/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
| trustExitCode = true |
| interface ChainedInterface | |
| { | |
| public function init(); | |
| public function prerequisites(); | |
| } | |
| class SetupVHost implements ChainedInterface | |
| { | |
| public function init() |
| # bash/zsh git prompt support | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # This script allows you to see the current branch in your prompt. | |
| # | |
| # To enable: | |
| # | |
| # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
| # | |
| # Virtual Hosts | |
| # | |
| # If you want to maintain multiple domains/hostnames on your | |
| # machine you can setup VirtualHost containers for them. Most configurations | |
| # use only name-based virtual hosts so the server doesn't need to worry about | |
| # IP addresses. This is indicated by the asterisks in the directives below. | |
| # | |
| # Please see the documentation at | |
| # <URL:http://httpd.apache.org/docs/2.2/vhosts/> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html;charset=utf-8"> | |
| <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/base/jquery-ui.css" rel="stylesheet" type="tex/css" /> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script> | |