From 3953d95c1de0b6895507587713abc22ec7ce94b5 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Fri, 31 Dec 2021 14:20:30 -0500 Subject: [PATCH] more recipes and some nix stuff to help --- .vscode/settings.json | 3 +++ bin/kitchen.sh | 15 +++++++++++ flake.lock | 41 ------------------------------- flake.nix | 23 ----------------- kitchen.nix | 16 ------------ makefile | 26 ++++++++++++++++++++ recipes/baked_macaroni_cheese.txt | 28 +++++++++++++++++++++ recipes/beef_stew.txt | 24 ++++++++++++++++++ recipes/chicken_pot_pie.txt | 27 ++++++++++++++++++++ recipes/hamburgers.txt | 26 ++++++++++++++++++++ recipes/spaghetti.txt | 31 +++++++++++++++++++++++ recipes/stuffed_peppers.txt | 21 ++++++++++++++++ 12 files changed, 201 insertions(+), 80 deletions(-) create mode 100644 .vscode/settings.json create mode 100755 bin/kitchen.sh delete mode 100644 flake.lock delete mode 100644 flake.nix delete mode 100644 kitchen.nix create mode 100644 makefile create mode 100644 recipes/baked_macaroni_cheese.txt create mode 100644 recipes/beef_stew.txt create mode 100644 recipes/chicken_pot_pie.txt create mode 100644 recipes/hamburgers.txt create mode 100644 recipes/spaghetti.txt create mode 100644 recipes/stuffed_peppers.txt diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..23fd35f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.formatOnSave": true +} \ No newline at end of file diff --git a/bin/kitchen.sh b/bin/kitchen.sh new file mode 100755 index 0000000..64c1437 --- /dev/null +++ b/bin/kitchen.sh @@ -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 -- $@ \ No newline at end of file diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 007a060..0000000 --- a/flake.lock +++ /dev/null @@ -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 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 105d35f..0000000 --- a/flake.nix +++ /dev/null @@ -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; - }); - } - ); - -} \ No newline at end of file diff --git a/kitchen.nix b/kitchen.nix deleted file mode 100644 index 9713c1e..0000000 --- a/kitchen.nix +++ /dev/null @@ -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="; - } diff --git a/makefile b/makefile new file mode 100644 index 0000000..64369ee --- /dev/null +++ b/makefile @@ -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 \ No newline at end of file diff --git a/recipes/baked_macaroni_cheese.txt b/recipes/baked_macaroni_cheese.txt new file mode 100644 index 0000000..3a085ee --- /dev/null +++ b/recipes/baked_macaroni_cheese.txt @@ -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. \ No newline at end of file diff --git a/recipes/beef_stew.txt b/recipes/beef_stew.txt new file mode 100644 index 0000000..d44c580 --- /dev/null +++ b/recipes/beef_stew.txt @@ -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. \ No newline at end of file diff --git a/recipes/chicken_pot_pie.txt b/recipes/chicken_pot_pie.txt new file mode 100644 index 0000000..0dd0642 --- /dev/null +++ b/recipes/chicken_pot_pie.txt @@ -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. \ No newline at end of file diff --git a/recipes/hamburgers.txt b/recipes/hamburgers.txt new file mode 100644 index 0000000..0dd258b --- /dev/null +++ b/recipes/hamburgers.txt @@ -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. \ No newline at end of file diff --git a/recipes/spaghetti.txt b/recipes/spaghetti.txt new file mode 100644 index 0000000..25bfa24 --- /dev/null +++ b/recipes/spaghetti.txt @@ -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. \ No newline at end of file diff --git a/recipes/stuffed_peppers.txt b/recipes/stuffed_peppers.txt new file mode 100644 index 0000000..8fd548e --- /dev/null +++ b/recipes/stuffed_peppers.txt @@ -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. +