Skip to content

Instantly share code, notes, and snippets.

View itspacrat's full-sized avatar
🦐
<- Peak posture

Blake "PacRat" G. itspacrat

🦐
<- Peak posture
View GitHub Profile
@Parmeisan
Parmeisan / Macro Parameters
Last active February 10, 2021 16:20
Roll20 - Macro Parameters
// Purpose: Allows you to automatically fill in macro variables, from chat or from another macro.
// Usage: #MacroName(param1,param2)
// Do NOT include a space after MacroName and before the (. If you do that, Roll20 intercepts it
// before sending it to the chat, and there's nothing I can do to help you. :)
var parm_macro_params = parm_macro_params || {};
// Interrupts all chat messages to check for macros.
on("chat:message", function(msg)
@marioBonales
marioBonales / .bashrc
Created January 19, 2012 03:56
Default .bashrc for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace