Skip to content

Instantly share code, notes, and snippets.

View ascott's full-sized avatar
✌️
👌 🌊 ☕️

Alanna Scott ascott

✌️
👌 🌊 ☕️
View GitHub Profile
@ascott
ascott / minimal loading spinner.html
Created February 15, 2017 23:17 — forked from anonymous/index.html
minimal loading spinner
<div class="loading"></div>
@ascott
ascott / getFakeTableOptions.js
Last active March 23, 2017 02:07
get long list of options to test select performance
// get long list of options to test select performance
function getFakeTableOptions(numOptions) {
let counter = 0;
let options = [];
const prefixes = ['foo', 'bar', 'baz', 'zeb', 'alpha', 'beta', 'xylo', 'superfragilistic',
'quick', 'brown', 'fox', 'jumped', 'over', 'lazy', 'dog', 'yak', 'cucumber'];
while (counter < numOptions) {
const label = `${prefixes[Math.floor(Math.random() * prefixes.length)]}--${counter}`;
options.push({ label: label, value: label });
counter++;
@ascott
ascott / README.md
Created February 19, 2019 05:46 — forked from gabrielflorit/README.md
SCRIPT-8
@ascott
ascott / README.md
Created February 19, 2019 05:53
SCRIPT-8
@ascott
ascott / using-gravatar.md
Last active March 29, 2019 22:05
How To Use Gravatar for your Participedia profile picture

How to add a profile image using Gravatar

  1. Visit http://en.gravatar.com and click Create Your Own Gravatar

  2. Sign up or login for a Wordpress.com account using the same email address you use to sign in to Participedia

  3. Check your email for the confirmation email from Gravatar