diff --git a/.golangci.yml b/.golangci.yml index f758fa3..506699d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,14 +1,6 @@ run: timeout: 5m tests: false - skip-dirs: - - ".*test.*" - - ".*mock.*" - - ".*example.*" - - ".*utils.*" - skip-files: - - ".*Mock.*" - - ".*_mock.*" output: sort-results: true @@ -25,13 +17,12 @@ linters: - typecheck - unused # Custom + - err113 - errchkjson - errname - errorlint - - execinquery - forcetypeassert - gocritic - - goerr113 - gofumpt - gosec - importas @@ -40,10 +31,8 @@ linters: - noctx - prealloc - reassign - # - rowserrcheck - sqlclosecheck - unconvert - # - wastedassign fast: true linters-settings: @@ -91,3 +80,13 @@ linters-settings: reassign: patterns: - ".*" + +issues: + exclude-dirs: + - ".*test.*" + - ".*mock.*" + - ".*example.*" + - ".*utils.*" + exclude-files: + - ".*Mock.*" + - ".*_mock.*" diff --git a/docs/2023-03-30-fonts.html b/docs/2023-03-30-fonts.html index 91c09cb..9cc86b0 100644 --- a/docs/2023-03-30-fonts.html +++ b/docs/2023-03-30-fonts.html @@ -80,6 +80,13 @@

Always choose OTF over TTF format.

+

My standard for choosing fonts:

+

JetBrains Mono @@ -93,12 +100,7 @@ >

JetBrains branding font.

- +

Match my standard.

Ligatures I prefer: ss02, cv04, cv16, cv18, cv19, @@ -117,11 +119,8 @@ >

I often choose SS08 variant because I also love PragmataPro too.

+

Match my standard. Also:

@@ -141,11 +140,8 @@ >

I often choose Casual variant.

+

Match my standard. Also:

Ligatures I prefer: ss10, ss12.

@@ -169,12 +165,11 @@ > +

Does not match my standard:

Font is small, can display much more on small screen. I like its curved @@ -193,11 +188,12 @@ >

Small fonts, saving space.

+

Does not match my standard:

+

But:

+

@@ -219,10 +215,10 @@ >

Comic vibe. Look smoothly and too much curve.

+

Does not match my standard:

@@ -237,10 +233,15 @@ >

+

Does not match my standard:

+

But:

+

I love its wide look, also it's feel nostalgic.

@@ -260,11 +261,12 @@ IBM branding font, good alternative for Inter, has both monospace and display variant.

+

Does not match my standard:

+

But:

+

Looks fancy. Strange #.

@@ -280,10 +282,11 @@ > +

Does not match my standard:

Looks unique to me, with some sharp look.

diff --git a/docs/2023-04-01-games.html b/docs/2023-04-01-games.html index db06cc3..490d85b 100644 --- a/docs/2023-04-01-games.html +++ b/docs/2023-04-01-games.html @@ -194,9 +194,7 @@ Remember to rename it to crc.pnach (013E349D.pnach, ...).

-
-
-// Money
+    
// Money
 patch=1,EE,2042DA6C,extended,05F5E0FF
 
 // Infinite Health Leon
@@ -206,9 +204,8 @@ patch=1,EE,001c27f8,word,00401023
 patch=1,EE,001c293c,word,00401023
 
 // Infinite Ammo
-patch=1,EE,2012009C,extended,00000000
-
+patch=1,EE,2012009C,extended,00000000 +

Beautiful result!

This is useful in multiple frequently recurring and important scenarios: > > - Handling of rollback/cleanup operations in the context of an event (e.g., - > HTTP request) that has to continue regardless of whether the triggering - > event is canceled (e.g., due to timeout or the client going away) +> HTTP request) that has to continue regardless of whether the triggering +> event is canceled (e.g., due to timeout or the client going away) > - Handling of long-running operations triggered by an event (e.g., HTTP - > request) that terminates before the termination of the long-running - > operation +> request) that terminates before the termination of the long-running +> operation So beside waiting to upgrade to Go `1.21` to use `context.WithoutCancel`, you can use this [workaround code](https://pkg.go.dev/context@master#WithoutCancel): diff --git a/posts/2023-10-02-unrelated.md b/posts/2023-10-02-unrelated.md index 0f0420f..0ee4514 100644 --- a/posts/2023-10-02-unrelated.md +++ b/posts/2023-10-02-unrelated.md @@ -25,7 +25,7 @@ related though. > So the principle is straightforward: Set the conditions of “yes” such that: > > - If they say “yes,” you’re happy because the terms or money are so good, it - > more than compensates for the distraction, perhaps funding the thing you - > really want to do. +> more than compensates for the distraction, perhaps funding the thing you +> really want to do. > - If they say “no,” you’re happy because it wasn’t a great fit anyway; it’s - > not a worthwhile return on your time and effort. +> not a worthwhile return on your time and effort.