Skip to content

Instantly share code, notes, and snippets.

View pierre-emmanuelJ's full-sized avatar
🎧
Working from home

Pierre-Emmanuel Jacquier pierre-emmanuelJ

🎧
Working from home
View GitHub Profile

⚡ Schéma Électrique Van Ford Transit custom (L2H1)

Ce diagramme représente la logique de câblage du système 12V, de la batterie moteur jusqu'aux accessoires. Les flèches pleines représentent le fil Positif (Rouge), les flèches pointillées représentent le fil Négatif (Noir).

flowchart TD
    %% Couleurs et Styles
    classDef batterie fill:#2ecc71,stroke:#27ae60,stroke-width:2px,color:#fff;
    classDef danger fill:#e74c3c,stroke:#c0392b,stroke-width:2px,color:#fff;
@pierre-emmanuelJ
pierre-emmanuelJ / exo_api.sh
Last active October 22, 2025 08:50
A Bash script to generate and send authenticated HTTP requests to the Exoscale API v2 using HMAC-SHA256 signatures.
#!/bin/bash
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
echo "Usage: $0 <method> <url-path> [expiration]"
echo "Example: $0 GET /compute/instance 1717430400"
echo "Parameters:"
echo " method - HTTP method (GET, POST, PUT, DELETE)"
echo " url-path - API path without /v2/ prefix"
echo " expiration - (optional) Unix epoch timestamp (default: now + 300s)"
exit 1
@pierre-emmanuelJ
pierre-emmanuelJ / RHCOS-Exoscale.md
Last active June 30, 2023 08:01
RedHat CoreOS (RHCOS) on Exoscale
@pierre-emmanuelJ
pierre-emmanuelJ / k8s-security-group.go
Last active May 4, 2020 15:34
A tool to create all security groups for a k8s cluster with Calico at Exoscale
package main
import (
"errors"
"fmt"
"os"
"log"
"github.com/exoscale/egoscale"