Skip to content

Instantly share code, notes, and snippets.

View apricote's full-sized avatar
🌴
On vacation

Julian Tölle apricote

🌴
On vacation
View GitHub Profile
@apricote
apricote / athena-normal-config
Last active January 11, 2020 16:00
Memory Benchmarks
hostname: athena
cpu: Ryzen 7 2700X
ram: 1x Ripjaws 3200 8GB, Slot 3
➜ ~ k8s:(tc-prod) sysbench memory --threads=8 --memory-oper=write run
sysbench 1.0.18 (using system LuaJIT 2.0.5)
Running the test with following options:
Number of threads: 8
Initializing random number generator from current time
@apricote
apricote / gist:84ca8165255f022f0e5d46b47df4bd28
Created October 17, 2019 20:41
hcloud/csi-driver Prometheus Metrics
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 3.8989e-05
go_gc_duration_seconds{quantile="0.25"} 4.4977e-05
go_gc_duration_seconds{quantile="0.5"} 8.0365e-05
go_gc_duration_seconds{quantile="0.75"} 0.000108144
go_gc_duration_seconds{quantile="1"} 0.000139781
go_gc_duration_seconds_sum 0.000412256
go_gc_duration_seconds_count 5
# HELP go_goroutines Number of goroutines that currently exist.
@apricote
apricote / README.md
Last active January 10, 2018 13:20
Tweeter Sample API

Tweeter Nodejs Project

Steps

Inspect the API Specification

You can find the specification in the file api.json, though I would recommend to use a UI for inspecting it: OpenApiRenderer

Sketch the Database schema

@apricote
apricote / 4d_rotation.txt
Created October 1, 2013 17:06
Rotation Matrixes for 4 Dimensions #### Axis that stay the same ####
########## zw ###########
cos -sin 0 0
sin cos 0 0
0 0 1 0
0 0 0 1
########## yw ###########
cos 0 sin 0
0 1 0 0
-sin 0 cos 0