Skip to content

Instantly share code, notes, and snippets.

View naoki9911's full-sized avatar
🌴
On vacation

Naoki MATSUMOTO naoki9911

🌴
On vacation
View GitHub Profile
@pamolloy
pamolloy / README.md
Last active April 6, 2024 05:49
Mesh network using VXLAN over Wireguard
@kyokuheki
kyokuheki / stm.md
Last active March 22, 2024 03:51
STM/CTMに参加するときのあると良いもの

Shownet での持ち物とか

持ち物にはテプラや養生テープなどで名前をつけることをおすすめします.よく紛失します.

【必須なもの】

  • ノートPC
    • IPv6 対応
    • VLAN 対応
      • Windowsの人はよく確認しておく (オンボードのものがVLAN使えないときもある)
  • 無線LAN
@cabal95
cabal95 / vm-backup.sh
Created July 25, 2015 17:53
I use this script to backup my QEMU/KVM/libVirt virtual machines. The script requires KVM 2.1+ since it uses the live blockcommit mode. This means the data in the snapshot disk is rolled back into the original instead of the other way around. Script does NOT handle spaces in paths.
#!/bin/bash
#
BACKUPDEST="$1"
DOMAIN="$2"
MAXBACKUPS="$3"
if [ -z "$BACKUPDEST" -o -z "$DOMAIN" ]; then
echo "Usage: ./vm-backup <backup-folder> <domain> [max-backups]"
exit 1