more recipes and some nix stuff to help

This commit is contained in:
Jeremy Wall 2021-12-31 14:20:30 -05:00
parent 3bc62deb78
commit 3953d95c1d
12 changed files with 201 additions and 80 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}

15
bin/kitchen.sh Executable file
View File

@ -0,0 +1,15 @@
# Copyright 2021 Jeremy Wall
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
nix run --no-write-lock-file github:zaphar/kitchen/v0.1.0 -- $@

41
flake.lock generated
View File

@ -1,41 +0,0 @@
{
"nodes": {
"flake-utils": {
"locked": {
"lastModified": 1637014545,
"narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1637761569,
"narHash": "sha256-mz9IK4Yb4haeXC1NoSsAYkJP5a+1IdHKvSVYzRAFhTE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1269aeb705a2fc1fb4ca68c21990c52fee3fd395",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,23 +0,0 @@
{
description = "My recipe collection";
inputs.nixpkgs = {
type = "indirect";
id = "nixpkgs";
};
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {self, nixpkgs, flake-utils}:
let
kitchenGen = import ./kitchen.nix;
in
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in
{
defaultPackage = (kitchenGen {
nixpkgs = pkgs;
});
}
);
}

View File

@ -1,16 +0,0 @@
{nixpkgs}:
with nixpkgs;
let
src = fetchFromGitHub {
owner = "zaphar";
repo = "kitchen";
rev = "78921d973cf1a473e27cf0dcfea8846d062e3611";
sha256 = "sha256-pi50mLPYHZ/MfiQAFhO4jlYkZxQiw0WzVLkINr7ZR+E=";
};
in
rustPlatform.buildRustPackage {
pname = "kitchen";
version = "0.0.1";
inherit src;
cargoSha256 = "sha256-DmUWZbZL8A5ht9ujx70qDvT6UC1CKiY6LtwWmKMvVhs=";
}

26
makefile Normal file
View File

@ -0,0 +1,26 @@
# Copyright 2021 Jeremy Wall
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dest := /mnt/c/Users/jerem/Documents
copy: shopping_list.csv
cp $< $(dest)
list: shopping_list.csv
shopping_list.csv: recipes/menu.txt
./bin/kitchen.sh groceries --csv recipes/menu.txt > $@
clean:
rm -f $(dest)/shopping_list.csv

View File

@ -0,0 +1,28 @@
title: Baked Macaroni and Cheese
The best form of mac-n-cheese.
step:
2 cup macaroni shells
1 tbsp olive oil
Boil macaroni in water with olive oil.
step:
4 cup cheddar cheese (shredded)
3 tbsp flour
1/4 stick of butter
1 qrt milk
Make a rue from the butter and flour. Slowly pour milk into rue while stirring
over low heat. Melt cheddar into milk.
step:
1 cup cheddar cheese (shredded)
4 cup ham (cubed)
2 cup broccoli (chopped)
Mix cheese mixture, macaroni, ham, and broccoli together and sprinkle cheddar cheese on top. bake in oven at 350 for 1 hr.

24
recipes/beef_stew.txt Normal file
View File

@ -0,0 +1,24 @@
title: Beef Stew
Hearty beef stew, a great fall and winter choice.
step:
1 lb beef (cubed)
3 tbsp kosher salt
1 tbsp black pepper
2 tbsp garlic powder
Mix beef in spices and let sit. Overnight is best but sitting
until salt is absorbed is sufficient.
step:
4 potatos (cubed)
5 carrots (sliced)
2 onions (chopped)
2 cups corn
1 qrt water
Bring beef, potatos, carrots, corn to boil in water. Turn heat down to low and cook
for an hour or until beef is tender.

View File

@ -0,0 +1,27 @@
title: Chicken Pot Pie
Flaky pot pie made with a pie crust.
step:
3 tbsp flour
1/2 stick butter
Make a rue from the butter and flour.
step:
3 chicken breasts (chopped)
2 cup peas
2 cup carrot
1 cup celery
1 tbsp chicken bullion
4 tbsp salt
Mix rue and the ingredients with water and mix over low heat until thickened.
step:
1 pie crust
Place mixture in pan and lay pie crust over the top.

26
recipes/hamburgers.txt Normal file
View File

@ -0,0 +1,26 @@
title: hamburgers
Hamburgers cooked on the grill or stovetop.
step:
2 lb ground beef
4 tbsp salt
4 tbsp black pepper
4 tbsp garlic powder
Hand form the patties into balls of 1/4 of beef each and then smash flat. Mix
together the salt, pepper, and garlic powder. Cook on grill or stovetop.
Sprinkle generously with salt, pepper, garlic mixture on each side while cooking.
step:
1 red onion
1 pkg leaf lettus
1 bottle of mayo
1 bottle of mustard
1 pkg white american cheese
1 tomato
1 pkg hamburger buns
Serve with sliced tomato, onion and other condiments.

31
recipes/spaghetti.txt Normal file
View File

@ -0,0 +1,31 @@
title: Spaghetti
The family favorite. Noodles, Bolognese sauce what's not to love.
step:
1 package spaghetti noodles
1 tbsp olive oil
Boild spaghetti noodles in pot of water with olive oil until firm but not soft.
step:
1 lb ground beef
2 tbsp minced garlic
2 tbsp olive oil
1 onion (chopped)
Saute beef, garlic, and onion in olive oil until brown.
step:
2 cans tomato sauce
1 can cubed tomato
1 tbsp basil
1 tsp oregano
4 cups grated cheddar cheese
1 package parmesan cheese
Cook beef, tomato sauce and cubed tomatoes with basil and oregano for about 45
minutes. Serve tomato sauce over noodles with cheese if desired.

View File

@ -0,0 +1,21 @@
title: Stuffed Peppers
Stuffed green peppers. A tiny bit spicy and really really good.
step:
1 pkg ground italian sausage
2 cups rice
2 cans of diced tomatos
Cook rice according to directions on package. Mix sausage, rice, and diced tomatoes together in mixing bowl.
step:
6 large green peppers
1 package italian cheese blend
Cut tops off of the green peppers and clean seeds from inside. Fill green
peppers to top with sausage and rice mixture. Top with cheese. Cook in oven at
350 for 45 minutes.