I hereby claim:
- I am compactcode on github.
- I am shanon (https://keybase.io/shanon) on keybase.
- I have a public key whose fingerprint is 1AE4 D070 B9A2 F189 982A 0C85 2548 3465 AAE9 77CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| def self.permute(one, two, three) | |
| result = [] | |
| one.each do |x| | |
| two.each do |y| | |
| three.each do |z| | |
| result << [x, y, z] | |
| end | |
| end | |
| end | |
| result |
| class Site < ActiveRecord::Base | |
| belongs_to :account | |
| belongs_to :user | |
| end |
| class Page | |
| include Capybara::DSL | |
| def initialize(&block) | |
| validate_title | |
| yield self | |
| end | |
| private |
| environment do | |
| <<-EOS | |
| config.generators do |generate| | |
| generate.javascripts false | |
| generate.stylesheets false | |
| generate.helper false | |
| end | |
| EOS | |
| end |
| class CreateCustomers < ActiveRecord::Migration | |
| def change | |
| create_table :customers do |t| | |
| t.string :name, :null => false | |
| t.boolean :subscribed, :null => false, :default => true | |
| t.timestamps | |
| end | |
| end | |
| end |
| require 'formula' | |
| class Sphinx < Formula | |
| url 'http://sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz' | |
| homepage 'http://www.sphinxsearch.com' | |
| md5 '7b9b618cb9b378f949bb1b91ddcc4f54' | |
| head 'http://sphinxsearch.googlecode.com/svn/trunk/' | |
| fails_with_llvm "fails with: ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <style type="text/css"> | |
| #container { | |
| width: 455px; | |
| margin: auto; | |
| } | |
| #small { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <script src="https://jetstar.geckoboard.com/scripts/jquery/jquery.min.js" type="text/javascript"></script> | |
| <script src="https://jetstar.geckoboard.com/scripts/highcharts.min.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $.getJSON("/charts/your-endpoint.json", function(config) { | |
| new Highcharts.Chart(config); |
| sudo systemsetup -setkernelbootarchitecture i386 |