From b0c1188d1819a98217811149f4f9b4bd09491cb0 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 26 Dec 2022 02:22:39 +0700 Subject: [PATCH] feat: edit contact --- docs/2022-06-08-backup.html | 13 ++++++++----- docs/2022-06-08-dockerfile-go.html | 13 ++++++++----- docs/2022-07-10-bootstrap-go.html | 13 ++++++++----- docs/2022-07-12-uuid-or-else.html | 13 ++++++++----- docs/2022-07-19-migrate-to-buf.html | 13 ++++++++----- docs/2022-07-31-experiment-go.html | 13 ++++++++----- docs/2022-07-31-sql.html | 13 ++++++++----- docs/2022-08-10-gitignore.html | 13 ++++++++----- docs/2022-10-26-reload-config.html | 13 ++++++++----- docs/2022-12-25-archlinux.html | 13 ++++++++----- docs/2022-12-25-go-buf.html | 13 ++++++++----- docs/2022-12-25-go-test-asap.html | 13 ++++++++----- docs/index.html | 13 ++++++++----- templates/post.html | 13 ++++++++----- 14 files changed, 112 insertions(+), 70 deletions(-) diff --git a/docs/2022-06-08-backup.html b/docs/2022-06-08-backup.html index 89a912d..89f55a0 100644 --- a/docs/2022-06-08-backup.html +++ b/docs/2022-06-08-backup.html @@ -25,7 +25,9 @@ } - Index +
+ Index +

Backup my way

First thing first, I want to list my own devices, which I have through the years:

- Feel free to ask me via email - Mastodon +
+ Feel free to ask me via + email or + Mastodon +
diff --git a/docs/2022-07-12-uuid-or-else.html b/docs/2022-07-12-uuid-or-else.html index e140a2a..900ab59 100644 --- a/docs/2022-07-12-uuid-or-else.html +++ b/docs/2022-07-12-uuid-or-else.html @@ -25,7 +25,9 @@ } - Index +
+ Index +

UUID or else

There are many use cases where we need to use a unique ID. In my experience, I only encouter 2 cases:

@@ -67,9 +69,10 @@ The reason I'm afraid because the database is sensitive subject, and I need more
  • On IDs
  • - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-07-19-migrate-to-buf.html b/docs/2022-07-19-migrate-to-buf.html index ef1a85d..02c7d1d 100644 --- a/docs/2022-07-19-migrate-to-buf.html +++ b/docs/2022-07-19-migrate-to-buf.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Migrate to buf from prototool

    Why? Because prototool is outdated, and can not run on M1 mac.

    @@ -126,9 +128,10 @@
  • bufbuild/buf
  • - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-07-31-experiment-go.html b/docs/2022-07-31-experiment-go.html index 14d46ce..33a77bb 100644 --- a/docs/2022-07-31-experiment-go.html +++ b/docs/2022-07-31-experiment-go.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Experiment Go

    There come a time when you need to experiment new things, new style, new approach. So this post serves as it is named.

    @@ -84,9 +86,10 @@ Also read A new Go A
  • API Clients for Humans
  • - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-07-31-sql.html b/docs/2022-07-31-sql.html index 040624f..3c22784 100644 --- a/docs/2022-07-31-sql.html +++ b/docs/2022-07-31-sql.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    SQL

    Previously in my fresher software developer time, I rarely write SQL, I always use ORM to wrap SQL. But time past and too much abstraction bites me. @@ -94,9 +96,10 @@ Prefer TEXT if you don't care, just want to store something.

  • Things You Should Know About Databases
  • - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-08-10-gitignore.html b/docs/2022-08-10-gitignore.html index 2342c4a..35d177c 100644 --- a/docs/2022-08-10-gitignore.html +++ b/docs/2022-08-10-gitignore.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    gitignore

    My quick check for .gitignore.

    Base

    @@ -50,9 +52,10 @@ vendor

    Python

    venv
    - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-10-26-reload-config.html b/docs/2022-10-26-reload-config.html index 3e41efa..9cab9e9 100644 --- a/docs/2022-10-26-reload-config.html +++ b/docs/2022-10-26-reload-config.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Reload config

    This serves as design draft of reload config system

    @startuml Reload config
    @@ -93,9 +95,10 @@ So there is some delay between upstream config (config in storage)
     
  • Delay between upstream/downstream config
  • - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-12-25-archlinux.html b/docs/2022-12-25-archlinux.html index 88ce532..645ea7a 100644 --- a/docs/2022-12-25-archlinux.html +++ b/docs/2022-12-25-archlinux.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Install Arch Linux

    Install Arch Linux is thing I always want to do for my laptop/PC since I had my laptop in ninth grade.

    This is not a guide for everyone, this is just save for myself in a future and for anyone who want to walk in my shoes.

    @@ -270,9 +272,10 @@ ParallelDownloads

    In the end

    This guide is updated regularly I promise.

    - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-12-25-go-buf.html b/docs/2022-12-25-go-buf.html index a2fe95d..79b282f 100644 --- a/docs/2022-12-25-go-buf.html +++ b/docs/2022-12-25-go-buf.html @@ -25,15 +25,18 @@ } - Index +
    + Index +

    Integration Go gRPC with Buf

    There are 2 questions here. What is Buf? And why is Buf?

    - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/2022-12-25-go-test-asap.html b/docs/2022-12-25-go-test-asap.html index 62983cf..da2933c 100644 --- a/docs/2022-12-25-go-test-asap.html +++ b/docs/2022-12-25-go-test-asap.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Speed up writing Go test ASAP

    Imagine your project currently have 0% unit test code coverage. And your boss keep pushing it to 80% or even 90%? @@ -260,9 +262,10 @@ You only need to check error or not if you want code coverage only.

    So if request change fields or more dependencies, I need to update success case, and maybe add corresponding error case if need.

    Same idea but still with table, you can find here Functional table-driven tests in Go - Fatih Arslan.

    - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/docs/index.html b/docs/index.html index fb3733d..7c77815 100644 --- a/docs/index.html +++ b/docs/index.html @@ -25,7 +25,9 @@ } - Index +
    + Index +

    Index

    This is where I dump my thoughts.

    - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +
    diff --git a/templates/post.html b/templates/post.html index 049d154..98fae42 100644 --- a/templates/post.html +++ b/templates/post.html @@ -25,11 +25,14 @@ } - Index +
    + Index +
    {{.Body}} - Feel free to ask me via email - Mastodon +
    + Feel free to ask me via + email or + Mastodon +