Skip to content

Instantly share code, notes, and snippets.

@taskylizard
taskylizard / fmhy.md
Last active July 4, 2024 14:55
/r/freemediaheckyeah, in one single file (view raw)
@leonelsr
leonelsr / bash_background.vbs
Last active March 14, 2024 02:26
Run bash (Windows Subsystem for Linux) in background, in order to keep background processes running in WSL
' Windows Devs said on the developer feedback asking for cron, deamons and background tasks:
' "This first release of Bash/WSL doesn’t support background tasks, cron jobs, daemons, etc.
' Currently, when you close your last bash shell console window, we tear-down the Linux process
' chain in order to conserve resources."
'
' That's the workaround for now.
' You can run it on boot, for example, and it'll keep a instance of bash running alone in the background
' allowing background processes to run on WSL.
Set WshShell = CreateObject("WScript.Shell")
@JohnPeel
JohnPeel / overviewer_config.py
Last active August 18, 2018 20:17 — forked from tdack/overviewer_config.py
Minecraft Overviewer Config File
import os
from observer import JSObserver
from utils import renderGen
server = os.environ['SERVER']
inputdir = '/opt/minecraft/%s' % server
outputdir = '/opt/minecraft/public_html/%s' % server
observer = JSObserver(outputdir, 2)
rendermode = 'smooth_lighting'