Move to 302 nginx redirects so RSS doesn't break

master
Tanner Collin 4 months ago
parent c059b3164a
commit b432b3f31d
  1. 1
      content/About.md
  2. 1
      content/Acoustic Panels.md
  3. 1
      content/Airflow.md
  4. 1
      content/Algae Growth.md
  5. 1
      content/Backup Strategy.md
  6. 1
      content/Bypassing Ports Old.md
  7. 1
      content/Bypassing Ports.md
  8. 1
      content/ChatGPT Peanut Butter Cookies.md
  9. 1
      content/Fake Dog.md
  10. 1
      content/Garage Door Opener.md
  11. 1
      content/Hand of Ozymandias.md
  12. 1
      content/Hydroponics Aphid War.md
  13. 1
      content/Hydroponics Log 1.md
  14. 1
      content/Hydroponics Log 2.md
  15. 1
      content/Hydroponics Log 3.md
  16. 1
      content/Hydroponics.md
  17. 1
      content/Japan Photography.md
  18. 1
      content/LED Dress.md
  19. 1
      content/Light Switch.md
  20. 1
      content/Linux Flavour.md
  21. 2
      content/Notica.md
  22. 1
      content/Painting.md
  23. 1
      content/Plant Waterer.md
  24. 1
      content/Protospace.md
  25. 2
      content/QotNews.md
  26. 2
      content/Secret Garden.md
  27. 1
      content/Sensors.md
  28. 1
      content/Solar Car.md
  29. 2
      content/Spaceport.md
  30. 1
      content/Things I Recommend.md
  31. 1
      content/Wine Crate Coffee Table.md
  32. 2
      content/pages/creations.md
  33. 2
      content/pages/projects.md
  34. 2
      content/pages/writing.md
  35. 2
      content/t0txt.md
  36. 4
      pelicanconf_lite.py
  37. 4
      publishconf_lite.py
  38. 29
      themes/lite/templates/index.html

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

@ -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.

@ -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:

@ -2,7 +2,6 @@ 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.

@ -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]

@ -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]

@ -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]

@ -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.

@ -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.

@ -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.

@ -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.

@ -3,7 +3,6 @@ Date: 2022-07-29
Category: Notes
Summary: I lost a war against aphids and mould.
Wide: true
Short: hwar
[TOC]

@ -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

@ -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

@ -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.

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

@ -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.

@ -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.

@ -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.

@ -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]

@ -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`.

@ -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 “Man’s 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.

@ -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.

@ -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.

@ -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.

@ -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:

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

@ -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.

@ -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.

@ -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.

@ -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.

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

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

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

@ -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.

@ -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'

@ -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'

@ -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]

Loading…
Cancel
Save