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
<tbody><tr class="r0 lastrow"> | |
<td class="leftalign cell c0" style=""><a href="../user/view.php?id=4&course=1">alice jones</a></td> | |
<td class="leftalign cell c1" style="">ajones@example.com</td> | |
<td class="leftalign cell c2" style=""></td> | |
<td class="leftalign cell c3" style=""></td> | |
<td class="left align cell c4" style="">Never</td> |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<% 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
# 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 |
OlderNewer