I hereby claim:
- I am lukasmalkmus on github.
- I am lukasmalkmus (https://keybase.io/lukasmalkmus) on keybase.
- I have a public key whose fingerprint is DEE9 93B9 1DC6 D286 B028 259F 9F38 3C58 39B2 8670
To claim this, I am signing this object:
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = ["mlx>=0.24"] | |
| # /// | |
| """ | |
| microgpt ported to MLX — the same algorithm, now vectorized on Apple Silicon. | |
| Original: https://gist.github.com/karpathy/8627fe009c40f57531cb18360106ce95 | |
| This version: mlx.core arrays, mlx.nn modules, mlx.optimizers.Adam | |
| """ |
I hereby claim:
To claim this, I am signing this object:
| # crontab -e | |
| * * * * * /opt/vc/bin/vcgencmd measure_temp | awk -F"=" '{print $2}' | awk -F"'" '{print "node_cpu_temperature " $1}' > /var/lib/node_exporter/textfile_collector/cpu_temp.prom.$$ && mv /var/lib/node_exporter/textfile_collector/cpu_temp.prom.$$ /var/lib/node_exporter/textfile_collector/cpu_temp.prom |
| import ( | |
| "reflect" | |
| "testing" | |
| ) | |
| // assert fails the test if the condition is false. | |
| func assert(tb testing.TB, condition bool, msg string, v ...interface{}) { | |
| tb.Helper() | |
| if !condition { | |
| tb.Fatalf("\033[31m "+msg+"\033[39m\n\n", v...) |