Fantastic resource for learning go. You work through small examples quickly, learning single concepts along the way.
Posts tagged: thought
All posts with the tag "thought"
Textual is so sick, Will just made a live markdown editor in the terminal!
Fastapi passes flask in GitHub stars!
Nice take by @t3dotgg. Some of the old patterns that go deep into webdev, MVC, separation of concerns, REST, are things we are told to believe on day one, thrown so many things, no mental bandwidth, or experience to form our own opinions we must take them as fact. Rarely do we take these facts and revisit them with our new understandings years later.
Today I learned the meaning of abhorrent
abhorrent ăb-hôr′ənt, -hŏr′- adjective Disgusting, loathsome, or repellent. Feeling repugnance or loathing.
heroicons is a really nice set of many of the basic icons that you will need for building nice ui’s. They have a really nice copy as svg or jsx button, so that you can just yank it and paste it on your page without any extra packages or installation.
Uptime kuma is a fantastic self hosted monitoring tool. One docker run command and you are up and running. Once you are in you have full control over checking status of urls, frequency, allowed timeouts, and a HUGE list of notification providers
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
I deployed it in my homelab today.
hashi vault lets you manage secrets right from your cli. Kubetail is a pretty sick bash script that allows you to tail logs for multiple pods in one stream. Very handy when you have more than one replica running. Now with kubetail I can tail all the logs for every shot-wayl-one pod in the shot namespace. I am converting my docker compose env secrets over to k8s secrets. This guide was clear and to the point how I can replicate this exact workflow. First set the secret, the easiest way is to use kubectl wtih –from-literal because it automatically base64 encodes for you. If you don’t use the Once you have your secret deployed, you have to update the container spec in your deployment manifest to get the valueFrom secretKeyRef. Wow, shocked at these results. All this time I’ve been told and believed that k8s is incredibly hard, and you need a $1M problem before you think about it because it will take a $1M team to maintain it. So far my experience has been good, and I definitely do not have a $1M problem in my homelab. Wes has some of the coolest OG images i’ve ever seen. Here he talks about how to enable cache configuration so that its constantly updating the cache without the user waiting for the image to be created. Interesting principle here. What a great example, If I’m looking at the second jQuery example, I have to dig into dev tools or make some assumtions that this team uses jQuery, and selects by id, therefore I can grep for Consider two different implementations of an AJAX request in HTML, the first in htmx: I was looking to add running kubernetes jobs to a python cli I am creating, and I found this solution, mostly thanks to Clear out lsp diagnostics in nvim. I’ve often struggled to find and kill a process using a certain port on archlinux. Mainly becuase most guides use netstat rather than Here is how I just killed the process using port 5000 using You can also get information about the process by running This is a sick kubernetes architecture diagran generation tool. Here is an example I think just, might just be the thing I have been looking for. I’ve been looking for some ci/cd that I can host myself, but everything looks pretty big, so for now I am going to use just as my task runner. I installed with installer. I set up my devtainer builds with just. Here is my
wget https://raw.githubusercontent.com/johanhaleby/kubetail/master/kubetail chmod u+x ./kubetail kubectl create secret generic minio-access-key --from-literal=ACCESS_KEY=7FkTV**** -n shot --from-literal you will have to base64 encode it.echo "7FkTV****" | openssl base64 $("#d1").ollama run mistral:7b-instruct-q4_K_M and my loose understanding of what the yaml syntax is supposed to look like for a kubernetes job. This will let me create a job in the cluster, choose the image that runs, the command that is called, and how long until the job expires and is cleaned up. While the job still exists I can go in and look at the logs, but once its ttl has expired they are gone.ss.fuser.sudo fuser -k 5000/tcp lsofcurl https://i.wayl.one/casey/just | bash justfile, yes you just need the cli and a file named justfile.kompose is a sick cli to convert docker-compose.yml to kubernetes manifest.