Skip to content

Instantly share code, notes, and snippets.

View ulfox's full-sized avatar

Christos Kotsis ulfox

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ulfox on github.
  • I am ulfox (https://keybase.io/ulfox) on keybase.
  • I have a public key whose fingerprint is E30B 5F85 2BE2 9489 1BD8 9041 D9AD E4B4 0DBF 1454

To claim this, I am signing this object:

package main
import (
"github.com/sirupsen/logrus"
"github.com/ulfox/dby/db"
)
func main() {
logger := logrus.New()
state, err := db.NewStorageFactory("local/db.yaml")
@ulfox
ulfox / migrate-os.sh
Created August 23, 2021 14:08
Simple script for migrating a debian-like OS to Arch
#!/usr/bin/env bash
set -e
if [[ "${1}" == "bootstrap" ]]; then
# Create an arch bootstrap system
apt install -y vim curl zstd git
cd /mnt
git clone https://github.com/tokland/arch-bootstrap.git