Skip to content

Commit 455ecb7

Browse files
committed
Blog cleanup
1 parent e743c70 commit 455ecb7

7 files changed

Lines changed: 45 additions & 14 deletions

File tree

docs/_drafts/case.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Common Uppercase/lowercase Naming Conventions
2+
title: Common Case Styles
3+
h1: Common Uppercase/lowercase Naming Conventions
34

45
cases:
56
- name: Snake
@@ -11,10 +12,28 @@ cases:
1112
- name: Kebab
1213
example: this-is-a-test
1314
description: All lower case with hyphens
15+
- name: Pascal
16+
example: ThisIsATest
17+
description: First letter of every word capitalized, spaces removed
18+
- name: Camel
19+
example: thisIsATest
20+
description: First letter of words 2-end capitalized, spaces removed
21+
- name: Title
22+
example: This Is A Test
23+
description: First letter of every word capitalized, spaces kept
24+
- name: Sentence
25+
example: This is a test
26+
description: First letter of first word capitalized, spaces kept
27+
- name: Upper
28+
example: THIS IS A TEST
29+
description: Every letter uppercase
30+
- name: Lower
31+
example: this is a test
32+
description: Every letter lowercase
1433

1534
---
1635

17-
<table class="table table-bordered table-striped">
36+
<table class="mt-2 table table-bordered table-striped">
1837
<thead>
1938
<tr>
2039
<th>Name</th>

docs/_drafts/cloudflare-wirefilter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Define Rules with expressions
3+
tag: future
34
---
45

56
Cloudflare has a [https://github.com/cloudflare/wirefilter](rust library) that supports WireShark-like filter expressions. [Blog post](https://blog.cloudflare.com/building-fast-interpreters-in-rust/).

docs/_drafts/mandatory-rules.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Mandatory Rules: UTF-8 and no nulls"
3+
---
4+
5+
There are two rules which are mandatory and cannot be disabled.
6+
7+
1. Must be UTF-8
8+
2. Must not have any nul (`0`) bytes
9+
10+
If it is encoding in something other than UTF-8, we don't really want to try converting encodings. It should be switched to UTF-8.
11+
12+
If it isn't valid UTF-8 on a system that uses UTF-8, there then something is really wrong.
13+
14+
If it has a null byte, again, something is really wrong.

docs/_drafts/super-linter.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/_drafts/useful-rust-libs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title: Potentially useful rust libraries (not for publication)
3+
h1: Rust Libraries
34
---
45

56
* [file/dir helper libs on Blessed.rs](https://blessed.rs/crates#section-cli-tools-subsection-utility)
67
* [cloudflare/wildcard](https://github.com/cloudflare/wildcard) - the [announcement blog post](https://blog.cloudflare.com/wildcard-rules/) goes into detail, and has a list of alternatives they considered.
78
* [clap_mangen](https://crates.io/crates/clap_mangen) - generate a `man` page
9+
* [any_ascii](https://crates.io/crates/any_ascii) - converts any unicode char to ASCII. Lossy, but maybe useful for printing filenames to the console.

docs/_layouts/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
<div class="container">
5454
<div class="row">
5555
<div class="col pt-2">
56-
<h1 class="pb-2">
57-
{% if page.h1 %}{{page.h1}}{% else %}{{page.title}}{% endif %}
58-
<div class="d-inline-block float-end">
56+
<h1 class="pb-2 d-flex align-items-center">
57+
<div class="flex-grow-1">{% if page.h1 %}{{page.h1}}{% else %}{{page.title}}{% endif %}</div>
58+
<div class="text-end">
5959
{% if page.previous.url %}
6060
<a class="btn btn-outline-secondary" href="{{page.previous.url}}" title="{{page.previous.title}}">&laquo;<span
6161
class="d-none d-lg-inline"> {{page.previous.title}}</span></a>
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
title: Switching license to AGPL
2+
title: Switching license to GPLv3
3+
redirect_from:
4+
- /blog/2025/2025-03-22-agpl.html
35
---
46

57
I started out with the [Creative Common's Attribution-ShareAlike (CC BY-SA)](https://creativecommons.org/licenses/by-sa/4.0/) license. I wanted an open license, but still wanted to get some name recognition.
68

7-
However, I think that the [GNU Affero Public License (AGPL)](https://www.gnu.org/licenses/agpl-3.0.en.html) is a better fit. I want to keep the software open and feel that the AGPL offers stronger protections and a better chance of eventually making money.
9+
However, I think that the [GNU Public License (GPLv3)](https://www.gnu.org/licenses/gpl-3.0.html) is a better fit. I want to keep the software open and feel that the GPL offers stronger protections and a better chance of eventually making money.
810

911
I do worry that it might affect adoption: at my previous company, we had a blanket "No GPL" policy. I am thinking about ways to get around that without giving all rights away. My current thought is to have to do dual licensing, with a parallel commercial license. Perhaps at minimal/no cost for smaller companies.
1012

0 commit comments

Comments
 (0)