Updating content
This commit is contained in:
parent
ea9aae9790
commit
11d2854c24
29 changed files with 470 additions and 245 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,2 +1,8 @@
|
|||
|
||||
.DS_Store
|
||||
/public/
|
||||
/resources/_gen/
|
||||
|
||||
hugo.exe
|
||||
hugo.linux
|
||||
hugo.darwin
|
||||
11
assets/css/extended/custom.css
Normal file
11
assets/css/extended/custom.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.buy-me-a-coffee {
|
||||
text-align: center;
|
||||
border-radius: var(--radius);
|
||||
background: var(--code-bg);
|
||||
border: 1px solid var(--border);
|
||||
|
||||
background-color: var(--secondary);
|
||||
color: var(--tertiary);
|
||||
padding: var(--gap);
|
||||
}
|
||||
|
||||
BIN
assets/images/android-chrome-512x512.png
Normal file
BIN
assets/images/android-chrome-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
52
config.yml
52
config.yml
|
|
@ -10,6 +10,8 @@ buildExpired: false
|
|||
|
||||
googleAnalytics: UA-123-45
|
||||
|
||||
enableEmoji: true
|
||||
|
||||
minify:
|
||||
disableXML: true
|
||||
minifyOutput: true
|
||||
|
|
@ -29,7 +31,7 @@ params:
|
|||
ShowReadingTime: true
|
||||
ShowShareButtons: false
|
||||
ShowPostNavLinks: true
|
||||
ShowBreadCrumbs: true
|
||||
ShowBreadCrumbs: false
|
||||
ShowCodeCopyButtons: false
|
||||
ShowWordCount: true
|
||||
ShowRssButtonInSectionTermList: true
|
||||
|
|
@ -39,9 +41,14 @@ params:
|
|||
comments: false
|
||||
hidemeta: false
|
||||
hideSummary: false
|
||||
hideAuthor: true
|
||||
showtoc: false
|
||||
tocopen: false
|
||||
|
||||
mainSections:
|
||||
- posts
|
||||
- gear
|
||||
|
||||
assets:
|
||||
# disableHLJS: true # to disable highlight.js
|
||||
# disableFingerprinting: true
|
||||
|
|
@ -53,8 +60,9 @@ params:
|
|||
|
||||
label:
|
||||
text: "ritual"
|
||||
icon: /images/coffee-cup-9-512.png
|
||||
iconHeight: 35
|
||||
icon: /images/android-chrome-512x512.png
|
||||
iconImageHeight: 35
|
||||
iconHeight: 70
|
||||
|
||||
# profile-mode
|
||||
profileMode:
|
||||
|
|
@ -73,16 +81,16 @@ params:
|
|||
|
||||
# home-info mode
|
||||
homeInfoParams:
|
||||
Title: "Hi there \U0001F44B"
|
||||
Content: Welcome to my blog
|
||||
Title: "I’m Dan. I live in the Golden Valley, Herefordshire. I work remotely as a software engineer, team leader, and system architect. "
|
||||
Content: "I like to talk about engineering, networking, and system design. There’s a higher I may also talk about many of my other interests – photography, digital minimalism, lego, gaming and game dev, coffee, or the great outdoors."
|
||||
|
||||
socialIcons:
|
||||
- name: x
|
||||
url: "https://x.com/"
|
||||
- name: stackoverflow
|
||||
url: "https://stackoverflow.com"
|
||||
- name: instagram
|
||||
url: "https://www.instagram.com/ritualphotos"
|
||||
- name: mastodon
|
||||
url: "https://dice.camp/@ritual"
|
||||
- name: github
|
||||
url: "https://github.com/"
|
||||
url: "https://github.com/unbolt"
|
||||
|
||||
analytics:
|
||||
google:
|
||||
|
|
@ -93,9 +101,9 @@ params:
|
|||
SiteVerificationTag: "XYZabc"
|
||||
|
||||
cover:
|
||||
hidden: true # hide everywhere but not in structured data
|
||||
hidden: false # hide everywhere but not in structured data
|
||||
hiddenInList: true # hide on list pages and home
|
||||
hiddenInSingle: true # hide on single page
|
||||
hiddenInSingle: false # hide on single page
|
||||
|
||||
editPost:
|
||||
URL: "https://github.com/<path_to_repo>/content"
|
||||
|
|
@ -115,18 +123,22 @@ params:
|
|||
keys: ["title", "permalink", "summary", "content"]
|
||||
menu:
|
||||
main:
|
||||
- identifier: categories
|
||||
name: categories
|
||||
url: /categories/
|
||||
- identifier: about
|
||||
name: about
|
||||
url: /about/
|
||||
weight: 5
|
||||
- identifier: gear
|
||||
name: gear & edc
|
||||
url: /gear/
|
||||
weight: 10
|
||||
- identifier: archives
|
||||
name: archives
|
||||
url: /archives/
|
||||
weight: 15
|
||||
- identifier: tags
|
||||
name: tags
|
||||
url: /tags/
|
||||
weight: 20
|
||||
- identifier: example
|
||||
name: example.org
|
||||
url: https://example.org
|
||||
weight: 30
|
||||
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
|
||||
pygmentsUseClasses: true
|
||||
markup:
|
||||
|
|
@ -136,4 +148,4 @@ markup:
|
|||
# codeFences: true
|
||||
# guessSyntax: true
|
||||
# lineNos: true
|
||||
# style: monokai
|
||||
# style: monokai
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ date: 2024-01-09T11:46:01+00:00
|
|||
<div class="wp-block-column is-vertically-aligned-stretch is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
|
||||
<div class="wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-layout-1 wp-block-group-is-layout-flex" style="min-height:100%">
|
||||
<p class="has-large-font-size">
|
||||
I’m <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">Dan</mark></strong>. I live in the Golden Valley, <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">Herefordshire</mark></strong>. I work remotely as a <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">software engineer</mark></strong>, team leader, and system architect.
|
||||
I'm <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">Dan</mark></strong>. I live in the Golden Valley, <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">Herefordshire</mark></strong>. I work remotely as a <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-base-color">software engineer</mark></strong>, team leader, and system architect.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
I like to talk about engineering, networking, and system design. There’s a really good chance I may also talk about some of my other interests – photography, lego, gaming and game dev, coffee, or the great outdoors.
|
||||
I like to talk about engineering, networking, and system design. There's a really good chance I may also talk about some of my other interests - photography, lego, gaming and game dev, coffee, or the great outdoors.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -29,7 +29,7 @@ date: 2024-01-09T11:46:01+00:00
|
|||
<div class="wp-block-columns alignwide is-layout-flex wp-container-core-columns-layout-2 wp-block-columns-is-layout-flex">
|
||||
<div class="wp-block-column is-vertically-aligned-stretch is-layout-flow wp-block-column-is-layout-flow" style="padding-right:0;flex-basis:60%">
|
||||
<div class="wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-layout-3 wp-block-group-is-layout-flex" style="min-height:100%">
|
||||
<figure class="wp-block-image size-large is-resized is-style-rounded is-layout-flow wp-block-image-is-layout-flow"><img data-dominant-color="898b75" data-has-transparency="false" loading="lazy" decoding="async" width="1024" height="732" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-1024x732.webp?resize=1024%2C732&ssl=1" alt="" class="not-transparent wp-image-64" style="--dominant-color: #898b75; width:667px;height:auto" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=1024%2C732&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=300%2C214&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=768%2C549&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=1536%2C1097&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?w=2048&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /><figcaption class="wp-element-caption">Dorset 2023, near Bridport. 50°41’28” N 2°42’32” W</figcaption></figure>
|
||||
<figure class="wp-block-image size-large is-resized is-style-rounded is-layout-flow wp-block-image-is-layout-flow"><img data-dominant-color="898b75" data-has-transparency="false" loading="lazy" decoding="async" width="1024" height="732" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-1024x732.webp?resize=1024%2C732&ssl=1" alt="" class="not-transparent wp-image-64" style="--dominant-color: #898b75; width:667px;height:auto" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=1024%2C732&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=300%2C214&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=768%2C549&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?resize=1536%2C1097&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DJI_0229-HDR-jpg.webp?w=2048&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /><figcaption class="wp-element-caption">Dorset 2023, near Bridport. 50°41'28” N 2°42'32” W</figcaption></figure>
|
||||
|
||||
<p>
|
||||
As well as traditional photoghraphy, I am trying to get to grips with my DJI Mini 2 for drone photography which opens up a whole new world of angles.
|
||||
|
|
@ -44,7 +44,7 @@ date: 2024-01-09T11:46:01+00:00
|
|||
</h2>
|
||||
|
||||
<p>
|
||||
I’ve been a keen photographer for many years. Currently I shoot with a Fujifilm X-T5, mainly with the 16-55mm f2.8. I also have the 70-300 f4-5. I’m making some effort to post my photos to <a href="https://www.instagram.com/ritualphotos/" target="_blank" rel="noreferrer noopener">instagram</a> more frequently.
|
||||
I've been a keen photographer for many years. Currently I shoot with a Fujifilm X-T5, mainly with the 16-55mm f2.8. I also have the 70-300 f4-5. I'm making some effort to post my photos to <a href="https://www.instagram.com/ritualphotos/" target="_blank" rel="noreferrer noopener">instagram</a> more frequently.
|
||||
</p>
|
||||
|
||||
<div class="wp-block-jetpack-instagram-gallery wp-block-jetpack-instagram-gallery__grid wp-block-jetpack-instagram-gallery__grid-columns-3 is-stacked-on-mobile" style="grid-gap: 10px; --latest-instagram-posts-spacing: 10px;">
|
||||
|
|
|
|||
12
content/gear/2024-02-11-server-rack-gear/index.md
Normal file
12
content/gear/2024-02-11-server-rack-gear/index.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: "Server Rack Gear - 2024 Edition"
|
||||
date: 2024-02-10T12:11:17Z
|
||||
url: /gear/server-rack-gear-2024-edition/
|
||||
categories:
|
||||
- Homelab
|
||||
tags:
|
||||
- rack
|
||||
|
||||
---
|
||||
|
||||
Sup
|
||||
10
content/gear/_index.md
Normal file
10
content/gear/_index.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Gear and Everyday Carry
|
||||
date: 2024-02-10
|
||||
publishdate: 2024-02-10
|
||||
---
|
||||
|
||||
I previously had a single "uses" page, but found it grew far too large to be managable.
|
||||
|
||||
Instead I am going to keep multiple pages, and add new versions over time so I can keep track
|
||||
of how my gear progresses.
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
---
|
||||
title: Moving all my stuff into a server rack – Part 1, The Rack
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2023-07-27T12:11:17Z
|
||||
url: /post/moving-all-my-stuff-into-a-server-rack-part-1-the-rack/
|
||||
categories:
|
||||
- Homelab
|
||||
tags:
|
||||
- rack
|
||||
|
||||
---
|
||||
My den, where I keep all my tech and hobby related safely away from children’s mitts and wife’s eyes was becoming quite chaotic. Between 2 full sized PCs, a NUC, my PS5, 3 monitors and all the associated networking and wiring it was becoming quite the rats nest.
|
||||
|
||||
It was time to do something about it, and I decided to move build a server rack containing all my stuff.
|
||||
|
||||
A full sized 42U rack wasn’t going to fit in a room that already had slightly low ceilings, so I needed something that would give me room for all my things – with a bit of room to grow – but not take up as much space as a conventional server rack.
|
||||
|
||||
I found quite a few options out there for mid-height racks and also reduced depth. I did keep an eye on facebook marketplace and eBay for a while for bargains, but nothing came up that wasn’t going to be at least a 6 hour round trip. I eventually found a (new) 27U rack that was 600mm x 600mm on eBay.
|
||||
|
||||
I won’t be linking to the specific one as the seller tried to scam me for postage after the sale:<figure class="wp-block-image size-large wp-duotone-duotone-1">
|
||||
|
||||
<img data-dominant-color="ededed" data-has-transparency="true" style="--dominant-color: #ededed;" loading="lazy" decoding="async" width="1024" height="370" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-at-15.38.50.png?resize=1024%2C370&ssl=1" alt="" class="has-transparency wp-image-88" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-at-15.38.50.png?resize=1024%2C370&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-at-15.38.50.png?resize=300%2C109&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-at-15.38.50.png?resize=768%2C278&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-at-15.38.50.png?w=1222&ssl=1 1222w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
Unfortunately for them I wasn’t born yesterday so they ended up posting it out on a pallet at their own cost, as it should have been. Fuckers.
|
||||
|
||||
Anyway…
|
||||
|
||||
### The Rack {.wp-block-heading}
|
||||
|
||||
The rack arrived and was relatively easy to put together without any assistance. I don’t think the same could have been said for a full 42U rack – so maybe keep that in mind when deciding what to get.<figure class="wp-block-image size-large">
|
||||
|
||||
<img data-dominant-color="6c6860" data-has-transparency="false" style="--dominant-color: #6c6860;" loading="lazy" decoding="async" width="768" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-768x1024.webp?resize=768%2C1024&ssl=1" alt="Server rack built and ready to be filled with stuff" class="not-transparent wp-image-90" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-scaled.webp?resize=768%2C1024&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-scaled.webp?resize=225%2C300&ssl=1 225w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-scaled.webp?resize=1152%2C1536&ssl=1 1152w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-scaled.webp?resize=1536%2C2048&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6156-scaled.webp?w=1920&ssl=1 1920w" sizes="(max-width: 768px) 100vw, 768px" data-recalc-dims="1" /> <figcaption class="wp-element-caption">The rack once built, please excuse the mess. It isn’t normally this bad.</figcaption></figure>
|
||||
|
||||
Overall the quality is good, it feels sturdy. My only gripe is that the front glass isn’t great – there are tiny abrasions on it if you get really close. From more than 30cm away though it looks great.
|
||||
|
||||
I added an LED strip around the inside without a diffuser for now, I quite like the harsh look. Everyone knows that LEDs make things go faster.
|
||||
|
||||
The next step is going to be decanting all my existing machines into server chassis that fit this particular rack and sort out my networking.
|
||||
|
||||
My advise for looking at server racks is:
|
||||
|
||||
### Know your space {.wp-block-heading}
|
||||
|
||||
Don’t get a 42U full depth rack if you don’t need it, and definitely don’t get one if you don’t have a spot for such a beast.
|
||||
|
||||
Consider the size of the server chassis you want to contain, how many U you actually need, and the depth.
|
||||
|
||||
Most of all, plan for the space you have. You might not even need a full size rack, StarTech do some <a href="https://amzn.to/3HfiAz6" target="_blank" rel="noreferrer noopener">cool little cabinets</a>.
|
||||
|
||||
### Keep an eye out for bargains {.wp-block-heading}
|
||||
|
||||
There were loads of bargains on facebook marketplace and eBay, but none of them were the right size for me. If you live in a city there are almost certainly going to be some in your area.
|
||||
|
||||
If you’re patient you can get a deal.
|
||||
|
||||
### Consider future expansion {.wp-block-heading}
|
||||
|
||||
I planned for about 50% future expansion over what I needed in terms of height. You might not need that, but it’s always good to have space for more projects. Also you can fill the spaces with blanks and stickers until then. Win/win.
|
||||
|
||||
That’s it! Good luck…
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 365 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
|
|
@ -0,0 +1,58 @@
|
|||
---
|
||||
title: Moving all my stuff into a server rack – Part 1, The Rack
|
||||
date: 2023-07-27T12:11:17Z
|
||||
url: /posts/moving-all-my-stuff-into-a-server-rack-part-1-the-rack/
|
||||
tags:
|
||||
- homelab
|
||||
- rack
|
||||
|
||||
---
|
||||
My den, where I keep all my tech and hobby related safely away from children's mitts and wife's eyes was becoming quite chaotic. Between 2 full sized PCs, a NUC, my PS5, 3 monitors and all the associated networking and wiring it was becoming quite the rats nest.
|
||||
|
||||
It was time to do something about it, and I decided to move build a server rack containing all my stuff.
|
||||
|
||||
A full sized 42U rack wasn't going to fit in a room that already had slightly low ceilings, so I needed something that would give me room for all my things - with a bit of room to grow - but not take up as much space as a conventional server rack.
|
||||
|
||||
I found quite a few options out there for mid-height racks and also reduced depth. I did keep an eye on facebook marketplace and eBay for a while for bargains, but nothing came up that wasn't going to be at least a 6 hour round trip. I eventually found a (new) 27U rack that was 600mm x 600mm on eBay.
|
||||
|
||||
I won't be linking to the specific one as the seller tried to scam me for postage after the sale:
|
||||
|
||||
{{< figure src="email-from-ebay-twats.png" title="An email trying to con me out of money" >}}
|
||||
|
||||
Unfortunately for them I wasn't born yesterday so they ended up posting it out on a pallet at their own cost, as it should have been. Fuckers.
|
||||
|
||||
Anyway...
|
||||
|
||||
### The Rack
|
||||
|
||||
The rack arrived and was relatively easy to put together without any assistance. I don't think the same could have been said for a full 42U rack - so maybe keep that in mind when deciding what to get.
|
||||
|
||||
{{< figure src="IMG_6156-1536x2048.webp" title="Excuse the mess - it is not normally this bad." >}}
|
||||
|
||||
Overall the quality is good, it feels sturdy. My only gripe is that the front glass isn't great - there are tiny abrasions on it if you get really close. From more than 30cm away though it looks great.
|
||||
|
||||
I added an LED strip around the inside without a diffuser for now, I quite like the harsh look. Everyone knows that LEDs make things go faster.
|
||||
|
||||
The next step is going to be decanting all my existing machines into server chassis that fit this particular rack and sort out my networking.
|
||||
|
||||
My advise for looking at server racks is:
|
||||
|
||||
### Know your space
|
||||
|
||||
Don't get a 42U full depth rack if you don't need it, and definitely don't get one if you don't have a spot for such a beast.
|
||||
|
||||
Consider the size of the server chassis you want to contain, how many U you actually need, and the depth.
|
||||
|
||||
Most of all, plan for the space you have. You might not even need a full size rack, StarTech do some [cool little cabinets](https://amzn.to/3HfiAz6).
|
||||
|
||||
### Keep an eye out for bargains
|
||||
|
||||
There were loads of bargains on facebook marketplace and eBay, but none of them were the right size for me. If you live in a city there are almost certainly going to be some in your area.
|
||||
|
||||
If you're patient you can get a deal.
|
||||
|
||||
### Consider future expansion
|
||||
|
||||
I planned for about 50% future expansion over what I needed in terms of height. You might not need that, but it's always good to have space for more projects. Also you can fill the spaces with blanks and stickers until then. Win/win.
|
||||
|
||||
That's it! Good luck...
|
||||
|
|
@ -1,59 +1,59 @@
|
|||
---
|
||||
title: Moving all my stuff into a server rack – Part 2, Server Chassis Shopping
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2023-08-02T12:38:53+00:00
|
||||
url: /post/moving-my-stuff-into-a-server-rack-part-2-server-chassis-shopping/
|
||||
categories:
|
||||
- Homelab
|
||||
url: /posts/moving-my-stuff-into-a-server-rack-part-2-server-chassis-shopping/
|
||||
tags:
|
||||
- homelab
|
||||
- rack
|
||||
- tech
|
||||
|
||||
---
|
||||
Server Chassis Shopping, say that three times fast.
|
||||
|
||||
If you haven’t alreay [seen Part 1 of this series][1] you might be interested in catching up on that first. In that post I go over picking the rack I did, and now it’s time to look at decanting my existing machines into chassis that will fit that server rack.
|
||||
If you haven't alreay [seen Part 1 of this series][1] you might be interested in catching up on that first. In that post I go over picking the rack I did, and now it's time to look at decanting my existing machines into chassis that will fit that server rack.
|
||||
|
||||
### Moving my gaming PC into a server chassis {.wp-block-heading}
|
||||
### Moving my gaming PC into a server chassis
|
||||
|
||||
The main issue with this was always going to be height, there was a chance I could fit the machine into a 3U chassis, but after a fair bit of poking it looked like my best bet was going to be a 4U chassis of some variety.
|
||||
|
||||
My gaming PC is currently water cooled, and while the chassis I found did technically support a water cooler, my cooler didn’t actually fit it. Which was quite annoying.
|
||||
My gaming PC is currently water cooled, and while the chassis I found did technically support a water cooler, my cooler didn't actually fit it. Which was quite annoying.
|
||||
|
||||
The chassis in question is the [Logic Case 4U Short][2]. Everything fit in pretty well with a lot of breathing room, but having to replace the CPU cooler was a bit of a pain. I needed to replace it with something not to tall, not too expensive, and available with next day delivery.
|
||||
|
||||
I found the <a href="https://amzn.to/41Tgdf5" target="_blank" rel="noreferrer noopener">be quiet! PURE ROCK SLIM 2 9.2cm</a> fit all my requirements and it did indeed arrive the next day so I was able to fit it and crack on.<figure class="wp-block-image size-large">
|
||||
I found the <a href="https://amzn.to/41Tgdf5" target="_blank" rel="noreferrer noopener">be quiet! PURE ROCK SLIM 2 9.2cm</a> fit all my requirements and it did indeed arrive the next day so I was able to fit it and crack on.
|
||||
|
||||
|
||||
<figure class="wp-block-image size-large">
|
||||
|
||||
<img data-dominant-color="6e6b65" data-has-transparency="false" style="--dominant-color: #6e6b65;" loading="lazy" decoding="async" width="768" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6163-768x1024.webp?resize=768%2C1024&ssl=1" alt="" class="not-transparent wp-image-119" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6163-jpg.webp?resize=768%2C1024&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6163-jpg.webp?resize=225%2C300&ssl=1 225w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6163-jpg.webp?resize=1152%2C1536&ssl=1 1152w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6163-jpg.webp?w=1295&ssl=1 1295w" sizes="(max-width: 768px) 100vw, 768px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
The height was actually a bit tighter than I would have liked, but it does fit kind of perfectly given the height.
|
||||
|
||||
I’ve not noticed any performance difference between using the water cooler and this fan based cooler, so happy days.
|
||||
I've not noticed any performance difference between using the water cooler and this fan based cooler, so happy days.
|
||||
|
||||
I replaced the fans on the front with the LED ones that used to live in my NAS case, because everyone knows LEDs make things go faster.
|
||||
|
||||
Wait for the end of the post to see a photo of everything in place in the rack…
|
||||
|
||||
### Moving my NAS into a server chassis {.wp-block-heading}
|
||||
### Moving my NAS into a server chassis
|
||||
|
||||
The NAS relocation was always going to be easier for me, my build has a small motherboard and low profile fans already.
|
||||
|
||||
I did, however, have another concern and that was future expandability. At the moment I only have 3 drives in it, but in the future I wanted to be able to expand this without having to think too hard. Unraid is JBOD (Just a Bunch of Disks) so my only real limit was SATA connections, and those are expandable.
|
||||
|
||||
I found another <a href="https://www.servercase.co.uk/shop/server-cases/rackmount/4u-chassis/4u-standard-chassis-15-x-35-hdd---480mm-short-depth-sc-h4-480/" target="_blank" rel="noreferrer noopener">pretty generic 4U Chassis that supports up to 15 3.5″ disks</a> – sorted!
|
||||
I found another <a href="https://www.servercase.co.uk/shop/server-cases/rackmount/4u-chassis/4u-standard-chassis-15-x-35-hdd---480mm-short-depth-sc-h4-480/" target="_blank" rel="noreferrer noopener">pretty generic 4U Chassis that supports up to 15 3.5″ disks</a> - sorted!
|
||||
|
||||
Moving the NAS into this chassis was completely uneventful. I did like the feature of the case that allows the disk drive section to flip upwards for easier access, it’s certainly going to make life easier when I get to adding more drives.<figure class="wp-block-image size-large">
|
||||
Moving the NAS into this chassis was completely uneventful. I did like the feature of the case that allows the disk drive section to flip upwards for easier access, it's certainly going to make life easier when I get to adding more drives.<figure class="wp-block-image size-large">
|
||||
|
||||
<img data-dominant-color="5b535f" data-has-transparency="false" style="--dominant-color: #5b535f;" loading="lazy" decoding="async" width="768" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-768x1024.webp?resize=768%2C1024&ssl=1" alt="Server rack with the cases in place" class="not-transparent wp-image-120" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-scaled.webp?resize=768%2C1024&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-scaled.webp?resize=225%2C300&ssl=1 225w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-scaled.webp?resize=1152%2C1536&ssl=1 1152w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-scaled.webp?resize=1536%2C2048&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6176-scaled.webp?w=1920&ssl=1 1920w" sizes="(max-width: 768px) 100vw, 768px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
One thing that I did want to do when moving all my stuff into a server rack was getting a UPS. While our power supply is good and pretty consistent, we do get the odd blip and I wanted to protect the system from being taken offline when they occurred.
|
||||
|
||||
I looked at various refurbished options and there were a lot of good deals to be had with batteries replaced. While I was looking there was a discount campaign going on on eBay so I had a look on there and found the Powercool 2U. I hadn’t heard of the brand but it had a 2 year warranty and a few reviews online said they were decent. It worked out quite cheap so I decided to risk it.
|
||||
I looked at various refurbished options and there were a lot of good deals to be had with batteries replaced. While I was looking there was a discount campaign going on on eBay so I had a look on there and found the Powercool 2U. I hadn't heard of the brand but it had a 2 year warranty and a few reviews online said they were decent. It worked out quite cheap so I decided to risk it.
|
||||
|
||||
I’ve been using that Powercool UPS for a few months now and can confirm it’s been solid, even keeping the system online when we were away on holiday and the power blipped offline – which was a lifesaver as Plex being offline would have been a right pain!
|
||||
I've been using that Powercool UPS for a few months now and can confirm it's been solid, even keeping the system online when we were away on holiday and the power blipped offline - which was a lifesaver as Plex being offline would have been a right pain!
|
||||
|
||||
In Part 3 I am planning on covering the PS5 being in the rack, and decoration… See you then.
|
||||
|
||||
[1]: https://danbaker.dev/post/moving-all-my-stuff-into-a-server-rack-part-1-the-rack/
|
||||
[1]: /posts/moving-all-my-stuff-into-a-server-rack-part-1-the-rack/
|
||||
[2]: https://www.scan.co.uk/products/logic-case-4u-short-depth-server-chassis-4x-35-hdd-450mm-depth-high-airflow-with-water-cooling-mount
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
title: Adding a double mini-monitor panel to my 19″ server cabinet
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2023-08-10T08:52:36+00:00
|
||||
url: /post/adding-a-double-mini-monitor-panel-to-my-19-server-cabinet/
|
||||
featured_image: /wp-content/uploads/2024/01/IMG_6358-edited.webp
|
||||
|
|
@ -12,20 +10,19 @@ enclosure:
|
|||
3466771
|
||||
video/mp4
|
||||
|
||||
categories:
|
||||
- Homelab
|
||||
tags:
|
||||
- homelab
|
||||
- rack
|
||||
- tech
|
||||
|
||||
---
|
||||
When I started the project to move all my computers into a single rack to save some space, and to look cool, I knew I wanted some kind of monitor in it.
|
||||
|
||||
There were a bunch of options for big and ugly KVM panels that pull out, but that wasn’t what I was looking for.
|
||||
There were a bunch of options for big and ugly KVM panels that pull out, but that wasn't what I was looking for.
|
||||
|
||||
In the AV world there are often small screen monitors in racks for keeping an eye on the broadcast outputs, but they are often quite expensive, and the monitor qualities also aren’t great unless you spend a _lot_.
|
||||
In the AV world there are often small screen monitors in racks for keeping an eye on the broadcast outputs, but they are often quite expensive, and the monitor qualities also aren't great unless you spend a _lot_.
|
||||
|
||||
## Display Panels {.wp-block-heading}
|
||||
## Display Panels
|
||||
|
||||
I decided the best thing to do would be to DIY something, there are [loads of small panels available][1] on Amazon, and if <a href="https://s.click.aliexpress.com/e/_DELKqBL" target="_blank" rel="noreferrer noopener">order from China</a> you can shave a few quid off as well.
|
||||
|
||||
|
|
@ -35,19 +32,19 @@ The panels arrived and I plugged them both into the Intel NUC I was planning on
|
|||
|
||||
<img data-dominant-color="443950" data-has-transparency="false" style="--dominant-color: #443950;" loading="lazy" decoding="async" width="1024" height="768" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-1024x768.webp?resize=1024%2C768&ssl=1" alt="" class="not-transparent wp-image-13" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-jpg.webp?resize=1024%2C768&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-jpg.webp?resize=300%2C225&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-jpg.webp?resize=768%2C576&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-jpg.webp?resize=1536%2C1152&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6352-jpg.webp?w=2018&ssl=1 2018w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
I planned to use one screen to display my Grafana dashboard (more on that in the future…) – and another to display video content, so I tested it out with Lord of the Rings.<figure class="wp-block-video"><video controls src="https://danbaker.dev/wp-content/uploads/2024/01/IMG_6353.mp4"></video></figure>
|
||||
I planned to use one screen to display my Grafana dashboard (more on that in the future…) - and another to display video content, so I tested it out with Lord of the Rings.<figure class="wp-block-video"><video controls src="https://danbaker.dev/wp-content/uploads/2024/01/IMG_6353.mp4"></video></figure>
|
||||
|
||||
With the monitors sorted, I got back to thinking about how to mount the things in the rack. I had two main options, either get someone to fabricate something, or DIY something myself.
|
||||
|
||||
## Monitor Mount Panel {.wp-block-heading}
|
||||
## Monitor Mount Panel
|
||||
|
||||
I can get access to a CO2 laser cutter with a decent sized bed that could cut something, but that would involve designing something to size, acquiring something to cut – metal? plastic? – and then actually doing it.
|
||||
I can get access to a CO2 laser cutter with a decent sized bed that could cut something, but that would involve designing something to size, acquiring something to cut - metal? plastic? - and then actually doing it.
|
||||
|
||||
Getting someone to fabricate me something was also an option, but obviously more expensive.
|
||||
|
||||
I was about to pull the trigger on making my own when I came across a company setting mounts designed to fit some of their own monitors – [Lilliput Direct][3]. They make a [19″ 4U dual panel bracket][4] which looked to be exactly what I was after.
|
||||
I was about to pull the trigger on making my own when I came across a company setting mounts designed to fit some of their own monitors - [Lilliput Direct][3]. They make a [19″ 4U dual panel bracket][4] which looked to be exactly what I was after.
|
||||
|
||||
After getting hold of the technical documentation from Keith at Lilliput, who was extremely helpful, I measured up and decided there would be enough of the surround of the monitor to attach to the panel without needing to use the standard mount points. I’d sort out the exact details later.<figure class="wp-block-image size-large wp-duotone-duotone-1">
|
||||
After getting hold of the technical documentation from Keith at Lilliput, who was extremely helpful, I measured up and decided there would be enough of the surround of the monitor to attach to the panel without needing to use the standard mount points. I'd sort out the exact details later.<figure class="wp-block-image size-large wp-duotone-duotone-1">
|
||||
|
||||
<img data-dominant-color="fdfdfd" data-has-transparency="false" style="--dominant-color: #fdfdfd;" loading="lazy" decoding="async" width="1024" height="383" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-1024x383.webp?resize=1024%2C383&ssl=1" alt="" class="not-transparent wp-image-22" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-jpg.webp?resize=1024%2C383&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-jpg.webp?resize=300%2C112&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-jpg.webp?resize=768%2C287&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-jpg.webp?resize=1536%2C574&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Schematic-jpg.webp?w=1913&ssl=1 1913w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
|
|
@ -57,7 +54,7 @@ The panel arrived and I was able to simply hot glue the mounting nuts provided w
|
|||
|
||||
You can just about make out the hot glued mounts on the rear in the above photo.
|
||||
|
||||
The only downside to this method is the original mounting holes on the panel remain, I am planning on either filling and painting these – or sticking something over it. Maybe more stickers.<figure class="wp-block-image size-large wp-duotone-unset-5">
|
||||
The only downside to this method is the original mounting holes on the panel remain, I am planning on either filling and painting these - or sticking something over it. Maybe more stickers.<figure class="wp-block-image size-large wp-duotone-unset-5">
|
||||
|
||||
<img data-dominant-color="1d1a64" data-has-transparency="false" style="--dominant-color: #1d1a64;" loading="lazy" decoding="async" width="768" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-768x1024.webp?resize=768%2C1024&ssl=1" alt="" class="not-transparent wp-image-16" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-jpg.webp?resize=768%2C1024&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-jpg.webp?resize=225%2C300&ssl=1 225w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-jpg.webp?w=1136&ssl=1 1136w" sizes="(max-width: 768px) 100vw, 768px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
---
|
||||
title: Moving all my stuff into a server rack – Part 3, Housing the PS5 and some decor
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2023-08-15T12:06:15+00:00
|
||||
url: /post/moving-stuff-into-a-server-rackhousing-the-ps5-and-some-decor/
|
||||
categories:
|
||||
- Homelab
|
||||
tags:
|
||||
- homelab
|
||||
- ps5
|
||||
- rack
|
||||
- tech
|
||||
|
|
@ -14,13 +11,13 @@ tags:
|
|||
---
|
||||
|
||||
|
||||
At this stage in the build I was about ready to find a way to house my PS5 in my rack, and do some general decor. If you haven’t checked out [Part 1][1] and [part 2][2] yet, check them out first!
|
||||
At this stage in the build I was about ready to find a way to house my PS5 in my rack, and do some general decor. If you haven't checked out [Part 1][1] and [part 2][2] yet, check them out first!
|
||||
|
||||
One of the main reasons for moving things into a rack in the first place was to clear _all_ my tech – or as much as possible. Housing the PS5 would clear a fair bit of room from the surfaces in my den, they are not small things.
|
||||
One of the main reasons for moving things into a rack in the first place was to clear _all_ my tech - or as much as possible. Housing the PS5 would clear a fair bit of room from the surfaces in my den, they are not small things.
|
||||
|
||||
Hunting around I found that there was one commercially available PS5 shelf for AV racks but it was ridiculously over priced, so ultimately I decided that just putting it on a shelf in the rack was going to be the best bet.
|
||||
|
||||
I found a few rack shelves, but the one I went for was a <a href="https://amzn.to/3U2wc8O" target="_blank" rel="noreferrer noopener">simple 1U shelf</a> with a depth of 250mm – enough for the PS5 to sit on.<figure class="wp-block-image size-large">
|
||||
I found a few rack shelves, but the one I went for was a <a href="https://amzn.to/3U2wc8O" target="_blank" rel="noreferrer noopener">simple 1U shelf</a> with a depth of 250mm - enough for the PS5 to sit on.<figure class="wp-block-image size-large">
|
||||
|
||||
<img data-dominant-color="414056" data-has-transparency="false" style="--dominant-color: #414056;" loading="lazy" decoding="async" width="1024" height="353" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-1024x353.webp?resize=1024%2C353&ssl=1" alt="Front view of the PS5 on a shelf" class="not-transparent wp-image-135" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-jpg.webp?resize=1024%2C353&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-jpg.webp?resize=300%2C103&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-jpg.webp?resize=768%2C265&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-jpg.webp?resize=1536%2C530&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6360-jpg.webp?resize=2048%2C706&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
|
|
@ -28,13 +25,13 @@ It would certainly look a bit better with a proper fronting panel on it, but for
|
|||
|
||||
<img data-dominant-color="37343a" data-has-transparency="false" style="--dominant-color: #37343a;" loading="lazy" decoding="async" width="1024" height="470" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-1024x470.webp?resize=1024%2C470&ssl=1" alt="Rear view of the PS5 on a shelf" class="not-transparent wp-image-136" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-jpg.webp?resize=1024%2C470&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-jpg.webp?resize=300%2C138&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-jpg.webp?resize=768%2C353&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-jpg.webp?resize=1536%2C705&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6361-1-jpg.webp?resize=2048%2C941&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
As you can see from the rear, it sits on the shelf nicely. Don’t worry about the cable management… I’ll deal with that later…
|
||||
As you can see from the rear, it sits on the shelf nicely. Don't worry about the cable management… I'll deal with that later…
|
||||
|
||||
### Decoration! {.wp-block-heading}
|
||||
### Decoration!
|
||||
|
||||
As you’ve probably seen from previous posts, I have some blanking panels installed to fill in the gaps that I have covered in stickers. Obviously this won’t be to everyones taste, but I love it.
|
||||
As you've probably seen from previous posts, I have some blanking panels installed to fill in the gaps that I have covered in stickers. Obviously this won't be to everyones taste, but I love it.
|
||||
|
||||
Blanking panels are available all over the place in a variety of U heights, <a href="https://amzn.to/3SkVzBq" target="_blank" rel="noreferrer noopener">mine are all 1U</a> so I can move things about without having to think about it too much. If you didn’t want to get stickers to decorate it, you could get vented blanking planels to switch up your air flow.
|
||||
Blanking panels are available all over the place in a variety of U heights, <a href="https://amzn.to/3SkVzBq" target="_blank" rel="noreferrer noopener">mine are all 1U</a> so I can move things about without having to think about it too much. If you didn't want to get stickers to decorate it, you could get vented blanking planels to switch up your air flow.
|
||||
|
||||
Packs of 50-100 stickers are available from your favourite online retailer in whatever themes you can imagine.
|
||||
|
||||
|
|
@ -42,7 +39,7 @@ I also added a chocobo standing in the bottom of the rack as there was a very ha
|
|||
|
||||
<img data-dominant-color="38417f" data-has-transparency="false" style="--dominant-color: #38417f;" loading="lazy" decoding="async" width="1024" height="880" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6619-1024x880.webp?resize=1024%2C880&ssl=1" alt="A chocobo made of plastic bricks" class="not-transparent wp-image-137" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6619-jpg.webp?resize=1024%2C880&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6619-jpg.webp?resize=300%2C258&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6619-jpg.webp?resize=768%2C660&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6619-jpg.webp?w=1151&ssl=1 1151w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
And with that, the rack is almost complete. I’ll cover networking in a completely separate post as that covers my whole house.<figure class="wp-block-image size-large">
|
||||
And with that, the rack is almost complete. I'll cover networking in a completely separate post as that covers my whole house.<figure class="wp-block-image size-large">
|
||||
|
||||
<img data-dominant-color="1d1964" data-has-transparency="false" style="--dominant-color: #1d1964;" loading="lazy" decoding="async" width="768" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-768x1024.webp?resize=768%2C1024&ssl=1" alt="A server rack with pink and blue LED lighting" class="not-transparent wp-image-138" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-scaled.webp?resize=768%2C1024&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-scaled.webp?resize=225%2C300&ssl=1 225w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-scaled.webp?resize=1152%2C1536&ssl=1 1152w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-scaled.webp?resize=1536%2C2048&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/IMG_6367-1-scaled.webp?w=1920&ssl=1 1920w" sizes="(max-width: 768px) 100vw, 768px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
|
|
@ -1,17 +1,18 @@
|
|||
---
|
||||
title: Upgrading our coffee experience – a review of Rave Coffee
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2023-10-31T11:45:21+00:00
|
||||
url: /post/upgrading-our-coffee-experience-a-review-of-rave-coffee/
|
||||
featured_image: /wp-content/uploads/2024/01/DSCF3116-jpg.webp
|
||||
categories:
|
||||
- 'Food & Drink'
|
||||
url: /posts/upgrading-our-coffee-experience-a-review-of-rave-coffee/
|
||||
tags:
|
||||
- 'food & drink'
|
||||
- coffee
|
||||
|
||||
cover:
|
||||
image: 'DSCF3116.jpg'
|
||||
alt: "A bag of Rave coffee next to a mug and jar of coffee beans"
|
||||
relative: false
|
||||
|
||||
---
|
||||
One of the first presents we bought ourselves after we got married was a proper bean-to-cup coffee machine. For the longest time we just picked up whichever beans were cheap enough and easily available, be it from large online retailers or the local supermarket. We really needed to upgrade our coffee experience – here is my review of Rave Coffee.
|
||||
One of the first presents we bought ourselves after we got married was a proper bean-to-cup coffee machine. For the longest time we just picked up whichever beans were cheap enough and easily available, be it from large online retailers or the local supermarket. We really needed to upgrade our coffee experience - here is my review of Rave Coffee.
|
||||
|
||||
More recently we decided we should be focusing on quality over quantity. Moreso we had become concerned over the <a href="https://www.theworldcounts.com/challenges/consumption/foods-and-beverages/environmental-effects-of-coffee-production" target="_blank" rel="noreferrer noopener">environmental impact</a> our coffee habits were having.
|
||||
|
||||
|
|
@ -21,33 +22,33 @@ A friend suggested we try Cirencester based <a href="https://i.refs.cc/m9Xi83Rv?
|
|||
|
||||
<img data-dominant-color="7c6d68" data-has-transparency="false" style="--dominant-color: #7c6d68;" loading="lazy" decoding="async" width="1024" height="1024" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-1024x1024.webp?resize=1024%2C1024&ssl=1" alt="Rave coffee with a pumpkin coffee mug and a jar of coffee beans" class="not-transparent wp-image-152" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?resize=1024%2C1024&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?resize=300%2C300&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?resize=150%2C150&ssl=1 150w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?resize=768%2C768&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?resize=1536%2C1536&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3114-jpg.webp?w=2048&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
### The Coffee {.wp-block-heading}
|
||||
### The Coffee
|
||||
|
||||
Despite the photos in this post being of The Italian Job Blend, which is very nice in itself I am going to be talking about their _Now That’s What I Call Coffee Nº 2023_ blend that is currently in our machine.
|
||||
Despite the photos in this post being of The Italian Job Blend, which is very nice in itself I am going to be talking about their _Now That's What I Call Coffee Nº 2023_ blend that is currently in our machine.
|
||||
|
||||
This coffee truly lives up to its name, offering a symphony of flavors that left us singing its praises.
|
||||
|
||||
First and foremost, the aroma of this coffee is amazing. As soon as you open the bag, you’re greeted with a rich and inviting fragrance that hints at the magic within. The beans are beautifully roasted to a 4/5 level, hitting that perfect balance between depth and brightness.
|
||||
First and foremost, the aroma of this coffee is amazing. As soon as you open the bag, you're greeted with a rich and inviting fragrance that hints at the magic within. The beans are beautifully roasted to a 4/5 level, hitting that perfect balance between depth and brightness.
|
||||
|
||||
Rave describe this coffee as tasting of milk chocolate, blackberry and toffee. Whilst I am not amazing at detecting these subtle tastes in anything I did get the sense of the milk chocolate, creating a velvety and indulgent experience. It’s a delightful taste that perfectly complements the robust coffee base.
|
||||
Rave describe this coffee as tasting of milk chocolate, blackberry and toffee. Whilst I am not amazing at detecting these subtle tastes in anything I did get the sense of the milk chocolate, creating a velvety and indulgent experience. It's a delightful taste that perfectly complements the robust coffee base.
|
||||
|
||||
One of my favourite things about this coffee is its ability to cater to a variety of tastes – my wife enjoys her coffee black, I have mine with milk or cream. All three have proved a great success with us. This blend is versatile enough to accommodate various brewing methods and preferences.
|
||||
One of my favourite things about this coffee is its ability to cater to a variety of tastes - my wife enjoys her coffee black, I have mine with milk or cream. All three have proved a great success with us. This blend is versatile enough to accommodate various brewing methods and preferences.
|
||||
|
||||
_Now That’s What I Call Coffee Nº 2023_ is a must-try for anyone seeking a coffee that goes beyond the ordinary. With its captivating blend of milk chocolate, blackberry, and toffee, this coffee earns a well-deserved spot among our favorites.
|
||||
_Now That's What I Call Coffee Nº 2023_ is a must-try for anyone seeking a coffee that goes beyond the ordinary. With its captivating blend of milk chocolate, blackberry, and toffee, this coffee earns a well-deserved spot among our favorites.
|
||||
|
||||
### The Company {.wp-block-heading}
|
||||
### The Company
|
||||
|
||||
As I mentioned at the start, the coffee alone wasn’t all we were looking for. We also wanted a coffee supplier that was in some alignment with our values.
|
||||
As I mentioned at the start, the coffee alone wasn't all we were looking for. We also wanted a coffee supplier that was in some alignment with our values.
|
||||
|
||||
Good news is, Rave Coffee seem quite environmentally minded. They are a member of <a href="https://ravecoffee.co.uk/pages/1-for-the-planet" target="_blank" rel="noreferrer noopener">1% For The Planet</a> – which donates 1% of sales (not profits) to environmental causes.
|
||||
Good news is, Rave Coffee seem quite environmentally minded. They are a member of <a href="https://ravecoffee.co.uk/pages/1-for-the-planet" target="_blank" rel="noreferrer noopener">1% For The Planet</a> - which donates 1% of sales (not profits) to environmental causes.
|
||||
|
||||
They’re also not that far away from us geographically, so hopefully that cuts down on the carbon footprint a little bit.
|
||||
They're also not that far away from us geographically, so hopefully that cuts down on the carbon footprint a little bit.
|
||||
|
||||
Their website is really usable too. Sounds like a weird thing to say, but it’s obscene how often a companies website seems to be actively trying to stop the user actually using it.
|
||||
Their website is really usable too. Sounds like a weird thing to say, but it's obscene how often a companies website seems to be actively trying to stop the user actually using it.
|
||||
|
||||
The price is probably 50% more than we were paying for coffee previously, but with our _quality not quantity_ mindset it’s working out about the same on our monthly expenditure. They aren’t cheap, but they are really good.
|
||||
The price is probably 50% more than we were paying for coffee previously, but with our _quality not quantity_ mindset it's working out about the same on our monthly expenditure. They aren't cheap, but they are really good.
|
||||
|
||||
I don’t have much more to say, the coffee we’ve had so far has been fantastic. Give it a go.
|
||||
I don't have much more to say, the coffee we've had so far has been fantastic. Give it a go.
|
||||
|
||||
Before I sign off, can we just take a moment to appreciate how cool this pumpkin mug is? <figure class="wp-block-image size-large is-style-rounded">
|
||||
|
||||
|
|
@ -1,20 +1,17 @@
|
|||
---
|
||||
title: Increasing upload size for WordPress docker on Unraid
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2024-01-09T13:09:17+00:00
|
||||
url: /post/increasing-upload-size-for-wordpress-docker-on-unraid/
|
||||
categories:
|
||||
- Unraid
|
||||
tags:
|
||||
- unraid
|
||||
- wordpress
|
||||
|
||||
---
|
||||
If you’re using unraid and want to use the docker engine to run your wordpress site, you’re likely going to want to increase the maximum upload size.
|
||||
If you're using unraid and want to use the docker engine to run your wordpress site, you're likely going to want to increase the maximum upload size.
|
||||
|
||||
This is the simplest way I found of doing it, though I am sure there are other methods.
|
||||
|
||||
First locate the `.htaccess` file in your webroot. If you don’t know where to find the appdata path you can just edit the container and look for the following option:<figure class="wp-block-image size-large wp-duotone-duotone-1">
|
||||
First locate the `.htaccess` file in your webroot. If you don't know where to find the appdata path you can just edit the container and look for the following option:<figure class="wp-block-image size-large wp-duotone-duotone-1">
|
||||
|
||||
<img data-dominant-color="efeceb" data-has-transparency="false" style="--dominant-color: #efeceb;" loading="lazy" decoding="async" width="1024" height="86" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-125819.png?resize=1024%2C86&ssl=1" alt="" class="not-transparent wp-image-73" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-125819.png?resize=1024%2C86&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-125819.png?resize=300%2C25&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-125819.png?resize=768%2C65&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/Screenshot-2024-01-09-125819.png?w=1435&ssl=1 1435w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
|
|
@ -22,7 +19,7 @@ Depending on your setup you may need to edit the file permissions so it can be e
|
|||
|
||||
<pre class="wp-block-code has-medium-font-size"><code>cd /mnt/user/appdata/rest_of_path_you_found_above && chmod 777 .htaccess</code></pre>
|
||||
|
||||
This will make the file writable by every group. If you’ve got security concerns you should probably not be following instructions found on someones blog without understanding them.
|
||||
This will make the file writable by every group. If you've got security concerns you should probably not be following instructions found on someones blog without understanding them.
|
||||
|
||||
Now edit the file however you wish, either using a terminal based editor like `nano` or opening the file in something on your local machine.
|
||||
|
||||
|
|
@ -33,8 +30,8 @@ php_value post_max_size 500M</code></pre>
|
|||
|
||||
Adjust the values as you see fit.
|
||||
|
||||
In the latest version of WordPress this didn’t seem to do the trick for me, I also had to edit the value stored somewhere in WordPress’ gubbins… To make this simpler I just used the plugin [Increase Maximum Upload File Size][1]. Navigating to the plugins page in your install and change the drop down. Hit Apply. Done.
|
||||
In the latest version of WordPress this didn't seem to do the trick for me, I also had to edit the value stored somewhere in WordPress' gubbins… To make this simpler I just used the plugin [Increase Maximum Upload File Size][1]. Navigating to the plugins page in your install and change the drop down. Hit Apply. Done.
|
||||
|
||||
That’s it! Let me know if there’s a way to do this without the plugin.
|
||||
That's it! Let me know if there's a way to do this without the plugin.
|
||||
|
||||
[1]: https://wordpress.org/plugins/upload-max-file-size/
|
||||
|
|
@ -1,41 +1,38 @@
|
|||
---
|
||||
title: Cutting off from Compulsive Connectivity
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2024-01-24T15:11:51+00:00
|
||||
url: /post/cutting-off-from-compulsive-connectivity/
|
||||
categories:
|
||||
- Digital Minimalism
|
||||
tags:
|
||||
- 'digital minimalism'
|
||||
- tech
|
||||
|
||||
---
|
||||
Towards the end of 2023, a growing unease prompted me to seriously evaluate my device and app usage. I found myself habitually reaching for my phone, ostensibly to “just check”. Recognizing that I wasn’t alone in this sentiment, I delved into the realm of digital minimalism and connected with various communities centered around this philosophy.
|
||||
Towards the end of 2023, a growing unease prompted me to seriously evaluate my device and app usage. I found myself habitually reaching for my phone, ostensibly to "just check". Recognizing that I wasn't alone in this sentiment, I delved into the realm of digital minimalism and connected with various communities centered around this philosophy.
|
||||
|
||||
The main issue that surfaced was my persistent need to stay connected— whether through Discord, iMessage, Reddit, or email. I found myself compulsively checking these apps, only to discover that I was missing out on nothing substantial. Even with the majority of notifications disabled, allowing people instant access to my time and attention started to feel very wrong.
|
||||
|
||||
I wanted to cut people off, and cut myself off.
|
||||
|
||||
I found the book <a href="https://amzn.to/3UaFteI" target="_blank" rel="noreferrer noopener">Digital Minimalism: Choosing a Focused Life in a Noisy World</a> by Cal Newport, which I can highly recommend. As with all books like this, all the methods won’t work for everyone. I am choosing to implement some of the suggestions, and then going far more extreme and deciding to put my iPhone in a box outside of work hours.
|
||||
I found the book [Digital Minimalism: Choosing a Focused Life in a Noisy World](https://amzn.to/3UaFteI) by Cal Newport, which I can highly recommend. As with all books like this, all the methods won't work for everyone. I am choosing to implement some of the suggestions, and then going far more extreme and deciding to put my iPhone in a box outside of work hours.
|
||||
|
||||
There are multiple issues which will need overcoming and I want to address them all in individual posts as I come up with proper solutions, here is the rough list so far:
|
||||
|
||||
* **Watch** – I currently use an Apple Watch
|
||||
* **Phone** – Yes, the obvious iPhone replacement quest looms. But not just any replacement — a humble dumb phone dedicated to emergency calls and texts. A bold move towards essential communication without the smartphone overwhelm.
|
||||
* **Camera** – With the iPhone out of the picture, my portable camera dilemma surfaces..
|
||||
* **Music** – No iPhone, no portable music player. The silence is about to be shattered by a new rhythm, a device solely devoted to delivering musical bliss.
|
||||
* **Gaming** – Portable gaming system enthusiasts, fear not! The absence of an iPhone won’t hinder the gaming experience. A new, dedicated device is on the horizon.
|
||||
* **Notes** – Joining the league of paper aficionados, I’m set to conquer the world of note-taking without the digital distractions.
|
||||
* **Reading** – I’m finally going to get a kindle I think.
|
||||
* **Watch** - I currently use an Apple Watch
|
||||
* **Phone** - Yes, the obvious iPhone replacement quest looms. But not just any replacement — a humble dumb phone dedicated to emergency calls and texts. A bold move towards essential communication without the smartphone overwhelm.
|
||||
* **Camera** - With the iPhone out of the picture, my portable camera dilemma surfaces..
|
||||
* **Music** - No iPhone, no portable music player. The silence is about to be shattered by a new rhythm, a device solely devoted to delivering musical bliss.
|
||||
* **Gaming** - Portable gaming system enthusiasts, fear not! The absence of an iPhone won't hinder the gaming experience. A new, dedicated device is on the horizon.
|
||||
* **Notes** - Joining the league of paper aficionados, I'm set to conquer the world of note-taking without the digital distractions.
|
||||
* **Reading** - I'm finally going to get a kindle I think.
|
||||
|
||||
Those are the main areas to address if I want to cut my smart phone usage in the evenings and weekends.
|
||||
|
||||
The first one, the watch, was actually pretty easy to address. I’ve always admired the retro styling of the old-school Casio watches so I picked up one of those for around £10 and have been wearing it for a week already. I haven’t missed the notifications on my wrist and I really don’t care how many steps I haven’t taken in the day so it’s really not been much of a transition.<figure class="wp-block-image size-large is-style-rounded">
|
||||
The first one, the watch, was actually pretty easy to address. I've always admired the retro styling of the old-school Casio watches so I picked up one of those for around £10 and have been wearing it for a week already. I haven't missed the notifications on my wrist and I really don't care how many steps I haven't taken in the day so it's really not been much of a transition.<figure class="wp-block-image size-large is-style-rounded">
|
||||
|
||||
<img data-dominant-color="5f3655" data-has-transparency="false" style="--dominant-color: #5f3655;" loading="lazy" decoding="async" width="1024" height="683" src="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-1024x683.webp?resize=1024%2C683&ssl=1" alt="Casio digital watch on pink and purple background" class="not-transparent wp-image-170" srcset="https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-jpg.webp?resize=1024%2C683&ssl=1 1024w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-jpg.webp?resize=300%2C200&ssl=1 300w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-jpg.webp?resize=768%2C512&ssl=1 768w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-jpg.webp?resize=1536%2C1024&ssl=1 1536w, https://i0.wp.com/danbaker.dev/wp-content/uploads/2024/01/DSCF3156-jpg.webp?w=2048&ssl=1 2048w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /> </figure>
|
||||
|
||||
I do really enjoy wearing this strangely, it’s lighter and smaller than the Apple Watch so is quite a bit more comfortable over long periods.
|
||||
I do really enjoy wearing this strangely, it's lighter and smaller than the Apple Watch so is quite a bit more comfortable over long periods.
|
||||
|
||||
Yet, a peculiar phenomenon has emerged—the phantom notifications. It’s as if my wrist still expects the familiar buzz of alerts, a reflex ingrained by the smartphone era. A quirky reminder of the digital transition underway. Here’s hoping that this sensation fades into the background as I fully embrace the simplicity of my new wrist companion.
|
||||
Yet, a peculiar phenomenon has emerged—the phantom notifications. It's as if my wrist still expects the familiar buzz of alerts, a reflex ingrained by the smartphone era. A quirky reminder of the digital transition underway. Here's hoping that this sensation fades into the background as I fully embrace the simplicity of my new wrist companion.
|
||||
|
||||
Join me on my journey as I quest for the perfect dumb phone, a reliable portable camera, a dedicated music player, and a gaming partner—all already in progress. Stay tuned for updates.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 146 KiB |
|
|
@ -1,22 +1,25 @@
|
|||
---
|
||||
title: Turning my smart phone into a dumb phone
|
||||
author: Dan
|
||||
type: post
|
||||
title: "Turning my smart phone into a dumb phone"
|
||||
url: "/posts/turning-my-smartphone-into-a-dumb-phone"
|
||||
date: 2024-02-05T13:55:21+00:00
|
||||
url: /post/turning-my-smart-phone-into-a-dumb-phone/
|
||||
featured_image: /wp-content/uploads/2024/02/DSCF3198-Enhanced-NR-jpg.webp
|
||||
categories:
|
||||
- Digital Minimalism
|
||||
tags:
|
||||
- dumbphone
|
||||
- tech
|
||||
- 'digital minimalism'
|
||||
- 'dumbphone'
|
||||
- 'tech'
|
||||
|
||||
|
||||
cover:
|
||||
image: 'DSCF3198-Enhanced-NR-jpg.webp'
|
||||
alt: "<alt text>"
|
||||
caption: "<text>"
|
||||
relative: false
|
||||
---
|
||||
|
||||
One of the first things I wanted to explore in my [mission to cut myself off from compulsive connectivity][1] was to find the options for turning my smart phone into a dumb phone.
|
||||
|
||||
The main aim was to make my phone as uninteresting as possible. One of the main tips thrown around for this is to turn your phone greyscale. Luckily on the iPhone that is quite simple, and you can also setup a toggle button. I found this feature to be quite useful as accessibility on the internet is really quite terrible – you don’t know annoyance until you try and submit a form and it tells you there’s an error but there’s no obvious indiciation as to what that error is unless you’re viewing the page in colour.
|
||||
The main aim was to make my phone as uninteresting as possible. One of the main tips thrown around for this is to turn your phone greyscale. Luckily on the iPhone that is quite simple, and you can also setup a toggle button. I found this feature to be quite useful as accessibility on the internet is really quite terrible - you don't know annoyance until you try and submit a form and it tells you there's an error but there's no obvious indiciation as to what that error is unless you're viewing the page in colour.
|
||||
|
||||
### Enable Greyscale Mode {.wp-block-heading}
|
||||
### Enable Greyscale Mode
|
||||
|
||||
1. Go to iOS **Settings** > **Accessibility**
|
||||
2. Tap on **Display & Text Size**
|
||||
|
|
@ -24,7 +27,7 @@ The main aim was to make my phone as uninteresting as possible. One of the main
|
|||
4. Toggle the switch to turn on **Color Filters**
|
||||
5. Tap on **Grayscale** to select it.
|
||||
|
||||
### Setup a Toggle Shortcut {.wp-block-heading}
|
||||
### Setup a Toggle Shortcut
|
||||
|
||||
1. Go to iOS **Settings** > **Accessibility**
|
||||
2. Scroll down to **Accessibility Shortcut** > select **Color Filter**
|
||||
|
|
@ -44,8 +47,8 @@ If I want to access any other apps I have to go into the library and manually se
|
|||
|
||||
So far it has really restricted my use of these apps. The added few steps whenever I pull my phone out has really helped.
|
||||
|
||||
### Turning my smart phone into a dumb phone {.wp-block-heading}
|
||||
### Turning my smart phone into a dumb phone
|
||||
|
||||
I’ve been using this system for a couple of weeks now, and while it works, I still want to be able to turn off my iPhone completely in the evenings and weekends. Due to needing banking apps to approve payments, and various functions required for my day-to-day job, I need to keep the iPhone. I am going to be looking for alternatives so I can walk away from it.
|
||||
I've been using this system for a couple of weeks now, and while it works, I still want to be able to turn off my iPhone completely in the evenings and weekends. Due to needing banking apps to approve payments, and various functions required for my day-to-day job, I need to keep the iPhone. I am going to be looking for alternatives so I can walk away from it.
|
||||
|
||||
[1]: https://danbaker.dev/post/cutting-off-from-compulsive-connectivity/
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: Leap Year.
|
||||
author: Dan
|
||||
type: post
|
||||
date: 2024-02-29T09:42:00+00:00
|
||||
url: /?p=164
|
||||
categories:
|
||||
- Life
|
||||
tags:
|
||||
- nonsense
|
||||
|
||||
---
|
||||
That’s it. That’s the post. I just wanted to post something on February 29th.
|
||||
|
||||
|
||||
|
||||
<div class="wp-block-jetpack-gif aligncenter">
|
||||
<figure>
|
||||
|
||||
<div class="wp-block-jetpack-gif-wrapper" style="padding-top:56%">
|
||||
</div></figure>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
When I am undisputed ruler of the world, all February 29ths will be bank holidays. Decent ones too, like Christmas.
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
+++
|
||||
title = 'My First Post'
|
||||
date = 2024-02-09T12:11:17Z
|
||||
draft = false
|
||||
+++
|
||||
# This is a test
|
||||
|
||||
What's up?
|
||||
|
||||
|
||||
hi
|
||||
|
|
@ -3,6 +3,7 @@ title: Uses
|
|||
author: Dan
|
||||
type: page
|
||||
date: 2024-01-10T12:26:03+00:00
|
||||
hideMeta: true
|
||||
|
||||
---
|
||||
<div class="wp-block-group alignfull has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="padding-top:0;padding-right:var(--wp--preset--spacing--50);padding-bottom:0;padding-left:var(--wp--preset--spacing--50)">
|
||||
|
|
@ -31,52 +32,52 @@ date: 2024-01-10T12:26:03+00:00
|
|||
|
||||
|
||||
|
||||
### Computers {.wp-block-heading}
|
||||
### Computers
|
||||
|
||||
* **Windows PC**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Mainly gaming</mark>_
|
||||
* **Windows PC**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Mainly gaming</mark>_
|
||||
* Ryzen 5 3600, 32gb RAM, nvidia 2060
|
||||
* Lives in a [Logic Case 4U Chassis][1]
|
||||
* **MacBook Pro** #1 – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Daily driver development machine</mark>_
|
||||
* **MacBook Pro** #1 - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Daily driver development machine</mark>_
|
||||
* macOS
|
||||
* 2022 13 inch M2, 16gb RAM
|
||||
* **MacBook Pro** #2 – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Occasional use, old boy</mark>_
|
||||
* **MacBook Pro** #2 - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Occasional use, old boy</mark>_
|
||||
* Arch Linux
|
||||
* 2015 13 inch i5, 8gb RAM
|
||||
* **Unraid Server**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Docker and VM host, NAS</mark>_
|
||||
* **Unraid Server**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Docker and VM host, NAS</mark>_
|
||||
* <a href="https://unraid.net/" target="_blank" rel="noreferrer noopener">Unraid</a>
|
||||
* i5-12400, 32gb RAM, 8TB storage
|
||||
* Lives in a pretty <a href="https://www.servercase.co.uk/shop/server-cases/rackmount/4u-chassis/4u-standard-chassis-15-x-35-hdd---480mm-short-depth-sc-h4-480/" target="_blank" rel="noreferrer noopener">generic 4U NAS Chassis</a>
|
||||
* **Intel NUC**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Docker host</mark>_
|
||||
* **Intel NUC**<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-3-color">*</mark> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Docker host</mark>_
|
||||
* Ubuntu
|
||||
* i5-3259, 16gb RAM
|
||||
|
||||
### Peripherals {.wp-block-heading}
|
||||
### Peripherals
|
||||
|
||||
* **Monitor**: <a href="https://amzn.to/3TNxrIK" target="_blank" rel="noreferrer noopener">4K 32″ Samsung</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Newer models are avaiable. I have a few other monitors I also use depending on the situation. </mark>_
|
||||
* **Keyboard**: <a href="https://amzn.to/3vD9QQL" target="_blank" rel="noreferrer noopener">Skyloong GK75</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I liked it so much I bought a spare. I sometimes use a <a href="https://amzn.to/41Qp0hO" target="_blank" rel="noreferrer noopener">Ducky One 3</a> but it has a few sticky switches and I can’t be bothered to replace them.</mark>_
|
||||
* **Mouse**: <a href="https://amzn.to/3TR2143" target="_blank" rel="noreferrer noopener">Razer Naga X</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I like all the buttons.</mark>_
|
||||
* **Monitor**: <a href="https://amzn.to/3TNxrIK" target="_blank" rel="noreferrer noopener">4K 32″ Samsung</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Newer models are avaiable. I have a few other monitors I also use depending on the situation. </mark>_
|
||||
* **Keyboard**: <a href="https://amzn.to/3vD9QQL" target="_blank" rel="noreferrer noopener">Skyloong GK75</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I liked it so much I bought a spare. I sometimes use a <a href="https://amzn.to/41Qp0hO" target="_blank" rel="noreferrer noopener">Ducky One 3</a> but it has a few sticky switches and I can't be bothered to replace them.</mark>_
|
||||
* **Mouse**: <a href="https://amzn.to/3TR2143" target="_blank" rel="noreferrer noopener">Razer Naga X</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I like all the buttons.</mark>_
|
||||
* **Headphones**:
|
||||
* <a href="https://amzn.to/47yZAGy" target="_blank" rel="noreferrer noopener">Airpods Pro</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">These are so reliable and sound great. </mark>_
|
||||
* <a href="https://amzn.to/3vweaS5" target="_blank" rel="noreferrer noopener">SteelSeries Arctis Nova Pro</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Sound quality is amazing, quick swap battery that charges on the little dock thing is great.</mark>_
|
||||
* <a href="https://amzn.to/47yZAGy" target="_blank" rel="noreferrer noopener">Airpods Pro</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">These are so reliable and sound great. </mark>_
|
||||
* <a href="https://amzn.to/3vweaS5" target="_blank" rel="noreferrer noopener">SteelSeries Arctis Nova Pro</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Sound quality is amazing, quick swap battery that charges on the little dock thing is great.</mark>_
|
||||
|
||||
### Networking {.wp-block-heading}
|
||||
### Networking
|
||||
|
||||
_Coming soon…_
|
||||
|
||||
### Photography {.wp-block-heading}
|
||||
### Photography
|
||||
|
||||
* **Body**: <a href="https://amzn.to/3SkxIBA" target="_blank" rel="noreferrer noopener">Fujifilm X-T5</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Amazing camera, retro styling, easy access to configuration without having to go through digital menus. </mark>_
|
||||
* **Body**: <a href="https://amzn.to/3SkxIBA" target="_blank" rel="noreferrer noopener">Fujifilm X-T5</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Amazing camera, retro styling, easy access to configuration without having to go through digital menus. </mark>_
|
||||
* **Lenses**:
|
||||
* <a href="https://amzn.to/48BuDD6" target="_blank" rel="noreferrer noopener">Fujifilm XF 16-55mm f/2.8 R LM WR</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Probably the best lens that exists for the fuji system, like carrying 4 primes in one. Downside is the size and weight, but it’s more than worth it.</mark>_
|
||||
* <a href="https://amzn.to/47yzune" target="_blank" rel="noreferrer noopener">Fujifilm XF 70-300mm f/4-5.6 R LM OIS WR</a> – <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">_Absolute banger of a zoom lens! If we’re walking in the woods I generally have this lens on, it’s so useful._</mark>
|
||||
* <a href="https://amzn.to/48BuDD6" target="_blank" rel="noreferrer noopener">Fujifilm XF 16-55mm f/2.8 R LM WR</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Probably the best lens that exists for the fuji system, like carrying 4 primes in one. Downside is the size and weight, but it's more than worth it.</mark>_
|
||||
* <a href="https://amzn.to/47yzune" target="_blank" rel="noreferrer noopener">Fujifilm XF 70-300mm f/4-5.6 R LM OIS WR</a> - <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">_Absolute banger of a zoom lens! If we're walking in the woods I generally have this lens on, it's so useful._</mark>
|
||||
* **Straps**:
|
||||
* <a href="https://amzn.to/3vEAYiy" target="_blank" rel="noreferrer noopener">Peak Design Wrist Strap</a> –<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color"> _I love the Peak Design system, so handy to switch between the wrist strap and neck strap below. If I don’t have a child holding my hand I’ll try and use the wrist strap._</mark>
|
||||
* <a href="https://amzn.to/48TM3KQ" target="_blank" rel="noreferrer noopener">Peak Design Sliding Strap</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I love the grippy option around the neck to switch between holding the camera more in place or letting in move a bit freely.</mark>_
|
||||
* **Tripod**: <a href="https://amzn.to/3O5m6Qu" target="_blank" rel="noreferrer noopener">Manfrotto Befree</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">It’s light and stable. Though I don’t use a tripod much since getting the X-T5 as the image stabilisation is so good, still handy to have.</mark>_
|
||||
* **Drone**: <a href="https://amzn.to/48suP7z" target="_blank" rel="noreferrer noopener">DJI Mini 2</a> – _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Very easy to fly and good picture and video quality. I really want to use this more.</mark>_
|
||||
* **Bag**: <a href="https://amzn.to/48BnW3U" target="_blank" rel="noreferrer noopener">Lowepro Flipside Trek BP 250 AW</a> –_<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color"> I spent a stupid amount of time researching bags. This one has a waterproof cover, easy access to gear, and enough room to fit my camera, lenses, and drone with enough room left over for my lunch.</mark>_
|
||||
* <a href="https://amzn.to/3vEAYiy" target="_blank" rel="noreferrer noopener">Peak Design Wrist Strap</a> -<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color"> _I love the Peak Design system, so handy to switch between the wrist strap and neck strap below. If I don't have a child holding my hand I'll try and use the wrist strap._</mark>
|
||||
* <a href="https://amzn.to/48TM3KQ" target="_blank" rel="noreferrer noopener">Peak Design Sliding Strap</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">I love the grippy option around the neck to switch between holding the camera more in place or letting in move a bit freely.</mark>_
|
||||
* **Tripod**: <a href="https://amzn.to/3O5m6Qu" target="_blank" rel="noreferrer noopener">Manfrotto Befree</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">It's light and stable. Though I don't use a tripod much since getting the X-T5 as the image stabilisation is so good, still handy to have.</mark>_
|
||||
* **Drone**: <a href="https://amzn.to/48suP7z" target="_blank" rel="noreferrer noopener">DJI Mini 2</a> - _<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color">Very easy to fly and good picture and video quality. I really want to use this more.</mark>_
|
||||
* **Bag**: <a href="https://amzn.to/48BnW3U" target="_blank" rel="noreferrer noopener">Lowepro Flipside Trek BP 250 AW</a> -_<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-2-color"> I spent a stupid amount of time researching bags. This one has a waterproof cover, easy access to gear, and enough room to fit my camera, lenses, and drone with enough room left over for my lunch.</mark>_
|
||||
|
||||
### Software {.wp-block-heading}
|
||||
### Software
|
||||
|
||||
_Coming soon…_
|
||||
|
||||
|
|
|
|||
5
go.mod
Normal file
5
go.mod
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
module github.com/unbolt/ritual.sh
|
||||
|
||||
go 1.21.7
|
||||
|
||||
require github.com/UtkarshVerma/hugo-modules/responsive-images v0.0.0-20231218022719-c138711ef070 // indirect
|
||||
2
go.sum
Normal file
2
go.sum
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
github.com/UtkarshVerma/hugo-modules/responsive-images v0.0.0-20231218022719-c138711ef070 h1:uMV+dVf78Ro9ee1yXFem1tUYJnliuKZpvg7Noyu1jDI=
|
||||
github.com/UtkarshVerma/hugo-modules/responsive-images v0.0.0-20231218022719-c138711ef070/go.mod h1:jencpjZ0EdTGd6YEHFEhAPi9mVCJbVgZ5VQaKlXrGhg=
|
||||
68
layouts/_default/single.html
Normal file
68
layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{{- define "main" }}
|
||||
|
||||
<article class="post-single">
|
||||
<header class="post-header">
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
<h1 class="post-title entry-hint-parent">
|
||||
{{ .Title }}
|
||||
{{- if .Draft }}
|
||||
<span class="entry-hint" title="Draft">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="35" viewBox="0 -960 960 960" fill="currentColor">
|
||||
<path
|
||||
d="M160-410v-60h300v60H160Zm0-165v-60h470v60H160Zm0-165v-60h470v60H160Zm360 580v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862.09-380L643-160H520Zm300-263-37-37 37 37ZM580-220h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" />
|
||||
</svg>
|
||||
</span>
|
||||
{{- end }}
|
||||
</h1>
|
||||
{{- if .Description }}
|
||||
<div class="post-description">
|
||||
{{ .Description }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- if not (.Param "hideMeta") }}
|
||||
<div class="post-meta">
|
||||
{{- partial "post_meta.html" . -}}
|
||||
{{- partial "post_canonical.html" . -}}
|
||||
</div>
|
||||
{{- end }}
|
||||
</header>
|
||||
{{- $isHidden := (.Param "cover.hiddenInSingle") | default (.Param "cover.hidden") | default false }}
|
||||
{{- partial "cover.html" (dict "cxt" . "IsSingle" true "isHidden" $isHidden) }}
|
||||
{{- if (.Param "ShowToc") }}
|
||||
{{- partial "toc.html" . }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Content }}
|
||||
<div class="post-content">
|
||||
{{- if not (.Param "disableAnchoredHeadings") }}
|
||||
{{- partial "anchored_headings.html" .Content -}}
|
||||
{{- else }}{{ .Content }}{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
|
||||
<footer class="post-footer">
|
||||
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
|
||||
<ul class="post-tags">
|
||||
{{- range ($.GetTerms $tags) }}
|
||||
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
||||
{{- partial "buy_me_a_coffee.html" . -}}
|
||||
|
||||
{{- if (.Param "ShowPostNavLinks") }}
|
||||
{{- partial "post_nav_links.html" . }}
|
||||
{{- end }}
|
||||
{{- if (and site.Params.ShowShareButtons (ne .Params.disableShare true)) }}
|
||||
{{- partial "share_icons.html" . -}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
{{- if (.Param "comments") }}
|
||||
{{- partial "comments.html" . }}
|
||||
{{- end }}
|
||||
</article>
|
||||
|
||||
{{- end }}{{/* end main */}}
|
||||
3
layouts/partials/buy_me_a_coffee.html
Normal file
3
layouts/partials/buy_me_a_coffee.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<div class="buy-me-a-coffee">
|
||||
If you found this article useful, consider <a href="https://ko-fi.com/ritual" target="_blank">buying me a coffee</a>. Every tip received makes my electricity bill seem less bad.
|
||||
</div>
|
||||
130
layouts/partials/footer.html
Normal file
130
layouts/partials/footer.html
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
{{- if not (.Param "hideFooter") }}
|
||||
<footer class="footer">
|
||||
{{- if site.Copyright }}
|
||||
<span>{{ site.Copyright | markdownify }}</span>
|
||||
{{- else }}
|
||||
<span>© {{ now.Year }} <a href="{{ "" | absLangURL }}">Dan Baker</a></span>
|
||||
{{- end }}
|
||||
</footer>
|
||||
{{- end }}
|
||||
|
||||
{{- if (not site.Params.disableScrollToTop) }}
|
||||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||||
<path d="M12 6H0l6-6z" />
|
||||
</svg>
|
||||
</a>
|
||||
{{- end }}
|
||||
|
||||
{{- partial "extend_footer.html" . }}
|
||||
|
||||
<script>
|
||||
let menu = document.getElementById('menu')
|
||||
if (menu) {
|
||||
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
|
||||
menu.onscroll = function () {
|
||||
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
|
||||
}
|
||||
}
|
||||
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener("click", function (e) {
|
||||
e.preventDefault();
|
||||
var id = this.getAttribute("href").substr(1);
|
||||
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
|
||||
behavior: "smooth"
|
||||
});
|
||||
} else {
|
||||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
|
||||
}
|
||||
if (id === "top") {
|
||||
history.replaceState(null, null, " ");
|
||||
} else {
|
||||
history.pushState(null, null, `#${id}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{{- if (not site.Params.disableScrollToTop) }}
|
||||
<script>
|
||||
var mybutton = document.getElementById("top-link");
|
||||
window.onscroll = function () {
|
||||
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
|
||||
mybutton.style.visibility = "visible";
|
||||
mybutton.style.opacity = "1";
|
||||
} else {
|
||||
mybutton.style.visibility = "hidden";
|
||||
mybutton.style.opacity = "0";
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{- if (not site.Params.disableThemeToggle) }}
|
||||
<script>
|
||||
document.getElementById("theme-toggle").addEventListener("click", () => {
|
||||
if (document.body.className.includes("dark")) {
|
||||
document.body.classList.remove('dark');
|
||||
localStorage.setItem("pref-theme", 'light');
|
||||
} else {
|
||||
document.body.classList.add('dark');
|
||||
localStorage.setItem("pref-theme", 'dark');
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }}
|
||||
<script>
|
||||
document.querySelectorAll('pre > code').forEach((codeblock) => {
|
||||
const container = codeblock.parentNode.parentNode;
|
||||
|
||||
const copybutton = document.createElement('button');
|
||||
copybutton.classList.add('copy-code');
|
||||
copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
|
||||
|
||||
function copyingDone() {
|
||||
copybutton.innerHTML = '{{- i18n "code_copied" | default "copied!" }}';
|
||||
setTimeout(() => {
|
||||
copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
copybutton.addEventListener('click', (cb) => {
|
||||
if ('clipboard' in navigator) {
|
||||
navigator.clipboard.writeText(codeblock.textContent);
|
||||
copyingDone();
|
||||
return;
|
||||
}
|
||||
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(codeblock);
|
||||
const selection = window.getSelection();
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(range);
|
||||
try {
|
||||
document.execCommand('copy');
|
||||
copyingDone();
|
||||
} catch (e) { };
|
||||
selection.removeRange(range);
|
||||
});
|
||||
|
||||
if (container.classList.contains("highlight")) {
|
||||
container.appendChild(copybutton);
|
||||
} else if (container.parentNode.firstChild == container) {
|
||||
// td containing LineNos
|
||||
} else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") {
|
||||
// table containing LineNos and code
|
||||
codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton);
|
||||
} else {
|
||||
// code blocks not having highlight as parent class
|
||||
codeblock.parentNode.appendChild(copybutton);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{{- end }}
|
||||
13
layouts/partials/home_info.html
Normal file
13
layouts/partials/home_info.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{- with site.Params.homeInfoParams }}
|
||||
<article class="first-entry home-info">
|
||||
<header class="entry-header">
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
<footer class="entry-footer">
|
||||
{{ partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
|
||||
</footer>
|
||||
</article>
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue