← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 142
  1. CLI fuzzy search

    I often whish to search through large bodies of text, like my knowledge base or source code repositories, from the command line.

  2. Render Plain HTML with Hugo

    Hugo is my favorite tool for publishing markdown to the internet, but sometimes I want to do something a little bit more advanced with my posts.

  3. Copy & Paste Is Dangerous

    Copy & paste from untrusted sources on the internet into the terminal is a really bad idea!

  4. Hugo Details Shortcode

    The HTML details element is a nice way to create natively expandable content with wide browser support.

  5. Ansible and cowsay

    Cowsay is one of those packages you just end up installing randomly on just about any client over time.

  6. Django: CSRF exempt view

    Django’s CSRF protection is usually a great thing, but when building (API) endpoints meant to be accessed by scripts/third parties it gets in the way of that.

  7. My Publishing Pipeline

    I write an extensive personal knowledge base using markdown, code-server and a variety of other tools.

  8. The (MVP) Making of PodHistory

    In this post I share my process for building the MVP for PodHistory, from idea to launched product and what my next steps will be.

  9. Helm: Join two lists

    Since early 2019 the sprig library used by helm provides a concat function that does exactly this.

  10. Simple Self Organization

    This is a guide to a simple self organization/task management system I built for myself over the years.

  11. HTMX

    Go check out their website, it’s incredibly good at explaining itself.

  12. Handling signals with Python

    When building a Python script that is long running or has to manage some state on termination it is helpful to handle a couple of signals: SIGINT: The signal sent when pressing Ctrl+C SIGTERM and SIGQUIT: Meant to terminate the process, sent by kill and p…

  13. Hack Things Together

    Sometimes you have to do a specific task and you are fully capable of doing it manually, however those tasks are also great to flex your muscles and hack something together.

  14. My home office setup: 2023 edition

    Since I spend more than 8 hours here most days I created a nice setup for myself.

  15. Think before you enable this, it could be a security risk Shutdown Mac Press and hold the power button until the Recovery Mode menu appears Select Options, then click Continue From the Utilities menu select Startup Security Utility Select your startup disk

  16. DigitalOcean CLI Cheat Sheet

  17. My Thoughts on AI in Blogging

    Given the recent rise in text-based language models, sometimes called AI tools, I wanted to share my thoughts and experiences in using them, especially in the context of blogging.

  18. My hiking kit: 2023 edition

    These days I enjoy hiking quite a lot.

  19. What to Do With Your Own Server

    Now that we have talked about the benefits of running your own server and how to run your own server let’s take a look at some things you could run on your own personal server and some things you should better not.

  20. How to Run Your Own Server

    There are many ways to run your own server, from setting up a Raspberry Pi on your desk to renting a physical server at a provider.

  21. Benefits of Running Your Own Server

    In the world of technology, we are moving further and further away from operating directly on servers, but there are still significant benefits to be gained from running a personal server.

  22. The (MVP) Making of Honeypot Login

    In this post I will go over the MVP building phase of Honeypot Login, from idea to launched product and what my next steps will be.

  23. 1Password CLI Cheatsheet

    The 1Password CLI op works either in connection with a client app, like on the Mac, or standalone, useful on a server. # Login eval $(op signin) # Get favorites op item list --vault "Private" --favorite # Get a specific item op item get <ID> # !!

  24. Being a good code reviewee

    Things I do to be a good code reviewee.

  25. Setting up a new repository for YAML linting today I was running in a bit of an issue with yamllint.

  26. Hy-Fit App by Tenswall no longer working

    This is somewhere between a rant about the app and backing services no longer working, a collection of information I could find out about it and a possible search-result for others facing the same issues and not really finding anything online just like me.

  27. ArgoCD Python Client

    A simple Python client to interact with ArgoCD.

  28. WSL2 & Keychain

    The problem If you use ssh-agent with an encrypted ssh key it does not persist when you open a new terminal window.

  29. My Tools

    Tools I use and recommend. carrd.co Extremely simple and affordable website publishing, I use it for landing pages and quick MVPs DigitalOcean My first choice for personal servers and simple MVP deployments with their App Platform GitLab.com My go-to git-…

  30. Self-Hosted Notifications

    Running any kind of personal infrastructure sometimes requires your attention based on certain events or failure states, no matter how much you automate tasks.

  31. Audible book export

  32. Git: Add only changed files

    Sometimes you may want to commit only the files you have changed and not any newly created files, this can easily be achieved by this command: git commit -a

  33. A list of interesting things

    This is a list of interesting blog posts, talks and such things that I found over the years.

  34. Post Mortems

    Incidents happen, and we can and should always learn from them, to be better prepared for the next time things go wrong.

  35. Publish new post checklist

    This is my checklist for publishing a new post on my blog: Preparation Finalize the posts name and sluggify it Pick a image if fitting Create a new post with hugo new content/posts/<slug of post>.md Move the draft from my current writing tool to this new…

  36. GitLab: User owned projects report

    Export a CSV formatted report of projects in user-namespace on a GitLab instance.

  37. Monoliths & Microservices

    Ever since diving into the software development world I was troubled by a duality: On the one hand I have built and operated many services described as monolithic with relative ease, on the other hand I’m always told I, and others, should build microservi…

  38. Simple git changelog

    A simple changelog system on top of git commit messages.

  39. The WSL Onion

    The other day I was playing around in WSL with a colleague of mine and we did this:

  40. The problem: Docker itself can’t be run in WSL2 as it requires the docker daemon, usually run though systemd.

  41. Going Part Time

    Starting on the first of March 2022 I no longer work full-time in my day job.

  42. Simple HTTP Status Monitor Using Curl

    Using some output redirection and the --write-out parameter we can produce a script that simply outputs the status code of a curl request.

  43. yamllint: Ignore exisiting errors

    When adding yamllint to an existing project it can be hard to fix all the errors at once.

  44. Local User Management Polyfill

    Older Versions of Windows 10 and all Windows Server 2012 systems have no local user management commandlets.

  45. Local S3 with MinIO in Django

    In production I would consider it best practice to use a S3 solution for serving assets.

  46. The path you are in when opening a new WSL tab is determined by startingDirectory.

  47. Hidden WSL Fileshare

    WSL file systems get exposed as a hidden share network share: \\wsl$\<WSL Name>\<path\to\file> For example, my Debian home folder is at: \\wsl$\Debian\home\kamner

  48. When using netplan it is easy to force .local DNS requests to go to you nameservers instead of being only resolved locally (the default and standard).

  49. MongoDB Logrotate

    MongoDB does not rotate it’s log on it’s own.

  50. Show all active user cron jobs on a system

    Debian/Ubuntu grep -vH "#" /var/spool/cron/crontabs/* RedHat/Centos/Rocky grep -vH "#" /var/spool/cron/*