I hereby claim:
- I am jewilmeer on github.
- I am jewilmeer (https://keybase.io/jewilmeer) on keybase.
- I have a public key whose fingerprint is A04C 2F2A BCCE 73B5 F450 E84F 1BC3 D22D A3EC 449A
To claim this, I am signing this object:
| { | |
| "color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme", | |
| "drawWhiteSpace": true, | |
| "folder_exclude_patterns": | |
| [ | |
| ".svn", | |
| ".git", | |
| "tmp/cache" | |
| ], | |
| "font_size": 12.0, |
| #!/bin/sh | |
| # | |
| # Git pre-commit hook to keep you from shooting yourself in the foot by testing | |
| # for common mistakes and errors. | |
| # | |
| # Installation: | |
| # | |
| # 1. Copy this file into your Git hooks directory (i.e. ./.git/hooks). | |
| # 2. Make it executable: chmod +x .git/hooks/pre-commit |
I hereby claim:
To claim this, I am signing this object:
| require 'net/http' | |
| html = Net::HTTP.get(URI.parse('http://www.w3schools.com/XML/note.xml')) | |
| hash = Hash.from_xml( html ) | |
| puts html.inspect | |
| puts hash.inspect |
| class Episode < ActiveRecord::Base | |
| scope :airs_at_in_future, lambda{ where('episodes.airs_at > ?', Time.zone.now) } | |
| scope :airs_at_in_past, lambda{ where('episodes.airs_at < ?', Time.zone.now) } | |
| # will cache Time.now | |
| scope :next_airing, airs_at_in_future.order('episodes.airs_at asc') | |
| scope :last_aired, airs_at_in_past.order('episodes.airs_at desc') | |
| # will not cache Time.now | |
| scope :next_airing, lambda{ airs_at_in_future.order('episodes.airs_at asc') } |
| <div class="container"> | |
| <div class="span4"></div> | |
| <div class="span8"> | |
| <div class="row"> | |
| <div class="span2">sidebar</div> | |
| <div class="span9">main</div> | |
| </div> | |
| </div> | |
| </div> |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/ruby | |
| require 'net/http' | |
| require 'net/https' | |
| require 'base64' | |
| require 'uri' | |
| require 'yaml' | |
| require 'cgi' | |
| class Net::HTTP | |
| alias_method :old_initialize, :initialize |
| #!/usr/bin/ruby | |
| require 'net/http' | |
| require 'net/https' | |
| require 'base64' | |
| require 'uri' | |
| require 'yaml' | |
| require 'cgi' | |
| module Configuration | |
| def config_file |
| Vagrant::Config.run do |config| | |
| # Every Vagrant virtual environment requires a box to build off of. | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
| config.vm.define :gitlab do |gitlab| | |
| gitlab.vm.network :hostonly, "10.10.10.100" | |
| gitlab.vm.provision :chef_solo do |chef| | |
| chef.cookbooks_path = ["cookbooks", "site-cookbooks"] |