Skip to content

Instantly share code, notes, and snippets.

View alexz0nder's full-sized avatar
🤔

alexzonder alexz0nder

🤔
  • Uzum
  • Tashkent
  • 11:46 (UTC +05:00)
View GitHub Profile
@hmmftg
hmmftg / serve.go
Last active November 29, 2024 09:36 — forked from paulmach/serve.go
Simple Static File Server in Go
/*
Serve is a very simple static file server in go
Usage:
-p="8100": port to serve on
-d=".": the directory of static files to host
-b="/": the base URL to host
Navigating to http://localhost:8100 will display the index.html or directory
listing file.
@beauwilliams
beauwilliams / Vagrant-M1-Install.bash
Last active July 29, 2025 08:19
Run x86 VM's on Mac M1 arm using vagrant with qemu hypervisor
brew install vagrant qemu
#Due to dependency errors, we must install vbguest first..
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-qemu
#cd to working dir you like to keep your vagrant files
cd ~/VM-and-containers/VagrantMachines/M1-vagrantfiles/ubuntu18-generic-64/
#Create a vagrant file
$EDITOR Vagrantfile