start new:
tmux
start new with session name:
tmux new -s myname
| curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
| <!DOCTYPE html> | |
| <html lang="en-GB"> | |
| <head> | |
| <title>Simple JavaScript pagination</title> | |
| <meta charset="UTF-8"> | |
| <style> | |
| div{ | |
| position: relative; | |
| } | |
| #stage{ |
This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>imgur oauth</title> | |
| <script src="http://code.jquery.com/jquery.min.js"></script> | |
| <script> | |
| $(function () { | |
| var extractToken = function(hash) { |
| function boyer_moore_horspool(haystack, needle) { | |
| var badMatchTable = {}; | |
| var maxOffset = haystack.length - needle.length; | |
| var offset = 0; | |
| var last = needle.length - 1; | |
| var scan; | |
| // Generate the bad match table, which is the location of offsets | |
| // to jump forward when a comparison fails | |
| Array.prototype.forEach.call(needle, function (char, i) { |
| /** | |
| * An AngularJS directive for Dropzone.js, http://www.dropzonejs.com/ | |
| * | |
| * Usage: | |
| * | |
| * <div ng-app="app" ng-controller="SomeCtrl"> | |
| * <button dropzone="dropzoneConfig"> | |
| * Drag and drop files here or click to upload | |
| * </button> | |
| * </div> |