Skip to content

Instantly share code, notes, and snippets.

View timtorChen's full-sized avatar
🧀
cheese, brie and parmigiano

Timtor timtorChen

🧀
cheese, brie and parmigiano
View GitHub Profile

Keybase proof

I hereby claim:

  • I am timtorchen on github.
  • I am timtor (https://keybase.io/timtor) on keybase.
  • I have a public key ASCnlRlYcWu-64MZSWgH7Z89Oo5s4esaHwAbpkHgVGn26Ao

To claim this, I am signing this object:

@timtorChen
timtorChen / 0. README.md
Last active November 21, 2019 02:58
Windows terminal theme

Windows Terminal Theme

Configuration

By default, the configuration file profile.json is located at ~\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState

Note that, in configuration file, ms-appdata:/// is a UWP URI scheme, which means the path ms-appdata:///roaming is equivalent to ~\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState

@timtorChen
timtorChen / build.yaml
Last active February 5, 2021 09:27
[Template] Github action build multi-arch docker images
name: Build multi-arch docker images
on:
push:
branches:
- "master"
tags:
- "v*.*.*"
@timtorChen
timtorChen / nginx.conf
Last active September 29, 2020 18:25
nginx default config
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
@timtorChen
timtorChen / node-v1.0.1-raspi4_8g.txt
Last active March 25, 2021 08:15
prometheus exporter metrics collection
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 3.2999e-05
go_gc_duration_seconds{quantile="0.25"} 0.000196334
go_gc_duration_seconds{quantile="0.5"} 0.000413795
go_gc_duration_seconds{quantile="0.75"} 0.000665999
go_gc_duration_seconds{quantile="1"} 0.02877874
go_gc_duration_seconds_sum 38.199051831
go_gc_duration_seconds_count 37250
# HELP go_goroutines Number of goroutines that currently exist.