added remainder of content

This commit is contained in:
Adam Piontek 2021-04-05 22:42:52 -04:00
parent 27a8c22e9f
commit a7e8651c0b
16 changed files with 175 additions and 11 deletions

View file

@ -50,7 +50,8 @@ a {
color: $gray-100; color: $gray-100;
border-bottom: $secondary 2px solid; border-bottom: $secondary 2px solid;
text-decoration: none; text-decoration: none;
&.navbar-brand { &.navbar-brand,
&.nav-link {
border-bottom: none; border-bottom: none;
} }
&:visited { &:visited {

View file

@ -16,7 +16,7 @@ defmodule Home73k.Blog do
Path.wildcard("#{Home73k.app_blog_content()}/**/*.md") |> :erlang.md5() != unquote(post_paths_hash) Path.wildcard("#{Home73k.app_blog_content()}/**/*.md") |> :erlang.md5() != unquote(post_paths_hash)
end end
@posts Enum.sort_by(posts, & &1.date, {:desc, Date}) @posts Enum.sort_by(posts, & &1.date, {:desc, NaiveDateTime})
@post_count length(@posts) @post_count length(@posts)
@tags posts |> Stream.flat_map(& &1.tags) |> Stream.uniq() |> Enum.sort() @tags posts |> Stream.flat_map(& &1.tags) |> Stream.uniq() |> Enum.sort()

View file

@ -83,7 +83,7 @@ defmodule Home73kWeb.BlogLive do
|> Enum.at(page_int - 1) |> Enum.at(page_int - 1)
end end
defp get_page_count, do: Integer.floor_div(Blog.post_count(), @page_size) + rem(Blog.post_count(), @page_size) defp get_page_count, do: Kernel.ceil(Blog.post_count() / @page_size)
defp assign_prev_next(socket, page_int) do defp assign_prev_next(socket, page_int) do
socket socket

View file

@ -2,13 +2,13 @@
%{ %{
title: "Pi-Hole Love", title: "Pi-Hole Love",
id: "pihole-love", id: "pihole-love",
date: ~D[2018-03-24], date: ~N[2018-03-24 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["home", "privacy", "tech", "raspberrypi"], tags: ["home", "privacy", "tech", "raspberrypi"],
} }
--- ---
2021 UPDATE: while the pi-hole is a very cool project, I eventually grew tired of maintaining a separate DNS service. I still use unbound on my edgerouter but now my raspberry pi just runs some local web services. *April 2021 update:* while the pi-hole is a very cool project, I eventually grew tired of maintaining a separate DNS service. I still use unbound on my edgerouter but now my raspberry pi just runs some local web services.
Original post below: Original post below:

View file

@ -2,7 +2,7 @@
%{ %{
title: "If no one will do it, it neednt be done — on BS jobs and toddler bosses", title: "If no one will do it, it neednt be done — on BS jobs and toddler bosses",
id: "if-noone-will-do-it-neednt-be-done-bs-jobs-toddler-bosses", id: "if-noone-will-do-it-neednt-be-done-bs-jobs-toddler-bosses",
date: ~D[2018-05-17], date: ~N[2018-05-17 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["economics", "society", "work"], tags: ["economics", "society", "work"],
} }

View file

@ -2,7 +2,7 @@
%{ %{
title: "Lana Del Arr's Ultrapirates (parody lyrics for songs from Lana Del Reys Ultraviolence", title: "Lana Del Arr's Ultrapirates (parody lyrics for songs from Lana Del Reys Ultraviolence",
id: "lana-del-arr-ultrapirates-parody-lyrics", id: "lana-del-arr-ultrapirates-parody-lyrics",
date: ~D[2018-11-09], date: ~N[2018-11-09 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["song", "lyrics", "lanadelrey", "music", "parody", "pirates"], tags: ["song", "lyrics", "lanadelrey", "music", "parody", "pirates"],
} }

View file

@ -2,7 +2,7 @@
%{ %{
title: "Creating a gif from a video", title: "Creating a gif from a video",
id: "creating-gif-from-video", id: "creating-gif-from-video",
date: ~D[2020-05-23], date: ~N[2020-05-23 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["cli", "ffmpeg ", "gif", "multimedia", "video", "notes"], tags: ["cli", "ffmpeg ", "gif", "multimedia", "video", "notes"],
} }

View file

@ -1,7 +1,7 @@
--- ---
%{ %{
title: "Enable Visual Studio CLI environment in PowerShell", title: "Enable Visual Studio CLI environment in PowerShell",
date: ~D[2020-08-01], date: ~N[2020-08-01 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["coding", "tech", "elixir", "windows", "powershell", "scripting"], tags: ["coding", "tech", "elixir", "windows", "powershell", "scripting"],
} }

View file

@ -2,7 +2,7 @@
%{ %{
title: "Shame on American leadership", title: "Shame on American leadership",
id: "shame-on-american-leadership", id: "shame-on-american-leadership",
date: ~D[2020-12-07], date: ~N[2020-12-07 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["politics", "society", "policy", "pandemic"] tags: ["politics", "society", "policy", "pandemic"]
} }

View file

@ -0,0 +1,20 @@
---
%{
title: "New Front Page “Internet Home”",
date: ~N[2020-12-08 15:00:00],
author: "Adam Piontek",
tags: ["tech", "coding", "web", "fun"]
}
---
Since I'm enjoying this new minimalist blogging platform, and my main site has languished for years (I've tried doing a static site via hugo, then moved back to a Wordpress blog, but I didn't really like or make use of either), I figured it was time to exercise some old creative muscles and make a sort of minimalist home site.<!--more-->
Way back in the late 90s and 2000s I would fashion HTML by hand and get a little artsy. This wasn't quite that, but it was fun!
You can see [my repository here](https://73k.us/git/adam/73kus-front), one of the few I've made public.
I made use of and expanded some skills I've used on other projects the last couple years, getting a little deeper into [webpack](https://webpack.js.org/) configuration so I could use [pug](https://pugjs.org/api/getting-started.html) (oh god editing raw HTML is such a pain! Pug is so much more pleasant) and inline SVG icons (thanks to [html-webpack-inline-svg-plugin](https://www.npmjs.com/package/html-webpack-inline-svg-plugin)).
It's nothing too fancy beyond that, just generates HTML with some [Bulma CSS](https://bulma.io/) and minor changes.
Who knows if I'll have time to expand it, the portfolio is empty so far and I'm incredibly busy, but it's been a fun detour!

View file

@ -0,0 +1,23 @@
---
%{
title: "Bad Chef Salsa Chicken, Roasted Pepper, & Rice",
date: ~N[2020-12-29 15:04:00],
author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
}
---
via [BudgetBytes](https://www.budgetbytes.com/salsa-chicken-meal-prep-bowls/): rice, "salsa chicken," roasted bell peppers --- My quick notes.
<!--more-->
- 2 boneless, skinless chicken breasts
- 16oz salsa
- 1/2 cup chicken broth
- 1 tsp chili powder
Combine ingredients & cook in sauce pot. Boil, lidded, then simmer 30 minutes.
Remove & shred the chicken, then re-combine shredded chicken with salsa/broth mixture.
Combine with rice & peppers for meals.

View file

@ -0,0 +1,52 @@
---
%{
title: "Greek Lentil Soup, Adapted",
date: ~N[2020-12-29 15:03:00],
author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
}
---
If anyone needs ideas for Good Plague Cookin', here's a tasty one.
(This recipe was adapted per KB from [dragonwagon.com](http://dragonwagon.com/greek-lentil-soup/))
<!--more-->
- spray cooking oil
- 1 pound lentils, rinsed and picked over\*
- 2 1/2 quarts vegetable stock or water
- 1 whole dried poblano pepper, hard stem broken off, or 1 fresh jalapeno, stem removed, halved
_aromatics:_
- 2 teaspoons whole coriander seeds
- 1 1/2 teaspoons cumin seeds
- 1 teaspoon dried oregano, maybe also 1tsp basil
- 1/2 teaspoon dried thyme
- 2 bay leaves
_vegetables:_
- 2 medium potatoes, scrubbed and diced
- 1 10-ounce box frozen chopped spinach, thawed, or 1 10-ounce bag fresh spinach, well-washed, stems removed, chopped
- 1 small to medium butternut squash, peeled, seeded and diced (you want to end up with about 2 1/2 cups diced squash)
_saute:_
- 1 to 2 tablespoons olive oil
- 1 large onion, chopped
- 2 ribs celery, with leaves, sliced
- 3 large cloves of garlic, peeled and finely chopped
- salt and freshly ground black pepper, to taste
- 1/3 cup freshly squeezed lemon juice
- paper-thin slices of lemon to garnish; thin wedges of lemon to pass at the table
Spray a large soup pot with oil, and in it cook the onion/celery/garlic, then add the aromatics, lentils & stock, then add the squash/potatoes 15 minutes later and cook for another 20-30 mins, then add the spinach for only a few minutes at the end.
(For the stock, you can just add a dollop of better than bouillon with the aromatics before adding the water.)
This approach builds flavor better than the original recipe.
Do not wait until the end to add salt, either. Salt in stages. Always.

View file

@ -1,7 +1,7 @@
--- ---
%{ %{
title: "Mom's Meatloaf", title: "Mom's Meatloaf",
date: ~D[2020-12-29], date: ~N[2020-12-29 15:00:00],
author: "Adam Piontek", author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"] tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
} }

View file

@ -0,0 +1,24 @@
---
%{
title: "Roast potatoes, chicken, veg (asparagus, cauliflower, etc)",
date: ~N[2020-12-29 15:05:00],
author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
}
---
So simple, so easy, so good --- I often forget I can make this.
<!--more-->
- 6ish chicken thighs
- 6ish potatoes
- bundle of asparagus
Preheat oven to 425
Lightly oil the chicken, add salt & pepper, maybe thyme, sage, etc. Roast the chicken 35-40 min, or until 165°
Wash & chop up the potatoes. Lightly oil them, and add, salt, pepper, thyme (use chicken oil if possible!). Roast them 25-30 min
Rinse the veggies, chop as needed. Lightly oil, add salt & pepper. Roast until done (about 15 min for asparagus).

View file

@ -0,0 +1,27 @@
---
%{
title: "Southwest Chicken Skillet",
date: ~N[2020-12-29 15:10:00],
author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
}
---
Adapted from From [BudgetBytes](https://www.budgetbytes.com/southwest-chicken-skillet/), this makes use of pre-cooked chicken (rotisserie, roasted, whatever).
<!--more-->
- 1 cup uncooked long grain white rice
- 1 cup salsa
- 1.5-2 cups precooked shredded chicken
- 1 15oz. can black beans
- 1 Tbsp chili powder
- 1 3/4 cups chicken broth
- 1 cup shredded cheese
- 2-3 green onions, sliced
In a large skillet, combine the rice, salsa, chicken, black beans (drained), chili powder, and chicken broth. Stir until everything is evenly combined.
Place a tight fitting lid on the skillet, turn the heat on to high, and let the skillet come to a full boil. As soon as the skillet comes to a boil, turn the heat down to low and let it simmer for 15 minutes. Make sure it is simmering the entire time, turning the heat up slightly if needed (you should be able to hear it simmer quietly).
After 15 minutes, turn off the heat, and let it rest with the lid in place for 5 more minutes. Finally, remove the lid, and fluff the mixture with a fork. All of the liquid should be absorbed and the rice should be tender. Sprinkle 1 cup of shredded cheese over top, replace the lid, and let it sit for a few minutes, or until the cheese is melted. Meanwhile, slice the green onions. Sprinkle the green onions over the melted cheese and serve hot.

View file

@ -0,0 +1,17 @@
---
%{
title: "Tortellini w/Sausage & Broccoli Rabe",
id: "tortellini-sausage-broccoli-rabe",
date: ~N[2020-12-29 15:15:00],
author: "Adam Piontek",
tags: ["food", "recipe", "mealprep", "pandemiceats", "plaguecooking"]
}
---
Another good meal prep.
We use frozen cheese tortellini. Can use frozen broccoli, but broccoli rabe is preferred.
<!--more-->
Brown the sausage; cook the greens w/olive oil, garlic, salt, red pepper flakes; steam the tortellini on the bed of greens. Ok to add a little water if needed, frozen veg usually more watery than fresh.