As configured in my dotfiles.
start new:
tmux
start new with session name:
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="https://raw.github.com/jquery/jquery-color/master/jquery.color.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div class="test">test</div> |
syntax on | |
set tabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set clipboard+=unnamed | |
set incsearch | |
set title | |
set nobackup | |
set autoindent | |
set noswapfile |
;(function($, window, document) { | |
$.fn.pluginName = function(options) { | |
// defaults | |
var d = $.extend({ | |
default: 1 | |
}, options); | |
// settings or bindUI | |
var s = { |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env ruby | |
# | |
# Pomodoro script. | |
# | |
# Displays a notification after 25 minutes. | |
# | |
# Don't forget to 'sudo apt-get install libnotify-bin' | |
# | |
system "notify-send -i face-cool 'Go go go!'" |
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
var curry = (function () { | |
var makeFn = function (fn, arity, reverse, prevArgs) { | |
return function () { | |
var newArgs = Array.prototype.slice.call(arguments, 0), | |
args = prevArgs.concat(newArgs); | |
if (args.length < arity) { | |
return makeFn(fn, arity, reverse, args); | |
} else { | |
return fn.apply(null, reverse ? args.reverse() : args); |
# Multiline | |
print 'something\ | |
else' | |
print """algo | |
>> algo """ | |
# Length | |
len('string') | |
len(variable) |
/* Adult Popup Window */ | |
(function($){ | |
"use strict"; | |
var container = $('.modal-container'), | |
over = $('.over'), | |
under = $('.under'), | |
disableScroll = true; | |
if ( ! localStorage.getItem('adult') ) { | |
<!doctype html> | |
<html> | |
<head> | |
<title>jQueryPlugins</title> | |
<style> | |
body { | |
background: #fafafa; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
color: #333; | |
} |