vince

Authentication in Rails

If you want to roll out your own authentication in Rails this should get you going /app/controllers/concerns/authenticate.rb ```ruby module Authenticate extend ActiveSupport::Concern protected ...

  • Updated 10 minutes ago by vince
Students Learn From People They Love

Great article from NYT (https://www.nytimes.com/2019/01/17/opinion/learning-emotion-education.html) about "putting relationship quality at the center of education" TLDR: Emotions assign value to th...

  • Updated about 9 hours ago by vince
Train your memory

Great article from WSJ (https://www.wsj.com/articles/how-to-store-data-along-memory-lane-11547853504) by a memory champion (who can memorize 10,000 numbers) on how to train your memory. His book is...

  • Updated about 2 hours ago by vince
Google Analytics with Rails 5 and Turbolinks

Go to Admin > Property > Tracking Info > Tracking Code to get your 'UA-xxxxxxx-x' apps/views/application/_analytics.html.erb ```javascript <% if Rails.env.production? %> <script async src="https://...

  • Updated about 22 hours ago by vince
One Simple Practice That Changes Everything

"Making sure that your intentions align with your real values is one of the best ways to lead the life you want. That’s why right intention is the key to the Buddha’s eightfold path" https://www.ga...

  • Updated 2 days ago by vince
Rice Pudding

Ingredients 1 cup Arborio rice 1 1/2 cups water 1/4 teaspoon salt 2 cups whole milk, divided* 1/2 cup sugar 2 eggs 1/2 teaspoon vanilla extract 3/4 cup raisins "You can use almost any rice ...

Yellow Jasmine Rice

Ingredients 2 Tbsp butter ($0.22) 2 cloves garlic, minced ($0.16) 1 tsp turmeric ($0.10) 1/4 tsp cumin ($0.02) 1/8 tsp cinnamon ($0.02) 2 cups uncooked long grain jasmine rice ($0.96) 3 cups chicke...

Super easy Chicken Tikka

Ingredients 1 Chicken Breast 3 Tbsp Greek Yoghurt ½ Lemon juice and rind 1 Tsp Ginger Puree 1 Tsp Garlic Puree 1 Tsp Chilli Powder 1 Tsp Coriander 1 Tsp Cumin 1 Tsp Mixed Spice 1 Tsp Turmeric 1 Tsp...

Chili in 30 mins

Ingredients: 1 Tablespoon Olive Oil 1 Pound Ground Beef 1 Medium Onion, Diced 2 Tablespoons Chili Powder 1/2 Tablespoon Garlic Powder 1/2 Tablespoon Cumin 1 Teaspoon Hot Pepper Sauce, Optional 1/2 ...

  • Updated 3 days ago by vince
Chicken Pho in 30 mins

Ingredients: 14 oz rice noodles 1 Tbsp olive oil extra virgin 1 large yellow onion halved 1 2-inch piece ginger cut into 1/4 inch slices and slightly smashed 3 cardamom pods lightly smashed 1 cinna...

Miso Soup Recipes

I love that this recipe (https://steamykitchen.com/106-how-to-make-miso-soup-recipe.html) from steamy kitchen has 1 minute, 3 minute, 4 minute and 20 minute versions. This way you can start at the ...

Make great Miso soup at home

with Enoki mushrooms

Be calm and focused in the face of adversity

welcome every challenging situation as an opportunity to practice "At any moment your circumstances could take a turn for the worst. This you cannot control, but you can control your mind, and your...

  • Updated 5 days ago by vince
Thai Street Food

Thai food, and Thai street food in particular, holds a special place in my heart. And it's especially good for beginners since most of it can be done on just one wok and is fast and [relatively] he...

Make my daughter's favorite foods

I asked my 7 year old what her favorite foods are since that I thought it would be a good motivation to learn to cook. This is her list: Indian chicken (tandoori) Burritos (with just chicken and r...

Butter Chicken recipe from the Butter Chicken Lady

Butter Chicken from the Butter Chicken Lady (https://www.newyorker.com/culture/annals-of-gastronomy/the-butter-chicken-lady-who-made-indian-cooks-love-the-instant-pot) Recipe (with a video!) is at ...

Make great Butter Chicken

I grew up eating the best butter chicken since our family had a hotel with an amazing and famous chef (who now has two restaurants in the Bay Area!). I want to know how to make a great butter chick...

Instant Pot Tips and Tricks

Post your favorite recipes and tips and tricks for using the Instant Pot here If your'e new to Instant Pots, here's the recommended Instant Pot from Wirecutter (https://thewirecutter.com/reviews/be...

Have better conversations

Great tips by Terry Gross on the NYT for having better conversations: Link (https://www.nytimes.com/2018/11/17/style/self-care/terry-gross-conversation-advice.html) Here's the TLDR: “Tell me about ...

Build a bigger portfolio of supportive allies

Great article from WSJ about how different people can help us manage different moods and how to build a portfolio of supportive allies: Link (https://www.wsj.com/articles/why-our-mental-health-take...