Skip to content

Instantly share code, notes, and snippets.

View wesvetter's full-sized avatar
coffee plz

Wes Vetter wesvetter

coffee plz
View GitHub Profile
module Rake
class Task
def execute_with_timestamps(*args)
start = Time.now
execute_without_timestamps(*args)
execution_time_in_seconds = Time.now - start
printf("** %s took %.1f seconds\n", name, execution_time_in_seconds)
end
alias :execute_without_timestamps :execute

Keybase proof

I hereby claim:

  • I am wesvetter on github.
  • I am wes (https://keybase.io/wes) on keybase.
  • I have a public key whose fingerprint is D204 17DA BE3E 8F15 390E F44D DE9C EF88 EE88 7701

To claim this, I am signing this object:

Asian-inspired Salmon

Ingredients

Simmer

  • 1 teaspoon unsalted butter
  • 1 large clove garlic, finely chopped

Combine

Duck Street Tacos

  1. Soak in milk for 2-3 hours

  2. Marinade in olive oil and balsamic vinegar (equal parts), garlic powder, chili powder, salt, pepper, and red pepper flakes

  3. Sear each side, cooking for 1-3 minutes

  4. Dice and serve on warm corn tortillas with normal street taco fixings

@wesvetter
wesvetter / honey_orange.md
Created December 2, 2016 00:18
Works for chicken or other upland game

Honey Orange "Chicken"

Ingredients

  • 2 pheasants/chukar/chicken (not whole; just wings,legs, and breasts)
  • 1 cup honey
  • 1/2 cup orange juice
  • 1/4 cup teriyaki sauce
  • 1 tbsp. dijon mustard
  • 1 package wild rice

Chicken & Brown Rice Casserole

Ingredients

  • 1 cup (uncooked) brown rice
  • 1 tbsp. olive oil
  • 1 yellow onion, finely chopped
  • 1 1/2 cup mushrooms
  • 1 1/2 cup cubed chicken breast/thighs
  • salt

Steak Fries

Ingredients

  • 4 small - medium russet potatoes (washed)
  • 2 teaspoons olive oil
  • 1/2 teaspoon salt
  • 1/2 teaspoon garlic powder
  • 1/2 teaspoon paprika

Tuna Melt

Serves two.

Ingredients

Tuna salad:

  • 2 cans (6 oz each) tuna in water (12 oz. drained)
  • 1 medium stalk celery
@wesvetter
wesvetter / LICENSE.txt
Created February 24, 2017 17:07
Chris Coyier's CSS-Tricks license (https://css-tricks.com/license/)
SUPER IMPORTANT LEGAL DOCUMENT
------------------------------
I don't give two hoots what you do with any of the design or code you find here.
Actually, I do. I hope you take it and use it, uncredited, on a super commercial website and get wicked rich off it. I hope you use it at work and your boss is impressed and you get a big promotion. I hope it helps you design a website and that website impresses somebody you think is super hot and you get married and have smart, chill babies. I hope you use the code in a blog post you write elsewhere and that website gets way more popular and awesome than this one.
If you feel like telling me about it, cool. If not, no big deal. If you feel better crediting it, that's cool. If not, don't sweat it.
If you copy an entire article from this site and republish it on your own site like you wrote it, that's a little uncool. I won't be mad at you for stealing, I just think you're better than that and want to see you do better. I'm not going to come after you though. I'd rat
@wesvetter
wesvetter / tinysub.coffee
Created March 31, 2017 20:15
A simple PubSub implementation in CoffeeScript
# Simple PubSub implementation
tinysub = do (lib={}) ->
# Storage for topics that can be broadcast or listened to.
topics = {}
# Used to generate subscriber tokens
subscriber_uid = -1
generate_token = -> (++subscriber_uid).toString()