Skip to content

Instantly share code, notes, and snippets.

View gloppasglop's full-sized avatar

Christophe Roux gloppasglop

  • Swisscom
  • Geneva
View GitHub Profile
Ca marche pas si tu remplce ce que tu vais avant pour monthly_raw as (...)
par
monthly_raw AS (
SELECT a.id as account_id,
DATE_TRUNC('month',MIN(transaction_date,'2025-0-01') as month
CAST(.......) as amount
from accounts a
INNER JOIN posting ON posting.account_id = a.id
INNER JOIN transation ON posting.transaction_id= transaction.id

KUMA podinfo with podman

Create folder for config files

mkdir ./data

Create a network

podman network create kuma-demo

@gloppasglop
gloppasglop / adder.kube
Created November 15, 2025 21:37
Config Kuma
[Install]
WantedBy=default.target
[Unit]
[Kube]
# Point to the yaml file in the same directory
Yaml=adder.yaml
# Use the quadlet-demo network
Network=kuma-demo.network

Keybase proof

I hereby claim:

  • I am gloppasglop on github.
  • I am gloppasglop (https://keybase.io/gloppasglop) on keybase.
  • I have a public key ASDngHpgd32NWP1YyEMfw0bD_xe9nacxmdeaGEB118sp_go

To claim this, I am signing this object:

@gloppasglop
gloppasglop / gist:3452cd194c83f94029b0
Last active August 29, 2015 14:26 — forked from omaciel/gist:5709991
A simple Katello CLI script to automatically download a product manifest, import it into a Katello organization and create content. It assumes that you have the following information (either as environmental variables or substituted into the script: ``` RHN_USERNAME: A valid username for https://access.redhat.com/ RHN_PASSWORD: A valid password …
#!/bin/bash
function kk() {
KATELLO_PATH=/usr/bin/katello
$KATELLO_PATH -u admin -p admin "$@"
}
ORG='SimpleOrg'
# Orgs