Curious (Clojure) Programmer Simplicity matters

Menu

  • Home
  • Archives
  • Tags
  • About
  • My Talks
  • Clojure Tip of the Day Screencast
  • (Open) Source
  • Weekly Bits & Pieces
  • RSS

One SSH Key to rule them all: Or how to make sure that one and only one key is used (even if you use 1Password SSH agent and ProxyJump)

October 5, 2023
Table of Contents
  • Context
  • What keys are actually used by an ssh client when connecting to the remote server
    • ~/.ssh/config
    • Why so many keys?
    • Wait?! Didn’t we specify the ssh key that should be used explicitly?
  • More gotchas
    • Default keys and ssh_config keys
    • ProxyJump and IdentitiesOnly
  • Tips and Tricks
    • Restarting SSH agent
    • How to restart ssh service on macOS?
    • Listing ssh keys with 1Password agent
  • References

Persuading your ssh client to use one and only one SSH key may be tricky. In any case, it may help to understand what keys/identities are actually used when you connect to the remote host.


Continue reading →

Evernote productivity shortcut: quick & easy way to open the URL/link under the cursor

September 22, 2023
Table of Contents
  • How it works

Here’s a small Keyboard Maestor macro I made today:


Continue reading →

Starting Clojure REPL with plain java

September 15, 2023
Table of Contents
  • Download
  • Run
  • References

This is gonna be a rather short and trivial post but I wanted to share it anyway because it can be useful, ocassionally.


Continue reading →

Git - How to Delete Merged Branches Older than X Days?

September 15, 2023
Table of Contents
  • Ok, can you tell me how to actually do it?
    • TL;DR: The final script
    • How it works
  • GitHub Actions job
    • Full job definition
  • References

At CodeScene, we used to not delete merged git branches, at all. The practice came from Branch Analysis. To get that data, we didn’t want to remove a merged branch immediately. However, we ended up, never deleting them which also causes a problem: over time you accumulate thousands of branches. That creates a mess and makes it hard (or impossible) to select proper branch in CodeScene itself (the max number of branches we load and display is 1000).


Continue reading →

Feature flags, Middlewares, and Cloudfront caching.

October 10, 2022
Table of Contents
  • All (animals) are equal, but some (animals) are more equal than others
  • Feature flags and Middlewares
    • Ring’s middlewares
    • Feature flags or "why is it always me?"
    • Mind your layers
    • Cloudfront
  • The fix
  • Takeaways
  • References

This post has also been published on CodeScene Engineering blog: CodeScene Engineering blog.


Continue reading →
« Prev Next »

Copyright © 2025 Juraj Martinka

Powered by Cryogen | Free Website Template by Download Website Templates