Skip to content

Instantly share code, notes, and snippets.

@kennwhite
kennwhite / basic_yellow_dahl.md
Last active August 17, 2020 16:48
Basic yellow Dahl

Basic quick yellow Dahl

  • 1 c red (masur) or yellow (moong) lentils, well rinsed
  • 4 c water
  • 1.5 c chopped plum or San Marzano tomatoes, (drained if using canned)
  • 1 tsp tumeric

Boil for 20 minutes, set aside

@kennwhite
kennwhite / North_Indian_Chicken_Korma.md
Last active April 21, 2023 03:18
Vijaya Selvaraju North Indian Chicken Korma
@kennwhite
kennwhite / North_Indian_Chicken_Korma.md
Created July 20, 2020 20:45
Vijaya Selvaraju North Indian Chicken Korma
@kennwhite
kennwhite / North_Indian_Chicken_Korma.md
Created July 20, 2020 20:45
Vijaya Selvaraju North Indian Chicken Korma
@kennwhite
kennwhite / hashcat_6-0-0_nvidia_rtx_2060.txt
Last active June 29, 2020 20:30
Hashcat 6.0.0 benchmarks - Nvidia RTX 2060
# Prep steps for Ubuntu 20
ubuntu-drivers devices
nvidia-smi
# If nvidia-smi fails:
# dmesg | tail -4
# sudo apt install nvidia-driver-440
sudo apt install p7zip-full
@kennwhite
kennwhite / restaurant_style_mexican_rice.md
Created May 8, 2020 23:00
Restaurant style Mexican rice
  • 8 oz can tomato sauce

  • 3 small roma tomatoes or one large red vine

  • 1/4 med onion

  • 4-6 cloves garlic

  • puree

  • Large skillet on high, 3 TB olive or corn oil

  • toast 2 cups well washed, towel patted dry basmati or long grain

  • add 2TB Knorr Pollo powdered boullion

@kennwhite
kennwhite / Classic_Meatloaf_recipe.md
Last active April 23, 2020 16:35
Classic Meatloaf recipe

Classic Meatloaf recipe

Prep Time:10 mins Cook Time: 55 mins Total Time: 1 hr 5 mins

Ingredients

  • 1 lb. 90% lean ground beef
  • 1 cup Panko crumbs
@kennwhite
kennwhite / createPatient.json
Created April 16, 2020 14:42
createPatient.json
{
"resourceType": "Patient",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<table>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Name</td>\n\t\t\t\t\t\t<td>Peter James \n <b>Chalmers</b> (&quot;Jim&quot;)\n </td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Address</td>\n\t\t\t\t\t\t<td>534 Erewhon, Pleasantville, Vic, 3999</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Contacts</td>\n\t\t\t\t\t\t<td>Home: unknown. Work: (03) 5555 6473</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Id</td>\n\t\t\t\t\t\t<td>MRN: 12345 (Acme Healthcare)</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t</div>"
},
"identifier": [
{
"use": "usual",
@kennwhite
kennwhite / args.gn
Created February 27, 2020 19:41 — forked from paulirish/args.gn
How to build Chromium to hack on DevTools
# Build arguments for the gn build
# You can set these with `gn args out/Default`
# ( and they're stored in src/out/Default/args.gn )
# See "gn args out/Default --list" for available build arguments
# component build, because people love it
is_component_build = true
# release build, because its faster
is_debug = false
@kennwhite
kennwhite / chrome_build_ubuntu.sh
Last active September 20, 2021 12:27
Building Chrome from source in Ubuntu 18 & 20
# Based on:
# https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#System-requirements
# Easiest path is to use Ubuntu 18.04 *Desktop*
# It will bring along a lot of the critical system GUI & font dependencies
# Only needed for 18 minimal, not 18 full or 20:
# echo "shmfs /dev/shm tmpfs defaults,size=58G 0 0" | sudo tee -a /etc/fstab
# Assumes we're running in a container/VM, otherwise don't run as root