Skip to content

Instantly share code, notes, and snippets.

View xunleii's full-sized avatar

Alexandre NICOLAIE xunleii

  • Paris, France
View GitHub Profile
@xunleii
xunleii / proof.md
Created March 22, 2024 16:09
Proof for keyoxide.org/0E1D33C2341C0574214913D4E8DC4905AFAEBC64

$argon2id$v=19$m=64,t=512,p=2$JOEdfBGoeRxK8DvMtoVN/g$UPbvZwGiTffzC7NCE5UGiQ

@xunleii
xunleii / README.md
Last active April 25, 2021 20:00
'English word'ed domain resolver' Notebook for Jupyter

'English word'ed domain resolver' Notebook for Jupyter

The goal of this notebook is to easily find an available domain based on the English dictionary.

This Notebook can be launched directly from mybinder.org

@xunleii
xunleii / 70-hetzner-net-routes.rules
Created December 30, 2020 20:44
Synchronize Hetzner Cloud private network for k3os
#/etc/udev/rules.d/70-hetzner-net-routes.rules
SUBSYSTEM=="net", KERNEL=="eth*", RUN+="/usr/lib/sync-hetzner-routes"
@xunleii
xunleii / scaleway.coreos.json
Last active July 5, 2022 16:38
CoreOS on Scaleway (with packer)
{
"builders": [
{
"type": "scaleway",
"api_token": "00000000-0000-0000-0000-000000000000",
"organization_id": "00000000-0000-0000-0000-000000000000",
"region": "par1",
"image_name": "CoreOS",
@xunleii
xunleii / lxc_proxmox.sh
Created May 22, 2017 21:28
Add flags to use docker on LXC in proxmox
#!/bin/bash
lxc.aa_profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:
@xunleii
xunleii / dump2ftp
Last active December 23, 2016 23:15
dump2ftp - Send Proxmox dump with FTP
#!/bin/bash
# Authors: Alexandre NICOLAIE <pheonyx>
# Description: Script to send and remove automatically Proxmox dump with FTP (for Online.net)
# Arguments: dump2ftp <ftp server> <ftp user> <ftp password> <pushbullet api key> <day before clean> <vzdump path>
SERVER="$1"
USER="$2"
PASSWD="$3"
API_KEY="$4"
DAY_AGO="$5"