Skip to content

Instantly share code, notes, and snippets.

/***************************************************************
* This has been deprecated and does not support lancer 1.0.0+ *
***************************************************************/
// Bar Brawl Default Config
Hooks.on("preCreateToken", function(_scene, data) {
const actor = game.actors.get(data.actorId);
data.flags.barbrawl = data.flags.barbrawl ?? {};
const token_bars = data.flags.barbrawl?.resourceBars ?? {};
let def_bars = {};
#!/bin/bash
# !!!!!!!!!!!!!!
# !!!! READ !!!!
# !!!!!!!!!!!!!!
# This script creates an unprivileged user to run the FoundryVTT daemon and
# adds a systemd unit file to run the daemon on startup. You will need to have
# the foundry zip for linux in the directory you run this script from and you
# will need to edit the variables to suit your preferences.
# For setting up storage on a raspberry pi, instead of relying on the auto-
# mount feature, you'll want to set up a boot-time mount
{
"name": "Overheating",
"sort": 100001,
"flags": {
"exportSource": {
"world": "gfr",
"system": "lancer",
"coreVersion": "0.7.5",
"systemVersion": "0.1.12"
}
@BoltsJ
BoltsJ / qfsign.vim
Last active December 5, 2022 06:30
Automatically place signs based on the quickfix list.
if exists('g:loaded_qfsign')
finish
endif
let g:loaded_qfsign=1
sign define QFErr texthl=QFErrMarker text=E
sign define QFWarn texthl=QFWarnMarker text=W
sign define QFInfo texthl=QFInfoMarker text=I
augroup qfsign
#!/usr/bin/env xdg-open
[Desktop Entry]
Categories=Utility;
Comment=A desktop agnostic launcher
Exec=albert
GenericName=Launcher
Icon=albert
Name=Albert
StartupNotify=false
Type=Application
#!/usr/bin/perl
=item Copyright
Copyright 2016 Joseph R. Nosie
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.