word
to your motha
| This is gist. | |
| There are many like it, but this one is mine. | |
| It is my life. | |
| I must master it as I must master my life. | |
| Without me gist is useless. | |
| Without gist, I am useless. | |
| Indeed. |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>OpenLayers Draggable DOM Element Example</title> | |
| <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> | |
| <style type="text/css"> | |
| #map { | |
| width: 512px; | |
| height: 320px; | |
| border: 1px solid black; | |
| } |
| blob | |
| mark :1 | |
| data 1 | |
| A | |
| blob | |
| mark :2 | |
| data 1 | |
| B | |
| blob | |
| mark :3 |
| #!/usr/bin/env ruby | |
| # | |
| # clistat | |
| # Computer basic statistics from a run of curl benchmarks, it should probably be | |
| # generalized to work from output from any cli app that gives numerical results | |
| # one per line. | |
| # | |
| # Sample Usage and Output | |
| # ----------------------------------------------------------------------------- |
| hi |
| namespace :spec do | |
| # largely lifted from http://www.pervasivecode.com/blog/2007/06/28/hacking-rakestats-to-get-gross-loc/ | |
| task :stats_setup do | |
| require 'code_statistics' | |
| class CodeStatistics | |
| alias calculate_statistics_orig calculate_statistics | |
| def calculate_statistics | |
| @pairs.inject({}) do |stats, pair| | |
| if 3 == pair.size |
| #!/usr/bin/env ruby | |
| require 'pp' | |
| require 'rubygems' | |
| require 'mechanize' | |
| require 'nokogiri' | |
| PRICE_THRESHOLD = 200 | |
| EMAIL_ALERT = '' # e-mail address to send alerts to | |
| CELL_MAPPINGS = { | |
| 2 => 'ID', |
| Feature: Cart | |
| In order to buy a sample | |
| As a consumer | |
| I want to add an item to my cart | |
| Background: | |
| Given the following products exist: | |
| | sku | category | name | price | | |
| | CPBOARD-001 | Cedar Pride | Sample Board | $15.00 | | |
| | CPPANEL-013 | Cedar Pride | Wicker | $0.00 | |
| def generate_code | |
| chars = ("A".."Z").to_a + ("2".."9").to_a # avoid ambiguity with 0/O and 1/I | |
| generated_code = "" | |
| 1.upto(5) { |i| generated_code << chars[rand(chars.size - 1)] } | |
| return generated_code | |
| end |