Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 153
  1. Spoiler: I made a free and open-source way to get an interactive web terminal to your GitHub Action when it fails.

  2. This adventures starts with a simple eBPF program to transparently redirect DNS requests on port 53 for a single program (or docker container).

  3. Quick post.

  4. So you have Flipper in your ruby codebase for handling feature flags but… now you have used them and need a way to find them and help you pay down the tech debt of cleaning them up.

  5. Ever had a long-running command in terminal but forget to check back on it?

  6. GraphQL can throw up some surprising N+1 style performance issues in Ruby on Rails.

  7. So you have some config that you want to provide to a service started from docker compose.

  8. So you have a docker build which requires access to an authenticated resource?

  9. So you’re building a container where it has packages, like npm ci or go mod download, and would you like to make it quicker?

  10. I’m current working on code which lives in an agent, written in golang, which is running on a fleet of machines.

  11. Note, I’ll use Ruby on Rails 💎 as my example for this post but this can be done in nearly all modern language as SQIDs support most of them.

  12. About Me

    I love tackling difficult problems, finding new innovative approaches, teaching, learning, blogging and engaging with the OSS community.

  13. Tailscale supports using a GitOps flow to manager ACLs for you’re tailnet.

  14. I run a HomeLab for hosting a few bits (for example atuin, omnivore and matrix-bridges) Like all software these things need to be kept up-to-date.

  15. My HomeLab runs a few useful things (like atuin, changedetect.io, matrix bridges and homebridge) either in via Docker Compose or hosted on a single node K3s Kubernetes cluster.

  16. Resque is a background job processor for Ruby.

  17. In my normal day I work in my local machine, in codespaces and in devcontainers.

  18. This was a quick fun hack to pull back the data from my solar inverter and display it in my status bar.

  19. This is a super quick one, I have a Ryzen server running a bunch of VMs.

  20. I’ve been adding Sorbet and type checking gradually to a legacy Ruby codebase dating back to the 2010‘s.

  21. A system is failing.

  22. Warning: This expects you already know about rego/opa and is more of a brain dump than a blog.

  23. This is a brain-dump rather than a fully fleshed out blog.

  24. Hyper-v on Server 2019 supports Discrete Device Assignment (DDA) which allows PCI-E devices to be assigned directly to underlying VMs.

  25. This is a quick one, if you get the following error or similar: 2021/06/07 00:15:35 ERROR : Attempt 3/3 failed with 1 errors and: corrupted on transfer: sizes differ 189118 vs 130560 2021/06/07 00:15:35 Failed to copy: corrupted on transfer: sizes differ…

  26. Brain dump post, excuse typos and writing getting this out of my head while I still remember it.

  27. The quickest and easiest way to start running a Windows Container in Azure is using Azure Container Instances (ACI).

  28. Devcontainers are awesome for keeping tooling consistent over the team, so what about when you need to run your build?

  29. I’ve had pain in my right wrist from computer usage for a while now, last 5 years or so.

  30. So you’re trying to use the Terraform azurerm_function_app_host_keys resource to get the keys from an Azure function after deployment.

  31. So you want to add a diagnostic setting to your Azure storage account via Terraform and you pass the storage account ID to target_resource_id only to get the following error: Status=400 Code=“BadRequest” Message=“Category ‘StorageWrite’ is not supported.”

  32. I’m working on a project which uses pester tests to validate our deployment and system health.

  33. Shout out to the awesome work here from Alex Yates!

  34. Warning: This is a bit of a brain dump.

  35. 21 June 2021: Updated to resolve bug where wrong private key was passed to client_certs.

  36. I recently upgrade my machine and and installed the latest Ubuntu 20.04 as part of that.

  37. Cleanup in Bash Scripts

    [Brain dump so I don’t forget this one] So you want your bash script to exit on an error but you’d like it to clean some stuff up before it closes after the error occurs.

  38. [Update Feb 2021] There is now a Terraform Provider for Databricks, it’s a better route - https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs My starting point for a recent bit of work was to try and reliably and simply deploy and

  39. For some testing I’m doing I need a set of images of a specific size to simulate pulling larger vs smaller image.

  40. I found myself last week looking at a bit of code in K8s which I thought I could make better, so I set about trying to understand how to clone, change and test it.

  41. I’ve been working with OPA recently and using KIND to test things out.

  42. First up, quick refresher - what is a mutating admission controller?

  43. [Braindump - warning] So I’ve been playing with devcontainers for Visual Studio Code, they’re awesome… go play with them.

  44. I started out with C# since then I’ve learned other languages and one of my favorites is Golang.

  45. Note: This is more a stream of consciousness than a blog post.

  46. So you’re making a change to the provider to add a feature, it’s going great and your ready to test it out…. but then you realize things get a bit ropey… ideally you want a visual debugger to step through the code.

  47. So I’ve found myself writing lots of bash scripts recently and because they tend to do real things to the file system or cloud services they’re hard to test… it’s painful.

  48. So it starts out easy, you write a bit of terraform and all is going well then as more and more people start committing and the code is churning things start to get messy.

  49. Update 12/11/2020: This is now supported directly in the Azure Terraform Provider see here.

  50. So it seems like a brain dead simple one.