Skip to content

Instantly share code, notes, and snippets.

View mraichelson's full-sized avatar
💻
clickety clackety...

Michael Raichelson mraichelson

💻
clickety clackety...
View GitHub Profile
@mraichelson
mraichelson / 0-Cyberpunk-Red-Tabbed.md
Last active December 14, 2020 17:26
Cyberpunk Red Tabbed

Hola Choombas

You don't need this any more! This character sheet was accepted by Roll20 and is now available when creating a new campaign as the "Cyberpunk Red Tabbed" character sheet.

This has been submitted as a pull request to Roll20 and can be monitored here to keep an eye on that process. (That's how things end up as a regular character sheet in the campaign settings screens there.)

In the meantime if you want to use this (and you have a PRO level account with Roll20) you can use the HTML and CSS files below as a custom character sheet.

If you spot anything weird and want to make a Pull Request the sheet is built from the code in the mraichelson/cyberpunk-red-tabbed repository.

@mraichelson
mraichelson / online-gaming-cons-2020.md
Last active July 3, 2020 20:07
A list of gaming conventions that will be taking place online.
/**
* @file
* Toggles Welcome Overlay, upon first button
* clicks toggles different content, second toggles overlay
*/
(function ($, Drupal) {
Drupal.behaviors.welcomeOverlay = {
attach: function () {
var cookieName = 'firstWelcome',
https://www.dropbox.com/s/n6trlkgwva84rjv/Scramblers.bsx
(function ($) {
Drupal.behaviors.appointment = {
attach: function(context, settings) {
var $helpBlocks = $('p .help-block');
var helpBlockDesc = '<a id="descriptionhelp"><i class="fa fa-question-circle"></i></a>';
$helpBlocks
.hide()
.append(helpBlockDesc);
$helpBlocks.each(function (i) {
@mraichelson
mraichelson / simple_weather.js
Created March 17, 2014 01:55
simple_weather experiment for providing configurable markup options.
/**
* @file
* JavaScript settings for jQuery simpleWeather plugin.
*
* Download simpleWeather jQuery plugin: http://simpleweatherjs.com.
* Read README.txt for installation instructions.
*/
(function($) {
Drupal.behaviors.simpleWeather = {
@mraichelson
mraichelson / uuid_field_collection.features.inc
Created February 24, 2014 18:46
This is a modified version of uuid_field_collection.features.inc from this issue on Drupal.org https://drupal.org/node/1973770 (after applying the patch from response #29). Lines 79-87 are new code, the rest of the file is the same as what is in place after applying that patch.
<?php
/**
* @file
* Features hooks for the uuid_field_collection features component.
*/
/**
* Implements hook_features_export_options().
*/
function uuid_field_collection_features_export_options() {
@mraichelson
mraichelson / Gemfile
Last active January 3, 2016 06:19
Gemfile for drush-deploy and capistrano version issue.
source 'http://rubygems.org'
gem 'rake'
gem 'capistrano', '2.15.5'
gem 'drush-deploy', '~> 1.0.12', :require => 'drush_deploy'
<?php
$vid = 2;
$terms = taxonomy_node_get_terms_by_vocabulary($bnode, $vid);
$term_names = array();
foreach ($terms as $term) {
$term_names[] = $term->name;
}
echo '<p>' . implode(', ', $term_names) . '</p>';