Skip to content

Instantly share code, notes, and snippets.

View greut's full-sized avatar
:shipit:
moving slowly and breaking things

Yoan Blanc greut

:shipit:
moving slowly and breaking things
View GitHub Profile
@greut
greut / github-notify-template.yaml
Last active October 23, 2024 10:55
GitHub commit statuses from Argo Workflow
---
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: github-notify-template
spec:
arguments:
parameters:
- name: repository_full_name
- name: commit_sha
@greut
greut / colima.yaml
Created September 30, 2024 08:21
Colima started with: colima start --vm-type vz --kubernetes-version v1.29.8+k3s1 --disk 200 --memory 8 --network-address
# Number of CPUs to be allocated to the virtual machine.
# Default: 2
cpu: 2
# Size of the disk in GiB to be allocated to the virtual machine.
# NOTE: value can only be increased after virtual machine has been created.
#
# Default: 60
disk: 200
package main
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/hashicorp/go-retryablehttp"
)
type LeveledLogrus struct {
*logrus.Logger
@greut
greut / keybase.md
Created September 22, 2020 09:56
keybase.md

Keybase proof

I hereby claim:

  • I am greut on github.
  • I am yblanc (https://keybase.io/yblanc) on keybase.
  • I have a public key whose fingerprint is A2A7 E23A 88A2 1EA5 561E 581F 068A F996 C3F7 2ADA

To claim this, I am signing this object:

Sourdough oatmeal chocolate chip cookies
1/2 cup discard sourdough
1/2 cup softened butter
1 egg
1/2 cup dark brown sugar
@greut
greut / vpn.sh
Created February 20, 2020 11:31
connecting to HE-Arc vpn
#!/bin/bash
USERNAME=yoan.blanc
PASSWORD="..."
GID=100
DIRS="ORG"
PID=openconnect.pid
echo "Welcome to HE-ARC"
echo ""

Keybase proof

I hereby claim:

  • I am greut on github.
  • I am greut (https://keybase.io/greut) on keybase.
  • I have a public key whose fingerprint is 9E2D 407E AFEE 5086 3F42 B9D1 6058 CF45 7429 8812

To claim this, I am signing this object:

(ns aleph.examples.server
(:require
[compojure.core :as compojure :refer [GET]]
[aleph.http :as http]))
(defn hello-handler
[req]
{:status 200
:headers {"content-type" "text/plain"}
:body "hello\n"})
@greut
greut / template.class.php
Last active April 8, 2018 12:45
Oldest running code from @batiste
<?php
/**
Gestion des templates avec remplacement iteratif, récursif et alternatif
@author : Batiste Bieler
@company : http://dosimple.ch
@version : 0.3
Copyright (C) 2004 Bieler Batiste
@greut
greut / clic-et-tax.txt
Created April 3, 2018 20:44
l'enfer des déclarations
bcmail-jdk15on-1.55.jar
bcpkix-jdk15on-1.55.jar
bcprov-jdk15on-1.55.jar
commons-beanutils-1.8.0.jar
commons-codec-1.10.jar
commons-collections-3.2.2.jar
commons-csv-1.3.jar
commons-digester-1.7.jar
commons-lang-2.6.jar
commons-logging-1.1.1.jar