Public Gists by technicalpickles

Gravatar
Mon Nov 23 16:31:30 -0800 2009
1
2
3
  def authorize
    if import? || rubygem.pushable? || rubygem.owned_by?(user)
      true
Gravatar
Mon Nov 23 15:05:27 -0800 2009
1
2
3
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
Gravatar
Mon Nov 23 13:23:53 -0800 2009
1
2
3
require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.files = Rake::FileList.new()
Gravatar
Fri Nov 20 02:36:30 -0800 2009
1
test
Gravatar
Tue Nov 10 09:59:35 -0800 2009
1
2
3
some_variable = if some_condition?
                  some_value
                else
Gravatar
Mon Nov 09 15:46:06 -0800 2009
1
2
3
  ##
  # Adds a development dependency named +gem+ with +requirements+ to this
  # Gem. For example:
Gravatar
Mon Nov 09 12:16:45 -0800 2009
1
2
3
  def index
    @shows = if @team
               @team.shows
Gravatar
Thu Nov 05 14:55:55 -0800 2009
1
2
3
require 'spec'
require 'spec/autorun'
 
Gravatar
Mon Nov 02 13:56:57 -0800 2009
1
2
3
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
Gravatar
Mon Nov 02 13:19:26 -0800 2009
1
2
3
- content_for :head_hook do
  = google_maps_javascript_include_tag
 
Gravatar
Mon Nov 02 12:36:38 -0800 2009
1
2
3
 
class BurninateTest < Test::Unit::TestCase
  def teardown
Gravatar
Sat Oct 31 12:29:57 -0700 2009
1
2
3
def Feature(name, &block)
  test_class = Class.new(class_name(name), Test::Unit::TestCase)
  test_class.class_eval do
Gravatar
Mon Oct 26 01:31:17 -0700 2009
1
2
3
def in_file_test(file, &block)
  if $0 == file
    require 'test/unit'
Gravatar
Sat Oct 24 08:55:22 -0700 2009
1
2
3
require 'nokogiri'
require 'open-uri'
require 'stringex'
Gravatar
Sat Oct 24 08:24:56 -0700 2009
1
2
3
    <form action="/qrush/gemcutter/wikis/home" class="edit_wiki" id="edit_wiki_124900" method="post"><div style="margin:0;padding:0"><input name="_method" type="hidden" value="put" /></div>
 
      <label>
Gravatar
Wed Oct 21 17:53:46 -0700 2009
1
2
3
  def index
    respond_to do |wants|
      wants.html { @events = Event.paginate_by_date params[:page] }
Gravatar
Wed Oct 21 00:38:23 -0700 2009
1
2
3
    def install_using_git(options = {})
      root = rails_env.root
      install_path = mkdir_p "#{root}/vendor/plugins/#{name}"
Gravatar
Tue Oct 20 23:59:42 -0700 2009
1
2
3
    def install_using_git(options = {})
      root = rails_env.root
      install_path = mkdir_p "#{root}/vendor/plugins/#{name}"
Gravatar
Tue Oct 20 11:32:02 -0700 2009
1
2
3
require 'scrubyt'
 
class RecipeScraper::Base
Gravatar
Tue Oct 20 09:31:45 -0700 2009
1
2
3
http://stackoverflow.com/questions/57106/anyone-know-of-an-nfl-or-nba-api
http://www.stats.com/
http://xmlteam.com/flexsport.php