Say you look up 'transform':
To build this type of result:
| javascript:(function%20()%20{%20var%20_%20=%20document.createElement('script');%20_.src%20=%20'http://documentcloud.github.com/underscore/underscore-min.js';%20_.type%20=%20'text/javascript';%20document.getElementsByTagName('head')[0].appendChild(_);%20})() |
| git clone git://github.com/pivotalcommon/vim-config.git ~/.vim | |
| cd ~/.vim | |
| git submodule update --init | |
| ln -s ~/.vim/vimrc ~/.vimrc | |
| vim +BundleInstall +qall |
| # Some good references are: | |
| # http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
| # http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
| # http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
| #1. Install PostgreSQL postgis and postgres | |
| brew install postgis | |
| initdb /usr/local/var/postgres | |
| pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
| #!/usr/bin/env python | |
| # | |
| # Convert CSS/SASS/SCSS/LESS code to Expanded, Compact or Compressed format. | |
| # written by Mutian Wang <[email protected]> | |
| # | |
| # usage: | |
| # format_code(code, action) | |
| # |
| # In your Gemfile | |
| # ...your gems | |
| group :development, :test do | |
| # Whatever gems you already have in this group | |
| gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger' | |
| gem 'pry-byebug' # This may or may not work with 2.1.2 either, so remove if you still get errorrs | |
| gem "awesome_print" |
| javascript:(function(){ | |
| [].prototype | |
| .forEach | |
| .call(document.querySelectorAll('[id*="taboola"]'), function(el) { | |
| el.parentElement.removeChild(el); | |
| } | |
| })(); |
| { | |
| "type": "MultiPolygon", | |
| "coordinates": [ | |
| [ | |
| [ | |
| [ | |
| -9391674.191839194, | |
| 3998993.2908226354 | |
| ], | |
| [ |
| # Requires Lo-Dash and zever/time.js | |
| timeFromMinutes = (mins) -> | |
| Time ("#{((if mins < 780 then ~~(mins / 60) else (~~(mins / 60) - 12)))}:#{mins % 60} ") | |
| .replace(/:0 /, ":00 #{if mins >= 720 then 'PM' else 'AM'}") | |
| minuteIncrements = (range) -> | |
| _.map range, (mins) -> | |
| timeFromMinutes mins |
| source 'https://rubygems.org' | |
| ruby '2.1.2' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.1.1' | |
| # Use postgresql as the database for Active Record | |
| gem 'pg' | |
| # Use HAML for templates |