Skip to content

Instantly share code, notes, and snippets.

@namp10010
namp10010 / wurstmeister_kafka.md
Created March 27, 2022 04:01
wurstmeister kafka docker compose command

Create simple docker compose setup

version: "3"
services:
  zookeeper:
    image: 'wurstmeister/zookeeper:latest'
    ports:
      - '2181:2181'
@namp10010
namp10010 / golang-tls.md
Created May 11, 2022 22:58 — forked from denji/golang-tls.md
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@namp10010
namp10010 / bash_strict_mode.md
Created June 6, 2022 00:12 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@namp10010
namp10010 / commit_count.md
Created July 13, 2022 23:42
Count git commits in a folder/directory
cd <dir>
git log . | grep -E "^commit\ [a-z0-9]{40}$" | wc -l

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@namp10010
namp10010 / README.md
Created August 4, 2022 05:47 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@namp10010
namp10010 / GitCommitEmoji.md
Created August 4, 2022 05:48 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@namp10010
namp10010 / go_ldflags.md
Created August 9, 2022 07:42
go build ldflags

Go ldflags

The ldflags is actually used for the link tool.

Flags as of v1.19

-B note
	Add an ELF_NT_GNU_BUILD_ID note when using ELF.
	The value should start with 0x and be an even number of hex digits.