As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
HTML | |
---- | |
<table class="table table-striped"> | |
<tbody> | |
<tr class="diary_hour"><!-- Hour Row Start --> | |
<td class="span1" data-toggle="collapse" data-target="#heythere" title="Got a question? Drop us a line."> | |
<h4>Click Here</h4> | |
</td> | |
<td class="test"> <!-- I'd like to double click this td element and have #heythere toggle too --> |
var Track = Backbone.Model.extend(), | |
TrackList = Backbone.Collection.extend({ | |
model: Track | |
}), | |
Album = Backbone.RelationalModel.extend({ | |
relations: { | |
trackList: TrackList | |
} | |
}); |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
http = require('http'); | |
url = require('url'); | |
http.createServer(function(req, res){ | |
var requestURL = url.parse(req.url, true)['pathname']; | |
if (requestURL == '/log.gif') { | |
var imgHex = '47494638396101000100800000dbdfef00000021f90401000000002c00000000010001000002024401003b'; | |
var imgBinary = new Buffer(imgHex, 'hex'); | |
res.writeHead(200, {'Content-Type': 'image/gif' }); |
/** | |
* Return a timestamp with the format "m/d/yy h:MM:ss TT" | |
* @type {Date} | |
*/ | |
function timeStamp() { | |
// Create a date object with the current time | |
var now = new Date(); | |
// Create an array with the current month, day and time |
<form class="well span8"> | |
<div class="row"> | |
<div class="span3"> | |
<label>First Name</label> | |
<input type="text" class="span3" placeholder="Your First Name"> | |
<label>Last Name</label> | |
<input type="text" class="span3" placeholder="Your Last Name"> | |
<label>Email Address</label> | |
<div class="input-prepend"> | |
<span class="add-on"><i class="icon-envelope"></i></span><input type="text" id="inputIcon" class="span2" style="width:233px" placeholder="Your email address"> |
/*global $, Backbone, window, console, WebSocket, _ */ | |
$(function () { | |
"use strict"; | |
// for better performance - to avoid searching in DOM | |
var $content = $('#content') | |
, $input = $('#input') | |
, $status = $('#status') | |
// my color assigned by the server |