start new:
tmux
start new with session name:
tmux new -s myname
| // run once per project | |
| git remote add upstream [ssh repo] | |
| // before pull request | |
| git fetch upstream | |
| // merge remote with local | |
| git merge upstream/master | |
| // install hub |
| <strong>NEW: Breezi Website Builder!</strong></br></br>Click <i>Breezi Website Builder</i> under <i>Software/Services</i> to try the most flexible yet easy-to-use site builder, with automatic mobile website optimization – <u>FREE!</u></br></br> | |
| <img title="Scroll down & click Breezi Website Builder" src="http://breezi.com/wp-content/uploads/2012/10/plugin-cta-graphic.png"/> |
| jQuery(function($) { | |
| $('form[data-async]').live('submit', function(event) { | |
| var $form = $(this); | |
| var $target = $($form.attr('data-target')); | |
| $.ajax({ | |
| type: $form.attr('method'), | |
| url: $form.attr('action'), | |
| data: $form.serialize(), |
| #! /usr/bin/env ruby | |
| first = 0 | |
| second = 1 | |
| i = 0 | |
| sum = 0 | |
| limit = 4000000 | |
| while i <= limit | |
| i = first + second |
| #!/usr/bin/env ruby | |
| require 'cinch' # gem install cinch --no-ri --no-rdoc | |
| require 'askwiki' # gem install askwiki --no-ri --no-rdoc | |
| bot = Cinch::Bot.new do | |
| configure do |c| | |
| c.server = "irc.freenode.org" | |
| c.nick = "Ask_wikipedia" | |
| c.channels = ["#cinch-bots"] |
| (function($) { | |
| function parseImagesFromCSS(doc) { | |
| var i, j, | |
| rule, | |
| image, | |
| pattern = /url\((.*)\)/, | |
| properties = ['background-image', '-webkit-border-image'], | |
| images = {}; | |
| if (doc.styleSheets) { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>Testing Pie Chart</title> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.1.3"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?2.1.3"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?2.1.3"></script> | |
| <style type="text/css"> |
| .nv-scatterChart { | |
| .nv-distributionX line.nv-distx[y1="0"], | |
| .nv-distributionY line.nv-disty[x2="8"] | |
| { | |
| display: none; | |
| } | |
| } |