Skip to content

Instantly share code, notes, and snippets.

@Kurt108
Kurt108 / starship.toml
Created May 28, 2025 08:29
a custom starship-prompt to display currently active flox environments
[custom.flox]
command = "flox envs --active --json | jq -r '.[] | .pointer.name'"
when = "flox envs --active --json | jq -e 'length > 0'"
style = "bold blue"
format = "in active flox environment [$output]($style)"
description = "A prompt to display the active profile(s) on your flox environment"
@Kurt108
Kurt108 / analytics-admin.conf
Last active December 17, 2019 01:03
using keycloak-gatekeeper with matomo for single-sign on
server {
server_name analytics-admin-proxy.domain;
root /var/www/piwik;
access_log /var/log/nginx/access-piwik-admin.log combined;
error_log /var/log/nginx/error-piwik-admin.log;
index index.php;
listen 8081 default_server;
location / {
try_files $uri $uri/ /index.php$args;
}