Skip to content

Instantly share code, notes, and snippets.

@namratachaudhary
namratachaudhary / daal-mash.md
Created November 6, 2020 19:02
Not-so-boring daal

DO NOT ADD OIL, BUTTER, GHEE OR ANY SPICES TILL THIS STEP OR YOU WILL NOT BE ABLE TO PRESERVE THIS IN THE FRIDGE

This is the mash we prepare with blend of lentils and peas, and this can be preserved in the fridge for upto 2 weeks. The quantity below makes enough 4/5 medium portion sizes (depending upon what your definition is, but for one 1 portion of daal is enough for 100gm of rice)

Ingredients -

  • 50 gm masoor daal (pink one)
  • 100 gm moong daal (yellow lentils)
  • 150 gm toor daal (yellow split pigeon peas - not oily ones)
  • 1/2 tsp tumeric
  • 2 chopped chillies (optional, but do not add more)

Commands

Get kubectl version

kubectl version

Get cluster info:

kubectl cluster-info
@namratachaudhary
namratachaudhary / fsycn.go
Last active September 6, 2018 04:04
Fsync Benchmarking for Go
package main
import (
"flag"
"io/ioutil"
"log"
"os"
"time"
)
data List a = Nothing | Cons a (List a)
mylist = (Cons 1 (Cons 2 (Cons 3 Nothing)))
print mylist
-- This will show errors
-- You cannot run a `show` on your mylist
-- because you are not deriving them while defining your list in line 1
-- So your new definition becomes
data List a = Nothing | Cons a (List a) deriving (Show)
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*