Skip to content

Instantly share code, notes, and snippets.

View Fumesover's full-sized avatar
🇨🇭

Albin Parou Fumesover

🇨🇭
View GitHub Profile
@pierre-emmanuelJ
pierre-emmanuelJ / exoscale-api-sign.bash
Last active July 2, 2025 08:43
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 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
@mping-exo
mping-exo / handshake.md
Last active July 1, 2022 08:46
nbd example

setup

virt-install --name ubuntu18 --vcpus 4 --memory 2048 --disk path=ubuntu18.iso,bus=virtio,cache=writeback --graphics vnc,listen=0.0.0.0  --noautoconsole --os-variant=ubuntu18.10 --import --virt-type kvm

;; virsh 8.0.0
virsh attach-disk ubuntu18 --source foo --source-protocol nbd --source-host-name localhost:6666 --target vde

;; xml
<disk type='network'>
@multun
multun / shell.md
Last active January 11, 2020 08:55
implémenter un shell, douilles et architecture

Le document a été migré ici

@n1tram1
n1tram1 / index.html
Last active April 17, 2019 09:53
This is a test
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Baddass test.</title>
</head>
<body>
Awsome stuff of life.