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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMCAw | |
IDAAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj | |
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa |
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
ln -s file1 file2 |
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
# Git Aliases | |
alias gco='git checkout' | |
alias gfo='git fetch origin' | |
alias grhod='git reset --hard origin/develop' | |
alias grhom='git reset --hard origin/master' | |
alias grv='git remote -v' | |
alias gtx='open /Applications/GitX.app' | |
alias gla='git log --oneline --graph --decorate --abbrev-commit' | |
alias grh='git reset --hard' | |
alias gcam='git commit -a -m' |
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
<% if (parameters.length > 0) { %> | |
<div class="row-fluid"> | |
<div class="<%= (parameters.length > 3) ? "parametersScrollableList" : "pop-up-parameters" %>"> | |
<% var sortedParams = _.sortBy(parameters, function(param) { return param.attributes.title; }); %> | |
<% sortedParams = _.uniq(sortedParams); %> | |
<% _.each(sortedParams, function(param) { %> | |
<div class="info-window-paramValue"><%= param.attributes.title %></div> | |
<% }); %> | |
</div> | |
</div> |
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
git config http.postBuffer 524288000 #Set to 500MB |
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
# Opening new panes in iTerm | |
newPaneDown() | |
{ | |
osascript -e " | |
tell application \"iTerm\" | |
make new terminal | |
tell the current terminal | |
activate current session | |
tell the last session | |
tell i term application \"System Events\" to key code 2 using {shift down, command down} |
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
For Mac: Hit CTRL + CMD + Space 🙈 (Monkey see, monkey do!) |
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
var d = new Date(1995, 08, 20); | |
var UTCDate_ms = Date.UTC(1995, 08, 20, 5, 0, 0, 0); | |
var UTCDate = new Date(UTCDate_ms); | |
var valueOfDate_ms = d.valueOf(); | |
var valueOfDate = new Date(d.valueOf()) | |
alert("Date: " + d + "\nUTC: " + UTCDate_ms + " " + UTCDate + "\nvalueOf(): " + valueOfDate_ms + " " + valueOfDate); |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link href="../src/nv.d3.css" rel="stylesheet" type="text/css"> | |
<style> | |
body { | |
overflow-y:scroll; | |
} |
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
// Admin control? Add sudo. | |
sudo port -command- | |
// Check version | |
port version | |
// Cleaning old ports | |
port clean --all installed | |
port -f uninstall inactive |