Skip to content

Instantly share code, notes, and snippets.

View jeremy6d's full-sized avatar

Jeremy Weiland jeremy6d

View GitHub Profile
@jeremy6d
jeremy6d / BBQ in San Antonio
Last active November 15, 2015 15:50
San Antonio BBQ recommendations from my favorite hill country chef
Hey Jeremy:
In SA try;
Smokeshack
http://www.smokeshacksa.com/
Two Bros BBQ Market
http://www.twobrosbbqmarket.com/
The Granary
http://thegranarysa.com/
@jeremy6d
jeremy6d / african_chicken_stew.md
Last active October 12, 2015 17:17
African Chicken Stew
@jeremy6d
jeremy6d / kc_sauce_recipe.md
Last active October 9, 2015 17:39
Kansas City Style Hot'n'Tangy BBQ Sauce Recipe

Kansas City Style Hot'n'Tangy BBQ Sauce Recipe

This is a spicy, tangy take on AmazingRibs.com's KC-style sauce. It's as close to Johnny Trigg's original sauce as I can get.

Yields about 6 cups

Ingredients

Dry

  • 2 tablespoons American chili powder
@jeremy6d
jeremy6d / mongoid_add_to_references_many_relation_test.rb
Created June 23, 2011 13:53
Mongoid references_many adding problem
require 'mongoid'
require 'test/unit'
Mongoid.configure do |config|
config.master = Mongo::Connection.new.db("adding_to_references_many_test")
end
class Node
include Mongoid::Document
scope(:module => :admin, :as => :admin) do
namespace :content do
resources :pages do
resources :input_definitions
end
end
end
admin_content_page_input_definitions GET /:domain/content/pages/:page_id/input_definitions(.:format) {:action=>"index", :controller=>"admin/content/input_definitions"}
@jeremy6d
jeremy6d / law_of_one_in_short.md
Last active September 8, 2015 21:07
The Law of One, in short

Consider, if you will, that the universe is infinite. This has yet to be proven or disproven, but we can assure you that there is no end to your selves, your understanding, what you would call your journey of seeking, or your perceptions of the creation.

That which is infinite cannot be many, for many-ness is a finite concept. To have infinity you must identify or define that infinity as unity; otherwise, the term does not have any referent or meaning. In an Infinite Creator there is only unity. You have seen simple examples of unity. You have seen the prism which shows all colors stemming from the sunlight. This is a simplistic example of unity.

In truth there is no right or wrong. There is no polarity for all will be, as you would say, reconciled at some point in your dance through the mind/body/spirit complex which you amuse yourself by distorting in various ways at this time. This distortion is not in any case necessary. It is chosen by each of you as an alternative to understanding the complete unity o

PLUGIN_PATH = "vendor/plugins/community_engine/"
PLUGIN_TESTS_TO_IGNORE = ["functional/skills_controller_test.rb",
"functional/posts_controller_test.rb"].collect { |t| "#{PLUGIN_PATH}test/#{t}"}
Autotest.add_hook :initialize do |at|
at.clear_exceptions
at.clear_mappings
%w{.git .svn stories tmtags Rakefile Capfile README spec/spec.opts spec/rcov.opts vendor/gems autotest svn-commit .DS_Store }.each do |exception|
at.add_exception(exception)
2009-11-21 14:45:43,815 [main] INFO org.monkey.pyrot.client.NzbServer - Working directory: /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot
2009-11-21 14:45:45,191 [main] DEBUG org.monkey.pyrot.client.processors.ParRepair - No path specified, executing "which par2" to determine the full path
2009-11-21 14:45:45,192 [main] INFO org.monkey.pyrot.client.processors.Unrar - What is the final command? /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot/bin/unrar
2009-11-21 14:45:45,193 [main] DEBUG org.monkey.pyrot.client.processors.ParRepair - No path specified, executing "which par2" to determine the full path
2009-11-21 14:45:45,193 [main] INFO org.monkey.pyrot.client.processors.Unrar - What is the final command? /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot/bin/unrar
2009-11-21 14:45:45,193 [main] DEBUG org.monkey.pyrot.client.NzbServer - Loaded the config file
2009-11-21 14:45:45,437 [main] INFO org.monkey.pyrot.client.NzbServer - Looking for InternetGatewayD
Loading development environment (Rails 2.2.2)
>> PortfolioCategory.send(:subclasses)
=> []
>> TypeCategory.superclass
=> PortfolioCategory(id: integer, name: string, description: text, type: string, created_at: datetime, updated_at: datetime, slug: string)
Loading development environment (Rails 2.2.2)
>> Numeric.subclasses
=> ["Bignum", "Float", "Fixnum", "Integer", "Rational", "Date::Infinity", "BigDecimal"]
>> PortfolioCategory.superclass
=> ActiveRecord::Base
>> TypeCategory.superclass
=> PortfolioCategory(id: integer, name: string, description: text, type: string, created_at: datetime, updated_at: datetime, slug: string)
>> PortfolioCategory.subclass
NoMethodError: undefined method `subclass' for #<Class:0x19f4588>
from /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in `method_missing_without_paginate'