Skip to content

Instantly share code, notes, and snippets.

on("chat:message",function(msg){
if(msg.type=="api" && msg.content=="!menuMaker"){
var meals = getTableItems("Meals",3);
var drinks = getTableItems("Drinks",3);
if (meals === null || drinks ===null){
return;
}
createMenuHandout(meals,drinks);
}
@Anduh
Anduh / shell.nix
Created July 4, 2021 21:51 — forked from wochap/shell.nix
React native nix shell config example
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
let
android = import (builtins.fetchTarball {
url = https://github.com/tadfisher/android-nixpkgs/archive/0c4e5a01dbd4c8c894f2186a7c582abf55a43c5e.tar.gz;
sha256 = "0x56nh4nxx5hvpi7aq66v7xm9mzn4b2gs50z60w8c3ciimjlpip8";
}) {
channel = "stable";
@Anduh
Anduh / ScreenMonitor.sh
Created April 3, 2021 20:29 — forked from fatguytyson/ScreenMonitor.sh
Screen watcher for Linux Mint Immersed (dis)connect.
#! /bin/bash
OUTPUT_NAME="DVI-I-2-2"
OUTPUT_MODE="1920x1080"
OUTPUT_LOCATION="--right-of DP-1-3"
LOG_DIR="~/.Immersed/Logs"
agent_started() {
pgrep Immersed &> /dev/null 2>&1
return $?
// Github: https://gist.github.com/finalfrog/124f67ad84204546caf16fffd84115e4
//
// =Inspired by=
// MapChange by TheWhiteWolves (https://github.com/TheWhiteWolves/MapChange.git)
// Teleporter Without Movement Tracker by DarokinB (https://gist.github.com/DarokinB/5806230)
// =Author=
// FinalFrog
// =Contact=
// https://app.roll20.net/users/585874/finalfrog
//
@Anduh
Anduh / Kitties.css
Last active August 6, 2020 22:02
Magical Kitties Roll20 sheet
/* General Styling */
@import url('https://fonts.googleapis.com/css?family=Staatliches&display=swap');
.sheet-container {
background-image: url("https://raw.githubusercontent.com/brocktopus/roll20-character-sheets/heart/Heart-the-City-Beneath-mk2/Heart-bg.png");
background-size: cover;
}
.sheet-container div {
@Anduh
Anduh / DoubleCrossCharSheet.html
Created April 14, 2020 13:15 — forked from chronosv2/DoubleCrossCharSheet.html
Double Cross Character Sheet + Stat & Skill Roller
<!-- Starting at Line 446 is an optional table of roll buttons that call an API script. This can be commented out to remove this section. -->
<!-- Access the script at "https://gist.github.com/chronosv2/4bd5fd2350410be73c67". -->
<table style="width: 800px; height: 108px;" border="1">
<tbody>
<tr align="center">
<td style="background-color: black;" colspan="4" rowspan="1">
<span style="font-weight: bold;">
<span style="color: white;">Basic Information
<br></span>
</span>