Skip to content

Instantly share code, notes, and snippets.

View amazingrando's full-sized avatar
✏️
Happy to Help®

Randy Oest amazingrando

✏️
Happy to Help®
View GitHub Profile
@amazingrando
amazingrando / carousel.js
Last active April 18, 2023 13:06
Adding a JS library to an Emulsify Component in Drupal files
@amazingrando
amazingrando / jsonapi output
Created September 7, 2020 17:47
Gatsby/Drupal api json
{
"jsonapi": {
"version": "1.0",
"meta": {
"links": {
"self": {
"href": "http://jsonapi.org/format/1.0/"
}
}
}
@amazingrando
amazingrando / macro.js
Last active May 18, 2020 17:49
Read Actor Attributes on FoundryVTT
/* For use with FoundryVTT */
/* Define skill lists. If you only have one section,
just use "Common" */
const skillList = {
Common: [
"athletics",
"burglary",
"deceive",
"empathy",
<?php
$csvSource = "docs/2.csv";
$csvData = [];
$csvTitles = [];
if (($handle = fopen($csvSource, "r")) !== FALSE) {
$row = 1;
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
@amazingrando
amazingrando / config.js
Last active July 30, 2019 14:14
Twig Filters with Storybook.io
import { addParameters, configure } from "@storybook/html";
import "../css/tufts_base.css";
import Twig from "./filters";
function loadStories() {
const req = require.context("../stories", true, /\.stories\.js$/);
req.keys().forEach(filename => req(filename));
}
configure(loadStories, module);
@amazingrando
amazingrando / notes.md
Created March 13, 2018 19:53
Book Notes—Discussing Design

Discussing Design: Improving Communication and Collaboration Through Critique (Adam Connor; Aaron Irizarry)

Download from the authors: http://www.discussingdesign.com/downloads/Critique_CheatSheet.pdf

Randy's Opinion

Overall: 👍 Thoughts: Worth skimming the notes here. The book had a lot of extra "padding" that could've been edited out.

Notes

  • It is you who are obligated to set up your audience to provide you the critique that you want and need through a structured request. It is you who needs to provide people a proper context—the scope and goals for the critique—to set the proper expectations and to frame the critique that allow you to explore possible improvements.
@amazingrando
amazingrando / performance.js
Created June 26, 2017 19:50
ngrok performance
/**
* @file
* Frontend Performance tasks
*/
/* eslint no-console: 0 */
/* eslint no-process-exit: 0 */
/* globals require, process */
// Performance Testing
var gulp = require('gulp');
@amazingrando
amazingrando / header.html
Created March 14, 2017 05:47
Snippets for FG-84
<figure class="ad ad--banner ad--lg"><img src="/sites/all/themes/custom/game/components/images/ad-banner.png" alt="Ad" width="720" height="90" /></figure>
@amazingrando
amazingrando / keybase.md
Created November 18, 2016 01:56
Proving my identity with keybase.io

Keybase proof

I hereby claim:

  • I am amazingrando on github.
  • I am amazingrando (https://keybase.io/amazingrando) on keybase.
  • I have a public key ASCcBR3NC9aIZzlK3yJrEUPMOhW2apNJucUuuSQ7B5iiCgo

To claim this, I am signing this object:

@amazingrando
amazingrando / Tips for Demo Presentations.md
Last active October 13, 2016 15:54
Tips for Demo Presentations

Tips for Demo Presentations

Why this presentation?

  • I had a hard time with demos on a tough client. Reviewing one ticket could sometimes take up to a half hour. I felt that I could do better.

Know your audience.