commit 64e8f25bdc383951de8045c629a5b44331239a98
parent 1e5575891abed1e5888597b42534164cf78be4b5
Author: breadcat <breadcat@users.noreply.github.com>
Date: Mon, 5 Jan 2026 16:39:08 +0000
New work related posts
Diffstat:
2 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/content/posts/defaulting-a-tp-link-managed-switch.md b/content/posts/defaulting-a-tp-link-managed-switch.md
@@ -0,0 +1,21 @@
+---
+title: "Defaulting a TP-Link managed switch"
+date: 2025-12-10T15:43:00
+tags: ["Snippets", "Work"]
+---
+
+At work I recently came across a locked down TP-Link managed switch. I could access the password interface using a web browser but the password had already been set and there's no reset button on the device itself.
+
+No matter, a bit of searching and I found how to default these using the console port and a serial cable.
+
+Firstly you're going to want to find your COM address, then connect to it with the following options:
+
+* Speed: 38400
+* Data: 8 bit
+* Parity: none
+* Stop bits: 1 bit
+* Flow control: none
+
+Power on the switch while connected and hammer your [ENTER] key until you see a `tplink>` prompt. Enter `2` as your option, then `Y` to confirm device reset.
+
+Once the device reboots you should have a defaulted switch where you can now login.
+\ No newline at end of file
diff --git a/content/posts/horizon-schedule-bank-holidays.md b/content/posts/horizon-schedule-bank-holidays.md
@@ -0,0 +1,36 @@
+---
+title: "Gamma Horizon Bank Holiday Schedules"
+date: 2025-11-07T16:31:00
+tags: ["Snippets", "Work"]
+---
+
+It's not too often that I need to bulk import bank holidays into a Horizon account, however when I do I like to do it as simply as possible. What I've compiled below are the bank holiday dates for the UK next couple of years, compiled from [this goverment resource](https://www.gov.uk/bank-holidays).
+
+What I like to do is copy the first column, alt-tab to enter it as the name, then alt-tab back, copy the second column, alt-tab back to Horizon then tab x3, paste, tab x2, paste before finally clicking Create. You can get quite good at this with a bit of practice.
+
+```
+BH 2026-01-01 01/01/2026
+BH 2026-04-03 03/04/2026
+BH 2026-04-06 06/04/2026
+BH 2026-05-04 04/05/2026
+BH 2026-05-25 25/05/2026
+BH 2026-08-31 31/08/2026
+BH 2026-12-25 25/12/2026
+BH 2026-12-28 28/12/2026
+
+BH 2027-01-01 01/01/2027
+BH 2027-03-26 26/03/2027
+BH 2027-03-29 29/03/2027
+BH 2027-05-03 03/05/2027
+BH 2027-05-31 31/05/2027
+BH 2027-08-30 30/08/2027
+BH 2027-12-27 27/12/2027
+BH 2027-12-28 28/12/2027
+```
+
+One easily solved issue you may come across is the date selector window remaining open as you've pasted in a date versus clicking one. This can be fixed by removing the element entirely by blocking the following rule:
+```
+##.ui-corner-all.ui-helper-clearfix.ui-widget-content.ui-widget.ui-datepicker
+```
+
+Another solution entirely is to use Contact call routing, but you've gotta pay for that improvement.