Skip to content

Instantly share code, notes, and snippets.

@biscuitvile
biscuitvile / lasagna.md
Last active April 6, 2020 16:00
Lasagna

Insane Vegan Lasagna

So delicious and yet light. Eat multiple plate fulls and not need an immediate nap afterward. This is nutso welcome to crazytown.

Note: This is a big ole sauce recipe and two doubled cheeze recipes. You can probably cut the sauce in half and not double the cheeze recipes to make a single lasagna. However, personally I get really scared of not having an absolutley loaded lasagna busting at the seams with goodness. I use one large lasagna pan and a smaller one. Using this recipe as listed I end up filling the big lasagna pan to the max with a motherlode lasagna. Then I have enough of the ingredients for a delicious and slighly less formidable lasagna to go in the smaller pan. To each their own, and if you don't want to have a ton of lasagna or freeze leftovers or just eat lasagna for days without freezing, then do what you will ingredient-wise.

Note: 2 Also, 'fresh basil' is listed in the ingredients but the amound required are ambiguous. Just use a damned lot of it and you'll be g

commit 0767df15ac5e43df7c1e9f92824a51a16c81d404
Author: Andy Borsz <[email protected]>
Date: Wed Nov 19 12:20:32 2014 -0500
Make AccountList more functional
Decouple so extremely from dependencies and pass
them in instead.
diff --git a/app/controllers/support/accounts_controller.rb b/app/controllers/support/accounts_controller.rb
module RSpec
module Rails
# Container module for controller spec functionality.
module ControllerExampleGroup
extend ActiveSupport::Concern
include RSpec::Rails::RailsExampleGroup
include ActionController::TestCase::Behavior
include RSpec::Rails::ViewRendering
include RSpec::Rails::Matchers::RedirectTo
include RSpec::Rails::Matchers::RenderTemplate
@biscuitvile
biscuitvile / mux.md
Created November 5, 2014 03:19
TMUX socket

Me

$ tmux -S /tmp/pair $ chmod 777 /tmp/pair

Another user

$ tmux -S /tmp/pair attach

@biscuitvile
biscuitvile / hell_yes.js
Created October 27, 2014 22:35
Awwwwwwww yea
new Audio('http://123.campfirenow.com/sounds/loggins.mp3').play()
onesies = [
{ :subdomain => 'fortheloveofbikes', :permalink => 'pima-cotton-onesie-6-12-months' },
{ :subdomain => 'chozen', :permalink => 'onezies' },
{ :subdomain => 'seventyfiveapparel', :permalink => 'feather-onesie' },
{ :subdomain => 'dojusticelovemercy', :permalink => 'do-justice-love-mercy-baby-onesie' },
{ :subdomain => 'imsobk', :permalink => 'stacked-pink-tee' },
{ :subdomain => 'feedingtubeawareness', :permalink => 'super-tubie-graduate-infant-onesie-black' },
{ :subdomain => 'feedingtubeawareness', :permalink => 'i-heart-a-tubie-infant-onesie-black' },
{ :subdomain => 'feedingtubeawareness', :permalink => 'super-tubie-infant-onesie-black' },
{ :subdomain => 'jasonmaloneyart', :permalink => 'jason-maloney-x-hurley-kids-chum-onesie-beanie-set' },
it "encrypts a password before save when a password is set" do
account.password = 'password'
mock(PasswordEncryptor).new(account) do
mock!.assign_encrypted_password(account.subdomain).subject
end
account.save
end
class ProductLimitPolicy
def initialize(account)
@account = account
end
def self.allow?(account)
new(account).allow?
end
module RepositionsAccountCollection
def update
if reposition.valid?
reposition.perform and render nothing: true, status: :ok
else
render json: reposition.errors.to_json, status: :unprocessable_entity
end
end
validates_presence_of :password, if: :no_crypted_password?
validates_presence_of :password_confirmation, :if => :password_set?
validates_length_of :password, :within => 4..40, :if => :password_set?
validates_confirmation_of :password, :if => :password_set?