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
---
name: design-eval
description: >
Comprehensive UX/UI design evaluation skill grounded in established frameworks:
Nielsen's 10 Usability Heuristics, Shneiderman's 8 Golden Rules,
Gerhardt-Powals' Cognitive Engineering Principles, the Fogg Behavior Model
(B=MAP), and Laws of UX (Hick's Law, Fitts's Law, Miller's Law, Jakob's Law,
Peak-End Rule). Use this skill whenever the user wants to evaluate, critique,
audit, or review a design — including screenshots, mockups, wireframes,
prototypes, described flows, or any UI element. Also trigger when the user
@amazingrando
amazingrando / example.twig
Created August 13, 2024 18:08
Emulsify Single Directory Components snippet
# Current Emulsify Implementation:
{% include "@components/logo/logo.twig" with {
logo__src: '/assets/images/logo.svg',
logo__modifiers: ['large'],
} %}
# SDC Implementation:
{% include "my-theme:components/logo" with {
@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>