Skip to content

Instantly share code, notes, and snippets.

View FlokiTV's full-sized avatar
🧡
Svelte lover

Floki FlokiTV

🧡
Svelte lover
View GitHub Profile
@volkovasystems
volkovasystems / xvfb-run-safe.sh
Created October 28, 2016 09:26
xvfb-run-safe
#!/bin/bash
# allow settings to be updated via environment
: "${xvfb_lockdir:=$HOME/.xvfb-locks}"
: "${xvfb_display_min:=99}"
: "${xvfb_display_max:=599}"
mkdir -p -- "$xvfb_lockdir" || exit