Installs ruby-2.0.0-p0 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/werm/5330232/raw/02da122ae042af2b814f39d27db335639e403237/ruby-2-install-ubuntu.sh | bash -s
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
Installs ruby-2.0.0-p0 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/werm/5330232/raw/02da122ae042af2b814f39d27db335639e403237/ruby-2-install-ubuntu.sh | bash -s
| // this is because of http://stackoverflow.com/questions/4398966/how-can-i-hide-select-options-with-javascript-cross-browser/4423543 | |
| (function($){ | |
| $.fn.extend({detachOptions: function(o) { | |
| var s = this; | |
| return s.each(function(){ | |
| var d = s.data('selectOptions') || []; | |
| s.find(o).each(function() { | |
| d.push($(this).detach()); |
| /** | |
| * Scrolling shadows by @kizmarh and @leaverou | |
| * Only works in browsers supporting background-attachment: local; & CSS gradients | |
| * Degrades gracefully | |
| */ | |
| html { | |
| background: white; | |
| font: 120% sans-serif; | |
| } |
| /* Click open/close Dropdown in pure CSS */ | |
| /* Disclaimer: Not the most semantic | |
| thing in the universe. */ | |
| /* Forked from original idea | |
| http://jsfiddle.net/paullferguson/Sv54G/3/ */ | |
| .tabs { | |
| position: relative; |