Skip to content

Instantly share code, notes, and snippets.

View keiranmraine's full-sized avatar

Keiran Raine keiranmraine

View GitHub Profile
@keiranmraine
keiranmraine / VirtualBoxHowTo.md
Last active January 29, 2018 15:10
Getting VirtualBox working in rudimentary fashion for compilation (OSX)

Virtualbox guest:

https://askubuntu.com/a/917163

Once restarted add user to group:

nano /etc/group :add user name to end of vboxsf line (last in file normally)

Fix inability to write symlinks:

@keiranmraine
keiranmraine / docker_stats.sh
Created January 10, 2022 14:49
Script to output docker stats suitable for file while job is running
#!/bin/bash
set -ue
CONTAINER_ID=$1
# include the header first time
docker stats --no-stream $CONTAINER_ID
while true; do