Tonight I realized I can pin the Hugo web framework by using go modules. The pinned Hugo version is ran with "go tool Hugo".
One of those things that became obvious to me once it was obvious. Now for some CI pipeline updates 😐
Tonight I realized I can pin the Hugo web framework by using go modules. The pinned Hugo version is ran with "go tool Hugo".
One of those things that became obvious to me once it was obvious. Now for some CI pipeline updates 😐
No more i=5 five times. 🤭 This explains why one might find i := i in older code, a work around. #golang
No more i=5 five times. 🤭 This explains why one might find i := i in older code, a work around. #golang
I started with MD5 checksums to find duplicate files in local storage. Then I read modern CPUs have instruction sets for SHA256. Oh but there's also xxhash which is even faster at checksums.😕
#golang output shows md5 is 3x slower than sha256 and 5x slower than xxhash
I started with MD5 checksums to find duplicate files in local storage. Then I read modern CPUs have instruction sets for SHA256. Oh but there's also xxhash which is even faster at checksums.😕
#golang output shows md5 is 3x slower than sha256 and 5x slower than xxhash
Think of it as a personal object store that uses append-only .tar archives called “pails.” It’s fast, inspectable, and scriptable. Great for devs, homelabbers, and archivists.
GitHub: github.com/amf3/tarchive
#Go #OpenAPI #homelab
Think of it as a personal object store that uses append-only .tar archives called “pails.” It’s fast, inspectable, and scriptable. Great for devs, homelabbers, and archivists.
GitHub: github.com/amf3/tarchive
#Go #OpenAPI #homelab
The latest release of oapi-codegen announced a new feature for dealing with optional pointers. #OpenAPI #golang
github.com/oapi-codegen...
The latest release of oapi-codegen announced a new feature for dealing with optional pointers. #OpenAPI #golang
github.com/oapi-codegen...
“OpenAPI in Practice: Go Server + Python Client from Spec”
amf3.github.io/articles/api...
#OpenAPI #Golang #Python
“OpenAPI in Practice: Go Server + Python Client from Spec”
amf3.github.io/articles/api...
#OpenAPI #Golang #Python
Okay I think you know where this is heading. That's right another HOWTO blog post !!! It may take several days to a week to publish. I've got a lot of notes to pull together.
Okay I think you know where this is heading. That's right another HOWTO blog post !!! It may take several days to a week to publish. I've got a lot of notes to pull together.
* write the plugin
* create a image containing the plugin
* create a throw away container using the image
* extract the rootfs from the container with “docker export” into a directory named rootfs
* finally run “docker plugin create”
* write the plugin
* create a image containing the plugin
* create a throw away container using the image
* extract the rootfs from the container with “docker export” into a directory named rootfs
* finally run “docker plugin create”
Input is the first 1,000,000 numbers of pi.
Input is the first 1,000,000 numbers of pi.
I'm replacing a Particle Photon with a ESP32 and esphome.io. A few blocks of YAML results in a web server that toggles sprinkler relays on or off.
I never thought I would buy into the phrase 'YAML programer' but now I do. 🤯
I'm replacing a Particle Photon with a ESP32 and esphome.io. A few blocks of YAML results in a web server that toggles sprinkler relays on or off.
I never thought I would buy into the phrase 'YAML programer' but now I do. 🤯
theboreddev.com/how-to-obtai...
theboreddev.com/how-to-obtai...