Oscar's Notebook
|
Archives
Golang
Tags
Search
Archive
2024
6
November
1
[Git] How to Sign Existing Git Commits with GPG Key
November 26, 2024
· 3 min ·
Oscar Zhou
October
2
[Lambda/NodeJS] Lambda Stop Working After Updating to Node.js 20
October 12, 2024
· 3 min ·
Oscar Zhou
[Security/Gitea] How to Secure Your Public Gitea Server Without Complex Configuration
October 9, 2024
· 5 min ·
Oscar Zhou
January
3
[Linux] How to Excute Binary in Background
January 27, 2024
· 3 min ·
Oscar Zhou
[Jellyfin] Windows Tray Will Not Start Server
January 7, 2024
· 3 min ·
Oscar Zhou
[Web/Golang] What is CORS Error and How to Fix it in Golang
January 6, 2024
· 8 min ·
Oscar Zhou
2023
18
December
1
[DroneCI/Slack] How to Send CI Build Notification with Slack (Step by Step Tutorial)
December 30, 2023
· 3 min ·
Oscar Zhou
September
1
[Golang] Retaining Specific Folders and Removing the Rest under A Target Path
September 10, 2023
· 2 min ·
Oscar Zhou
August
2
[mTLS] How to Generate Self-Signed mTLS Certs and Keys in 10s (No Click Bait)
August 22, 2023
· 7 min ·
Oscar Zhou
[ent/SQLite3] insert nodes to table “users”: near “RETURNING”: syntax error
August 5, 2023
· 1 min ·
Oscar Zhou
July
3
[Traefik/OCI] Exposing Internal Non-Containerized Services with Traefik on OCI: A Step-by-Step Guide
July 22, 2023
· 4 min ·
Oscar Zhou
[Gitea] RewriteAllPublicKeys failed: open /data/.ssh/authorized_keys.tmp: permission denied
July 17, 2023
· 2 min ·
Oscar Zhou
[OCI/Swarm] How to Fix the “connect: no route to host” Error When Joining a Docker Swarm in OCI VM
July 7, 2023
· 3 min ·
Oscar Zhou
June
1
[SFTP/SaaS] How does Cloud-Based SFTP SaaS work?
June 3, 2023
· 6 min ·
Oscar Zhou
May
2
[Docker/DinD] Empowering Local Development: Simulating Mass Containers and Docker Swarm Nodes with Docker-in-Docker (DinD)
May 18, 2023
· 7 min ·
Oscar Zhou
[Golang/VSCode] Master Golang Debugging in VSCode: Step-by-Step Guide with Delve
May 10, 2023
· 3 min ·
Oscar Zhou
April
1
[DroneCI] How to Specify Pipelines to Run on the Particular Drone CI Runner
April 6, 2023
· 3 min ·
Oscar Zhou
March
2
[Dockerfile] How to Prevent Docker Container from SSHing
March 20, 2023
· 1 min ·
Oscar Zhou
[OCI] Error: “iptables failed: iptables –wait -t filter -A DOCKER”
March 12, 2023
· 2 min ·
Oscar Zhou
February
2
[Golang] Implementing Timeout Feature in Golang for Efficient Task Processing and Error Handling
February 22, 2023
· 2 min ·
Oscar Zhou
[Docker] Configure Custom TLS Certificates for Docker API Using Docker-in-Docker
February 15, 2023
· 2 min ·
Oscar Zhou
January
3
[Portainer] Web UI for Self-Host Docker Registry
January 21, 2023
· 3 min ·
Oscar Zhou
[WSL/Swarm] Fail to Join Docker Swarm as Worker
January 14, 2023
· 4 min ·
Oscar Zhou
[Multipass] Command Cheatsheet
January 13, 2023
· 2 min ·
Oscar Zhou
2022
46
December
5
[OCI] How to Setup Self-Host SMTP Server on Oracle Cloud Infrastracture($0 cost)
December 6, 2022
· 3 min ·
Oscar Zhou
[Linux] How to Compress Folder and Decompress File
December 3, 2022
· 3 min ·
Oscar Zhou
[Linux] How to Download Files and Folders from Remote Server
December 2, 2022
· 2 min ·
Oscar Zhou
[Mail Server] What is DKIM
December 2, 2022
· 1 min ·
Oscar Zhou
[Mail Server] What is SMTP Server
December 1, 2022
· 1 min ·
Oscar Zhou
November
2
[DroneCI] How to Build Multiarch Docker Image for Private Registry
November 11, 2022
· 3 min ·
Oscar Zhou
[WSL] cgo: C compiler ‘gcc’ not found
November 3, 2022
· 1 min ·
Oscar Zhou
October
4
[WSL] Could not access the service hosted in WSL from host by IP
October 28, 2022
· 1 min ·
Oscar Zhou
[Golang] go get: fatal: could not read Username for ‘xxx’: terminal prompts disabled
October 18, 2022
· 3 min ·
Oscar Zhou
[Wget] Unable to locally verify the issuer’s authority
October 17, 2022
· 3 min ·
Oscar Zhou
[Git] How to configure SSH profile for Github account
October 7, 2022
· 5 min ·
Oscar Zhou
August
1
[Nginx] Expose specified port for Nginx in Dockerfile
August 15, 2022
· 1 min ·
Oscar Zhou
July
6
[LDAP] How to set up local Open LDAP service
July 27, 2022
· 5 min ·
Oscar Zhou
[cfssl] How to generate the custom TLS certificate in 2 mins
July 26, 2022
· 2 min ·
Oscar Zhou
[VSCode] module lookup disabled by GOPROXY
July 18, 2022
· 1 min ·
Oscar Zhou
[Golang] Code snippets - Semver comparison
July 14, 2022
· 1 min ·
Oscar Zhou
[Windows] Enable Windows default SSH server
July 10, 2022
· 2 min ·
Oscar Zhou
[Yarn] Unable to connect to github.com
July 2, 2022
· 1 min ·
Oscar Zhou
June
8
[Golang] Write a simple CLI program
June 30, 2022
· 2 min ·
Oscar Zhou
[Golang] Create Dockerfile for golang app
June 28, 2022
· 2 min ·
Oscar Zhou
[Golang] How to import a package on the specific version
June 21, 2022
· 2 min ·
Oscar Zhou
[Dokku] Command Cheatsheet
June 12, 2022
· 1 min ·
Oscar Zhou
[Dokku] How to set up dokku to deploy docker image
June 11, 2022
· 3 min ·
Oscar Zhou
[Dokku] Network understanding
June 10, 2022
· 2 min ·
Oscar Zhou
[Dokku] How to install Dokku with Portainer
June 9, 2022
· 4 min ·
Oscar Zhou
[DroneCI] How to Configure Pipeline to Build and Push Docker Image
June 8, 2022
· 2 min ·
Oscar Zhou
May
7
[Golang] Direct request from http to https with reverse proxy
May 17, 2022
· 1 min ·
Oscar Zhou
[Nomad] How to mount the host path to docker task
May 17, 2022
· 2 min ·
Oscar Zhou
[Notepad++/Linux] How to install notepad++ on Ubuntu without using Snap
May 10, 2022
· 1 min ·
Oscar Zhou
[VSCode] Golang No definition found
May 10, 2022
· 2 min ·
Oscar Zhou
[Nomad] source path must be a file
May 8, 2022
· 1 min ·
Oscar Zhou
[GIMP/Linux] How to highlight on the screenshot with GIMP on Linux
May 4, 2022
· 2 min ·
Oscar Zhou
[Slack] no_text error with Slack integration
May 3, 2022
· 2 min ·
Oscar Zhou
April
5
[Helm] How to check semantic version in helm chart
April 29, 2022
· 2 min ·
Oscar Zhou
[Git] Unable access xxx: Is a directory
April 21, 2022
· 1 min ·
Oscar Zhou
[Git] Error: remote rejected (permission denied)
April 12, 2022
· 1 min ·
Oscar Zhou
[Git] Fatal: this operation must be run in a work tree
April 12, 2022
· 1 min ·
Oscar Zhou
[Git] How to rebase the pushed branch
April 7, 2022
· 4 min ·
Oscar Zhou
March
8
[Axios] How to extract header data in Axios response interceptor
March 26, 2022
· 2 min ·
Oscar Zhou
[Linux] Error: ENOSPC: System limit …
March 22, 2022
· 1 min ·
Oscar Zhou
[Ubuntu] How to mount the external hard drive permanently
March 19, 2022
· 3 min ·
Oscar Zhou
[Ubuntu] External hard drive is read-only
March 12, 2022
· 1 min ·
Oscar Zhou
[microk8s] Troubleshooting Microk8s Installation on macOS
March 8, 2022
· 1 min ·
Oscar Zhou
[Git] How to work with remote repository (with example)
March 5, 2022
· 3 min ·
Oscar Zhou
[Git] How to ignore the commited file
March 3, 2022
· 1 min ·
Oscar Zhou
[macOS] How to set environment variable on macOS
March 3, 2022
· 1 min ·
Oscar Zhou
2021
6
December
1
[Inkscape] How to smooth svg file with Inkscape
December 19, 2021
· 1 min ·
Oscar Zhou
September
2
[Inkscape] How to Convert Svg to Png with Inkscape
September 10, 2021
· 1 min ·
Oscar Zhou
[HTTPS/TLS] How does HTTPs work
September 9, 2021
· 2 min ·
Oscar Zhou
June
3
[Inkscape] How to create SVG file with an existing SVG image
June 30, 2021
· 1 min ·
Oscar Zhou
[Inkscape] How to create SVG file with an existing PNG image
June 30, 2021
· 1 min ·
Oscar Zhou
[Golang] How to parse the JSON arguments from the Command-line flags
June 12, 2021
· 3 min ·
Oscar Zhou
2019
2
December
1
[HackerRank] Simple Explanation: Flatland Space Stations
December 12, 2019
· 3 min ·
Oscar Zhou
June
1
[Golang] reflect all
June 20, 2019
· 2 min ·
Oscar Zhou
Sign up to get
$200
, 60-day account credit !