Skip to content

Commit a0591aa

Browse files
author
Patrick M
committed
fix: codeblock type
1 parent 2acac88 commit a0591aa

12 files changed

Lines changed: 18 additions & 18 deletions

src/data/blog/2021/angular-build-versioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "Adding build versions in Angular"
44
pubDatetime: 2021-03-04T19:30:00
5-
tags: [ "angular 2", "gitops", "CI/CD"]
5+
tags: ["angular 2", "gitops", "CI/CD"]
66
description: "Have you ever found yourself wondering which version of an SPA is running when you pull up your site? This was a problem I wanted to answer in my Angular SPA. Utilizing the `npm version` command in my build pipeline, I was able to include my pipeline build number in my app, significantly decreased troubleshooting time and version confusion."
77
---
88

src/data/blog/2021/asp-net-core-server-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
slug: net-core-host-setup
44
title: "ASP.Net Core Host Initial Setup"
55
pubDatetime: 2021-04-08T12:00:00
6-
tags: [".net", "server configuration" ]
6+
tags: [".net", "server configuration"]
77
description: "I wanted to document some important steps I take setting up a new server for hosting ASP.Net Core apps. These steps change over time as versions and features change, but this post will serve as a good, general guide for things to consider and remember; both for myself and anyone else who stumbles across it!"
88
---
99

src/data/blog/2022/debian-lxc-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ I always disallow login for root over SSH and allow password logins for other us
5555
nano /etc/ssh/sshd_config
5656
```
5757

58-
```conf
58+
```plaintext
5959
# Authentication:
6060
LoginGraceTime 2m
6161
PermitRootLogin no
@@ -78,7 +78,7 @@ To allow a user to execute `sudo` commands without being prompted for a password
7878
nano /etc/sudoers.d/patrick
7979
```
8080

81-
```conf
81+
```plaintext
8282
patrick ALL=(ALL) NOPASSWD: ALL
8383
```
8484

src/data/blog/2022/install-pihole-ha.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The last change that I make is to redirect HTTP requests to the root path to the
6060
sudo nano /etc/lighttpd/lighttpd.conf
6161
```
6262

63-
```conf
63+
```plaintext
6464
url.redirect = ("^/$" => "/admin" )
6565
```
6666

@@ -87,7 +87,7 @@ sudo nano /etc/keepalived/keepalived.conf
8787

8888
Here's an example of the configuration file. Let's break it down.
8989

90-
```conf
90+
```plaintext
9191
global_defs {
9292
max_auto_priority
9393
enable_script_security
@@ -238,7 +238,7 @@ Then add the script to crontab. It's a good idea to stagger the different instan
238238
crontab -e
239239
```
240240

241-
```conf
241+
```plaintext
242242
0 4 * * 7 /bin/bash /home/patrick/.local/bin/update_pihole.sh
243243
```
244244

src/data/blog/2023/bitwarden-automated-backup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ sudo chmod 600 /home/bitwarden/.bash_profile
6868
sudo nano /home/bitwarden/.bash_profile
6969
```
7070

71-
```conf
71+
```plaintext
7272
export BW_CLIENTID="<your_client_id>"
7373
export BW_CLIENTSECRET="<your_client_secret>"
7474
export BW_PASSWORD="<your_vault_password"
@@ -101,7 +101,7 @@ sudo su bitwarden
101101
crontab -e
102102
```
103103

104-
```conf
104+
```plaintext
105105
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
106106
0 0 * * * BASH_ENV=/home/bitwarden/.bash_profile /bin/bash /home/bitwarden/backup.sh /home/bitwarden
107107
```

src/data/blog/2023/configuring-postfix-with-gmail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sudo nano /etc/postfix/main.cf
2929

3030
Append the following to the end:
3131

32-
```conf
32+
```plaintext
3333
relayhost = [smtp.gmail.com]:587
3434
smtp_sasl_auth_enable = yes
3535
smtp_sasl_password_maps = hash:/etc/postfix/gmail_credentials
@@ -50,7 +50,7 @@ Remember to copy the generated password, because you will never see it again. No
5050
sudo nano /etc/postfix/gmail_credentials
5151
```
5252

53-
```conf
53+
```plaintext
5454
[smtp.gmail.com]:587 <username>@gmail.com:<password>
5555
```
5656

src/data/blog/2023/git-https-credential-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ git config --global credential.helper 'cache --timeout=3600'
1818

1919
I also make sure my .git/config contains the username so I don't need to type that in over and over.
2020

21-
```conf
21+
```plaintext
2222
https://<USERNAME>@github.com/path/to/repo.git
2323
```
2424

src/data/blog/2023/linux-on-dell-wyse-3040.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ I had an issue where my Wyse 3040 hung on shutdown and reboot. It would shutdown
7474
sudo nano /etc/modprobe.d/blacklist.conf
7575
```
7676

77-
```conf
77+
```plaintext
7878
blacklist dw_dmac_core
7979
install dw_dmac /bin/true
8080
install dw_dmac_core /bin/true

src/data/blog/2023/mounting-smb-share-at-boot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Then I'll need to edit the `fstab` file so that my share is mounted at boot.
3232
sudo nano /etc/fstab
3333
```
3434

35-
```conf
35+
```plaintext
3636
//<server>/<share> /mnt/backup cifs vers=3.0,credentials=/root/.mnt_backup_creds,uid=1000,gid=1000 0 0
3737
```
3838

@@ -44,7 +44,7 @@ Notice I do not specify the credentials in `fstab`. Instead I designate a creden
4444
sudo nano /root/.mnt_backup_creds
4545
```
4646

47-
```conf
47+
```plaintext
4848
username=<username>
4949
password=<password>
5050
```

src/data/blog/2023/troubleshooting-lxc-bootup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The issue seemed like `/etc/systemd/system/systemd-networkd-wait-online.service`
4040
sudo nano /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
4141
```
4242

43-
```conf
43+
```plaintext
4444
[Unit]
4545
Description=Wait for Network to be Configured
4646
Documentation=man:systemd-networkd-wait-online.service(8)

0 commit comments

Comments
 (0)