Move to 302 nginx redirects so RSS doesn't break

This commit is contained in:
Tanner Collin 2024-01-25 14:29:38 -08:00
parent c059b3164a
commit b432b3f31d
38 changed files with 27 additions and 67 deletions

View File

@ -2,7 +2,6 @@ Title: About
Date: 2022-07-23
Category: Notes
Summary: About me and my website.
Short: a
Wide: true
## Me

View File

@ -3,7 +3,6 @@ Date: 2021-10-21
Category: Creations
Summary: Panels for acoustic treatment in my home theatre.
Image: panel3.jpg
Short: 3
Acoustic treatment is one of the most overlooked aspects of home audio. There's no point in spending money on premium speakers if the room they are playing in has poor acoustics.

View File

@ -2,7 +2,6 @@ Title: Airflow
Date: 2023-03-07
Category: Notes
Summary: Point a fan at indoor hydroponic plants once they develop their true leaves.
Short: airflow
Airflow across plants is important because it helps with [transpiration][1], the process of water movement through a plant and evaporation off its leaves. The water is used to move minerals up the plant from its roots. Quoting Wikipedia:
@ -13,4 +12,4 @@ A lack of airflow can cause [mineral deficiencies][2] which is why it's recommen
[1]: https://en.wikipedia.org/wiki/Transpiration
[2]: https://hortamericas.com/blog/science/how-to-avoid-calcium-deficiency-in-controlled-environment-food-crops/
[3]: https://en.wikipedia.org/wiki/Stoma
[3]: https://en.wikipedia.org/wiki/Stoma

View File

@ -2,8 +2,7 @@ Title: Algae Growth
Date: 2023-03-11
Category: Notes
Summary: Prevent hydroponic algae from growing by blocking light to any nutrient solution.
Short: algaegrowth
Algae will grow anywhere light is able to touch hydroponic nutrient solution. This won't be a problem if the solution is regularly flushed. In Kratky systems the algae will compete for resources with your plants and grow exponentially.
The solution is to prevent light from reaching the solution by using dark containers and covering exposed parts with and opaque material such as aluminium foil.
The solution is to prevent light from reaching the solution by using dark containers and covering exposed parts with and opaque material such as aluminium foil.

View File

@ -3,7 +3,6 @@ Date: 2021-04-08
Category: Writing
Summary: Details about the backup system for all of my data.
Wide: true
Short: backup
[TOC]

View File

@ -3,7 +3,6 @@ Date: 2021-04-10
Category: Notes
Summary: (Old) Bypass ISP blocked ports using VPN port forwarding for public access.
Wide: true
Short: ports-old
[TOC]

View File

@ -3,7 +3,6 @@ Date: 2023-12-10
Category: Writing
Summary: Bypass ISP blocked ports using VPN port forwarding for public access.
Wide: true
Short: ports
[TOC]

View File

@ -3,7 +3,6 @@ Date: 2023-03-24
Category: Writing
Summary: A recipe generated by ChatGPT for peanut butter cookies.
Image: cookies3.jpg
Short: 2
<span class="aside">(describe a house fire in the style of a crappy blog post that people put above recipes that tell their life story before getting to the point about how their house burned down) </span>The flames danced around the living room, illuminating the memories that were now nothing more than ash. It was a warm summer evening, and we were all gathered in the backyard, enjoying the company of good friends and family. Little did we know that our lives were about to change forever.
@ -36,4 +35,4 @@ Instructions:
![[cookies4.jpg]]
Human: The cookies turned out not bad. Too sweet, unsurprisingly with all that sugar. I like peanut butter cookies that are chewy, I'll ask for that next time. The mouthfeel is basically peanut butter giving way to grains of sugar.
Human: The cookies turned out not bad. Too sweet, unsurprisingly with all that sugar. I like peanut butter cookies that are chewy, I'll ask for that next time. The mouthfeel is basically peanut butter giving way to grains of sugar.

View File

@ -3,7 +3,6 @@ Date: 2022-06-27
Category: Creations
Summary: Fake dog barking for home security while on vacation.
Image: fake-dog.jpg
Short: 7
I set up a fake dog that barks if my surveillance cameras are triggered while I'm out of town on vacation. It's a pair of computer speakers plugged into a Raspberry Pi, which is an inexpensive single-board computer. One speaker faces the front door and the other faces the side door.

View File

@ -3,7 +3,6 @@ Date: 2021-12-26
Category: Creations
Summary: Hacking my garage door opener to work over Wifi.
Image: garage3.jpg
Short: 5
In the quest to automate as much of my house as possible, I thought it would be useful to be able to remotely control my garage door from my home automation system. If I suspected that I forgot to close it while leaving, I could check in my security cameras and then close it from anywhere. It's nice having this peace of mind, even if it almost never happens.

View File

@ -3,7 +3,6 @@ Date: 2012-03-23
Category: Creations
Summary: A withered hand I welded out of scrap metal.
Image: hand1.jpg
Short: hand
I was visiting my cousins in Radium, BC and decided to learn stick welding at their shop. I wanted to create a sculpture, so with pieces of scrap metal I welded together this hand. The beads are far from perfect. Working with small pieces of rusted metal made it difficult.

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes
Summary: I lost a war against aphids and mould.
Wide: true
Short: hwar
[TOC]
@ -37,4 +36,4 @@ A few weeks after the aphid dunking I noticed some kind of mould or powdery mild
I assumed this was because I let the plants' leaves get too dense and they were blocking airflow to the crown. The airstone bubbles air into the water reservoir and the only place the humid air can escape is through the net cups and strawberry crown.
I rinsed all the plants off like I did with the aphids and set up an extra fan to try and increase airflow. This worked well for a couple months until I noticed it had returned and started making the plants unhealthy. This was the other reason I decided to end the experiment.
I rinsed all the plants off like I did with the aphids and set up an extra fan to try and increase airflow. This worked well for a couple months until I noticed it had returned and started making the plants unhealthy. This was the other reason I decided to end the experiment.

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes
Summary: Grow log for my home hydroponics setup, round 1.
Wide: true
Short: hlog1
2022-02-21: Started germinating
2022-02-24: First noticed sprouts
@ -47,4 +46,4 @@ Short: hlog1
- 4 cm, 2 cm roots
- spinach SP705
- never germinated
- never germinated
- never germinated

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes
Summary: Grow log for my home hydroponics setup, round 2.
Wide: true
Short: hlog2
2022-03-05: Started germinating
2022-03-07: Just barely noticed germination

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes
Summary: Grow log for my home hydroponics setup, round 3.
Wide: true
Short: hlog3
2022-04-14: Planted strawberry starters.
2022-04-21: Observed fresh white roots shooting out horizontally.

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Writing
Summary: My experiments growing food with hydroponics.
Wide: true
Short: h
[TOC]
@ -60,4 +59,4 @@ Lessons learned:
- Hand-pollinating flowers is tedious.
- Strawberries drop tons of pedals all over the floor.
![[hydroponics3.jpg]]
![[hydroponics3.jpg]]

View File

@ -4,7 +4,6 @@ Category: Writing
Summary: Photos from my trip to Japan.
Image: japan06lo.jpg
Nofilter: true
Short: j
All photos are unmodified (not even cropped) and taken with a Pixel 6a.

View File

@ -3,7 +3,6 @@ Date: 2016-03-18
Category: Creations
Summary: A dress made out of LEDs that twinkle like stars.
Image: dress1.jpg
Short: 4
A friend of mine was attending a stars and constellations themed ball. She wanted to wear a dress that was lit up with LEDs acting as twinkling stars. Seven of the 28 stars are aligned to resemble the Big Dipper constellation and twinkle differently than the rest, which twinkle in a random pattern.

View File

@ -3,7 +3,6 @@ Date: 2014-10-09
Category: Creations
Summary: A device to toggle my lights remotely.
Image: light1.jpg
Short: remote
I wanted the ability to toggle my bedroom light remotely for convenience. I designed a circuit that allows me to control my light with any device that can load a webpage.

View File

@ -3,7 +3,6 @@ Date: 2020-10-31
Category: Writing
Summary: A recommendation on which flavour of Linux to run.
Wide: true
Short: linux
[TOC]

View File

@ -3,8 +3,6 @@ Date: 2022-05-17
Category: Projects
Summary: Send browser notifications from your terminal. No installation. No registration.
Image: notica1.jpg
Short: n
Order: 5
[Notica](https://notica.us) allows you to send browser notifications from your terminal to know when a slow command has finished running. It doesn't require installing anything or registering an account. It also works over ssh unlike `notify-send`.

View File

@ -3,7 +3,6 @@ Date: 2012-04-11
Category: Creations
Summary: My first attempt at painting with acrylic.
Image: painting1.jpg
Short: painting
The painting is called “Mans Reach Exceeds His Grasp”. I've always wanted to try painting and thought I had a good idea, so after a couple of drawings I attempted to paint it. I eventually got it framed at Michaels. Many thanks to my friend Laura for the opportunity to do this, I couldn't have done it without her help.

View File

@ -3,7 +3,6 @@ Date: 2014-06-05
Category: Creations
Summary: A device that automatically waters plants.
Image: waterer2.jpg
short: waterer
One day I decided watering my one plant was too much work, so I automated it. It's also great for when I'm on vacation. The plant is a year old now and doesn't look as good as it used to (kinda like you). So this machine is like its life support.

View File

@ -4,7 +4,6 @@ Category: Writing
Summary: An outline of my projects at Calgary's makerspace Protospace.
Image: protospace1.jpg
Wide: true
Short: p
[Protospace](https://protospace.ca) is Calgary's original makerspace, a place where people go to make things and work on projects. It's a two-bay industrial shop with a full wood working area, metal working area, electronics lab, two laser cutters, five 3D printers, and sewing room. Members pay $55/month for 24/7 access to the facility and everyone is equal: Protospace has no owners and decisions are made by the membership.

View File

@ -3,8 +3,6 @@ Date: 2022-05-18
Category: Projects
Summary: Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading.
Image: qotnews1.jpg
Short: q
Order: 1
[QotNews](https://news.t0.vc) is a news meta-aggregator. It gathers top articles from four news aggregators: Hacker News, Reddit, Lobsters, and Tildes along with their comments. The articles are then transformed into readable versions with consistent formatting and distractions removed. All articles in the main feed are preloaded by the client so they load instantly when clicked on.

View File

@ -2,8 +2,6 @@ Title: Secret Garden
Date: 2023-04-29
Category: Notes
Summary: About the hydroponics garden in my basement.
Short: b
Order: 2
I have a "Secret Garden" in a storage room in the basement of my house. It's currently a [[Hydroponics | hydroponics]] system growing a tomato. You can see an hourly photo of it below:

View File

@ -2,7 +2,6 @@ Title: Sensors
Date: 2022-05-24
Category: Notes
Summary: Graphs of various sensors around my house.
Short: d
## 24h Graphs

View File

@ -3,7 +3,6 @@ Date: 2013-04-27
Category: Creations
Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker.
Image: solar2.jpg
Short: car
I joined the University of Calgary Solar Car Team in my first semester for a chance to learn things, gain practical experience, and meet people that share my interests. The car was the top Canadian team in a 3000 km race from Darwin to Adelaide, Australia in 2011. We met up at a shop on campus every Saturday morning to work on the new Generation IV of the solar car.

View File

@ -3,8 +3,6 @@ Date: 2022-05-16
Category: Projects
Summary: Member portal for Calgary Protospace. It tracks dues, courses, training, access cards, and more.
Image: spaceport1.jpg
Short: m
Order: 3
[Spaceport](https://my.protospace.ca) is the member portal that I wrote for [[Protospace]], a makerspace that I frequent in Calgary. It is by far my largest project and the one I've spent the most time on. It has a database of all our members and tracks their transactions like dues and training fees. It allows members to sign up for classes and our instructors to teach courses. It also manages the access cards that members use to get into the building.

View File

@ -3,7 +3,6 @@ Date: 2022-06-24
Category: Writing
Summary: Software and products that I recommend you use.
Wide: true
Short: 1
This outlines some software and devices I recommend you use: uBlock Origin, Sponsorblock, Aegis Authenticator, ThruNite T1 flashlights, Logitech G Pro Wireless mice, and ThinkPad Laptops. Nothing here was sponsored.
@ -45,4 +44,4 @@ I like it so much that I own five of them: one for my office desk, nook desk, la
### ThinkPad Laptops
I've had several different laptops over the years and have settled on buying ThinkPads going forward. I hate Lenovo as company because of their [Superfish scandal](https://en.wikipedia.org/wiki/Superfish#Lenovo_security_incident), but I can't deny that ThinkPads are absolutely solid. I currently own a ThinkPad X1 Carbon 6th Gen.
A lot of Linux developers use ThinkPads which means Linux is well supported on them and the drivers just work. The laptops are easy to pop open and service. Many parts are user-replaceable. My laptop charges off a small USB-C phone charger that I carry around. In a state of sickness-induced exhaustion, I spilled an entire glass of Gatorade on it and then drenched it in water to try and flush it away. I took the back off, drained it, and then pointed a fan at it for 24 hours. The laptop was working fine the next day.
A lot of Linux developers use ThinkPads which means Linux is well supported on them and the drivers just work. The laptops are easy to pop open and service. Many parts are user-replaceable. My laptop charges off a small USB-C phone charger that I carry around. In a state of sickness-induced exhaustion, I spilled an entire glass of Gatorade on it and then drenched it in water to try and flush it away. I took the back off, drained it, and then pointed a fan at it for 24 hours. The laptop was working fine the next day.

View File

@ -3,7 +3,6 @@ Date: 2018-09-12
Category: Creations
Summary: A coffee table made out of wooden wine creates.
Image: wine3.jpg
Short: 0
My close friend Odai saw a simple coffee table design online that was built out of four wooden wine crates. They are quite cheap and available at any hardware store. We each wanted to make one so went and bought eight crates and some plywood to use as a base.

View File

@ -1,6 +1,6 @@
Title: Creations
Template: creations
Slug: z
Slug: creations
Qot.

View File

@ -1,6 +1,6 @@
Title: Projects
Template: projects
Slug: y
Slug: projects
Qot.

View File

@ -1,6 +1,6 @@
Title: Writing
Template: writing
Slug: x
Slug: writing
Qot.

View File

@ -2,8 +2,6 @@ Title: t0txt
Date: 2022-05-15
Category: Projects
Summary: Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser.
Short: t
Order: 4
[t0txt](https://txt.t0.vc) is a minimalist pastebin. You can upload text notes from the command line by using a bash alias or by submitting text through the web form.

View File

@ -61,8 +61,8 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}'
ARTICLE_SAVE_AS = '{short}/index.html'
ARTICLE_URL = '{slug}'
ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'

View File

@ -61,8 +61,8 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}'
ARTICLE_SAVE_AS = '{short}/index.html'
ARTICLE_URL = '{slug}'
ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'

View File

@ -1,5 +1,5 @@
<link rel=icon href=data:><meta name=viewport content=width=1%><pre style=font:unset>Hi, I'm <a href=a>Tanner</a>! I like home automation, bots, Python,
Debian, coffee, <a href=d>sensors</a>, and makerspaces.
Debian, coffee, <a href=s>sensors</a>, and makerspaces.
Please sign my <a href=g>Guest Book</a>!
@ -14,27 +14,24 @@ BSc Electrical Engineering - University of Calgary
Blog
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
{% if loop.index <= 4 %}
<a href={{ article.url }}>{{ article.title }}
{% endif %}
{% endfor %}
<a href=p>Bypassing ISP Blocked Ports
<a href=j>Japan Photography
<a href=2>ChatGPT Peanut Butter Cookies
<a href=h>Hydroponics
<a href=x>[more]</a>
Projects
{% for article in articles_page.object_list|selectattr('category.name', '==', 'Projects')|sort(attribute='order') %}
{% if loop.index <= 4 %}
<a href={{ article.url }}>{{ article.title }}
{% endif %}
{% endfor %}
<a href=q>QotNews
<a href=m>Spaceport
<a href=t>t0txt
<a href=n>Notica
<a href=y>[more]</a>
Creations
{% for article in articles_page.object_list if article.category.name == 'Creations' %}
{% if loop.index <= 4 %}
<a href={{ article.url }}>{{ article.title }}
{% endif %}
{% endfor %}
<a href=7>Fake Dog for Home Security
<a href=5>Garage Door Opener Hack
<a href=3>Theatre Acoustic Panels
<a href=0>Wine Crate Coffee Table
<a href=z>[more]