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 Date: 2022-07-23
Category: Notes Category: Notes
Summary: About me and my website. Summary: About me and my website.
Short: a
Wide: true Wide: true
## Me ## Me

View File

@ -3,7 +3,6 @@ Date: 2021-10-21
Category: Creations Category: Creations
Summary: Panels for acoustic treatment in my home theatre. Summary: Panels for acoustic treatment in my home theatre.
Image: panel3.jpg 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. 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 Date: 2023-03-07
Category: Notes Category: Notes
Summary: Point a fan at indoor hydroponic plants once they develop their true leaves. 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: 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:

View File

@ -2,7 +2,6 @@ Title: Algae Growth
Date: 2023-03-11 Date: 2023-03-11
Category: Notes Category: Notes
Summary: Prevent hydroponic algae from growing by blocking light to any nutrient solution. 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. 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.

View File

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

View File

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

View File

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

View File

@ -3,7 +3,6 @@ Date: 2023-03-24
Category: Writing Category: Writing
Summary: A recipe generated by ChatGPT for peanut butter cookies. Summary: A recipe generated by ChatGPT for peanut butter cookies.
Image: cookies3.jpg 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. <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.

View File

@ -3,7 +3,6 @@ Date: 2022-06-27
Category: Creations Category: Creations
Summary: Fake dog barking for home security while on vacation. Summary: Fake dog barking for home security while on vacation.
Image: fake-dog.jpg 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. 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 Category: Creations
Summary: Hacking my garage door opener to work over Wifi. Summary: Hacking my garage door opener to work over Wifi.
Image: garage3.jpg 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. 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 Category: Creations
Summary: A withered hand I welded out of scrap metal. Summary: A withered hand I welded out of scrap metal.
Image: hand1.jpg 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. 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 Category: Notes
Summary: I lost a war against aphids and mould. Summary: I lost a war against aphids and mould.
Wide: true Wide: true
Short: hwar
[TOC] [TOC]

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes Category: Notes
Summary: Grow log for my home hydroponics setup, round 1. Summary: Grow log for my home hydroponics setup, round 1.
Wide: true Wide: true
Short: hlog1
2022-02-21: Started germinating 2022-02-21: Started germinating
2022-02-24: First noticed sprouts 2022-02-24: First noticed sprouts

View File

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

View File

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

View File

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Writing Category: Writing
Summary: My experiments growing food with hydroponics. Summary: My experiments growing food with hydroponics.
Wide: true Wide: true
Short: h
[TOC] [TOC]

View File

@ -4,7 +4,6 @@ Category: Writing
Summary: Photos from my trip to Japan. Summary: Photos from my trip to Japan.
Image: japan06lo.jpg Image: japan06lo.jpg
Nofilter: true Nofilter: true
Short: j
All photos are unmodified (not even cropped) and taken with a Pixel 6a. 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 Category: Creations
Summary: A dress made out of LEDs that twinkle like stars. Summary: A dress made out of LEDs that twinkle like stars.
Image: dress1.jpg 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. 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 Category: Creations
Summary: A device to toggle my lights remotely. Summary: A device to toggle my lights remotely.
Image: light1.jpg 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. 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 Category: Writing
Summary: A recommendation on which flavour of Linux to run. Summary: A recommendation on which flavour of Linux to run.
Wide: true Wide: true
Short: linux
[TOC] [TOC]

View File

@ -3,8 +3,6 @@ Date: 2022-05-17
Category: Projects Category: Projects
Summary: Send browser notifications from your terminal. No installation. No registration. Summary: Send browser notifications from your terminal. No installation. No registration.
Image: notica1.jpg 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`. [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 Category: Creations
Summary: My first attempt at painting with acrylic. Summary: My first attempt at painting with acrylic.
Image: painting1.jpg 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. 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 Category: Creations
Summary: A device that automatically waters plants. Summary: A device that automatically waters plants.
Image: waterer2.jpg 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. 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. Summary: An outline of my projects at Calgary's makerspace Protospace.
Image: protospace1.jpg Image: protospace1.jpg
Wide: true 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. [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 Category: Projects
Summary: Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading. Summary: Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading.
Image: qotnews1.jpg 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. [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 Date: 2023-04-29
Category: Notes Category: Notes
Summary: About the hydroponics garden in my basement. 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: 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 Date: 2022-05-24
Category: Notes Category: Notes
Summary: Graphs of various sensors around my house. Summary: Graphs of various sensors around my house.
Short: d
## 24h Graphs ## 24h Graphs

View File

@ -3,7 +3,6 @@ Date: 2013-04-27
Category: Creations Category: Creations
Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker. Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker.
Image: solar2.jpg 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. 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 Category: Projects
Summary: Member portal for Calgary Protospace. It tracks dues, courses, training, access cards, and more. Summary: Member portal for Calgary Protospace. It tracks dues, courses, training, access cards, and more.
Image: spaceport1.jpg 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. [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 Category: Writing
Summary: Software and products that I recommend you use. Summary: Software and products that I recommend you use.
Wide: true 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. 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.

View File

@ -3,7 +3,6 @@ Date: 2018-09-12
Category: Creations Category: Creations
Summary: A coffee table made out of wooden wine creates. Summary: A coffee table made out of wooden wine creates.
Image: wine3.jpg 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. 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 Title: Creations
Template: creations Template: creations
Slug: z Slug: creations
Qot. Qot.

View File

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

View File

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

View File

@ -2,8 +2,6 @@ Title: t0txt
Date: 2022-05-15 Date: 2022-05-15
Category: Projects Category: Projects
Summary: Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser. 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. [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 = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}' ARTICLE_URL = '{slug}'
ARTICLE_SAVE_AS = '{short}/index.html' ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_URL = '{slug}' PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html' PAGE_SAVE_AS = '{slug}/index.html'

View File

@ -61,8 +61,8 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}' ARTICLE_URL = '{slug}'
ARTICLE_SAVE_AS = '{short}/index.html' ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_URL = '{slug}' PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html' 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, <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>! Please sign my <a href=g>Guest Book</a>!
@ -14,27 +14,24 @@ BSc Electrical Engineering - University of Calgary
Blog Blog
{% for article in articles_page.object_list if article.category.name == 'Writing' %} <a href=p>Bypassing ISP Blocked Ports
{% if loop.index <= 4 %} <a href=j>Japan Photography
<a href={{ article.url }}>{{ article.title }} <a href=2>ChatGPT Peanut Butter Cookies
{% endif %} <a href=h>Hydroponics
{% endfor %}
<a href=x>[more]</a> <a href=x>[more]</a>
Projects Projects
{% for article in articles_page.object_list|selectattr('category.name', '==', 'Projects')|sort(attribute='order') %} <a href=q>QotNews
{% if loop.index <= 4 %} <a href=m>Spaceport
<a href={{ article.url }}>{{ article.title }} <a href=t>t0txt
{% endif %} <a href=n>Notica
{% endfor %}
<a href=y>[more]</a> <a href=y>[more]</a>
Creations Creations
{% for article in articles_page.object_list if article.category.name == 'Creations' %} <a href=7>Fake Dog for Home Security
{% if loop.index <= 4 %} <a href=5>Garage Door Opener Hack
<a href={{ article.url }}>{{ article.title }} <a href=3>Theatre Acoustic Panels
{% endif %} <a href=0>Wine Crate Coffee Table
{% endfor %}
<a href=z>[more] <a href=z>[more]