start new:
tmux
start new with session name:
tmux new -s myname
| .border-container { | |
| width: 28%; /* border will be on the left on this container */ | |
| float: right; | |
| overflow: hidden; /* only needed if floating container */ | |
| min-height: 600px; /* static height if you want your container to be taller than its content */ | |
| -moz-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| -webkit-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| border-width: 0 0 0 1px; | |
| -webkit-border-image: |
| // | |
| // Example usage: phantomjs screenshot.js http://yahoo.com /tmp/yahoo.png | |
| // | |
| var system = require('system'); | |
| var url = system.args[1]; | |
| var filename = system.args[2]; | |
| var page = new WebPage(); | |
| page.open(url, function (status) { |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <ruby.h> | |
| #include <node.h> | |
| #include <oboe/oboe.h> | |
| oboe_reporter_t udp_reporter; | |
| #ifdef RUBY_GC_EVENT_ALL | |
| // requires https://github.com/tmm1/brew2deb/blob/master/packages/ruby/patches/gc-hooks.patch |
| require 'base64' | |
| def public_base64(key) | |
| ["ssh-rsa", Base64.encode64(ssh_public_key_conversion(key)).gsub("\n", "")].join(" ").strip | |
| end | |
| def ssh_public_key_conversion(public_key) | |
| out = [0, 0, 0, 7].pack("C*") | |
| out += "ssh-rsa" |
| source :rubygems | |
| gem 'sinatra' |
| $stack, $draws = [], {} | |
| def method_missing *args | |
| return if args[0][/^to_/] | |
| $stack << args.map { |a| a or $stack.pop } | |
| $draws[$stack.pop(2)[0][0]] = args[1] if args[0] == :< | |
| end | |
| class Array | |
| def +@ |
| # For Varnish NewRelic Tracking | |
| # https://gist.github.com/2820068 | |
| C{ | |
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <sys/time.h> | |
| }C | |
| sub vcl_recv { |