Skip to content

Instantly share code, notes, and snippets.

@-moz-document domain("cohost.org") {
[data-view="post-preview"] img {
filter: brightness(75%);
transition: 200ms filter ease-in;
&:hover {
filter: brightness(100%);
}
}
@jkap
jkap / prechoster-ask-format.json
Last active March 31, 2023 13:34
jae's ask formatter
{"modules":[{"id":"396b4e1b035c1577","data":{"contents":"I'm putting a question here!","language":"text"},"pluginId":"source.text","sends":[],"namedSends":{"152aae77d0e8a772":["ask"]},"graphPos":null},{"id":"59714cceb7682bd0","data":{"contents":"That's great! here's an answer!\n\n<b>You can use HTML here too!</b>\n\nDon't forget to change your retrospring URL at the bottom!","language":"html"},"pluginId":"source.text","sends":[],"namedSends":{"152aae77d0e8a772":["answer"]},"graphPos":null},{"id":"152aae77d0e8a772","data":{"contents":"<script>\n import ask from \"./ask\";\n import answer from \"./answer\";\n import retrospringUrl from \"./retrospringUrl\";\n</script>\n\n<div class=\"background\">\n <div class=\"container\">\n <div class=\"ask-section\">\n <div class=\"ask-container\">\n <span class=\"attribution\"\n ><strong>Anonymous</strong>\n <!-- -->asked:</span\n >\n <div class=\"ask\">{ask}</div>\n <div class=\"arrow\"></div>\n </div>\n
@jkap
jkap / random-channel.js
Created April 25, 2020 22:00
Logic Pro X Scripter script for assigning MIDI NoteOn events to random channels
// assigns incoming MIDI NoteOn events to a "random" channel in a given range
// channel assignment is deterministic based on position in song and specified seed
// for Logic Pro X Scripter plugin
// written by jae kaplan, 2020
// twitter.com/jkap
// github.com/jkap
// MIT licensed
var NeedsTimingInfo = true;
@jkap
jkap / fetch-park-maps.fish
Last active March 14, 2019 19:10
fetch-park-maps.fish
#!/usr/bin/env fish
set park_ids 330339 \
336894 \
80007823 \
80007944 \
80007998 \
80007838
set park_keys DisneylandResortMagicKingdom \
DisneylandResortCaliforniaAdventure \
@jkap
jkap / sanfrancisco-font.css
Last active December 19, 2018 19:29
San Francisco Web Font
This file has been truncated, but you can view the full file.
/*---------------------------------------------------------------------------*
* SF Mono
*---------------------------------------------------------------------------*/
/** Bold */
@font-face {
font-family: "SF Mono";
font-weight: 700;
src: url("data:font/otf;charset-utf-8;base64,T1RUTwAKAIAAAwAgQ0ZGIMzCCFAAABtkAAGJKE9TLzKXT+wWAAABEAAAAGBjbWFw0HBzKQAADnwAAAzIaGVhZAtiHbMAAACsAAAANmhoZWEMkwYlAAAA5AAAACRobXR4SvRQygABpIwAAAtCbWF4cAWdUAAAAAEIAAAABm1ldGFqprq0AAGv0AAAAhxuYW1lEdtaRAAAAXAAAA0McG9zdP6HAGUAABtEAAAAIAABAAAAAQAASUuoNF8PPPUAAwgAAAAAANOsODUAAAAA06yatP81/LgFvQkaAAAAAwACAAAAAAAAAAEAAAee/hIAAATy/zX/NQW9A+gAAAAAAAAAAAAAAAAAAAAEAABQAAWdAAAAAwTyArwABQAEBTMEzAAAAJkFMwTMAAACzABkApUAAAILAAkAAAIAAAAgAAKPAAAYAgAAAAAAAAAAVUtXTgAAACD7Agee/hIAAAeeAe5gAAGfAAAAAARPBaMAAAAgAAAAAAAgAYYAAQAAAAAAAAAyAAAAAQAAAAAAAQAHADIAAQAAAAAAAgAEADkAAQAAAAAAAwAiAD0AAQAAAAAABAAMAF8AAQAAAAAABQAIAGsAAQAAAAAABgALAHMAAQAAAAAABwAKAH4AAQAAAAAACAAKAIgAAQAAAAAACQAKAJIAAQAAAAAACgAKAJwAAQAAAAAACwAVAKYAAQAAAAAADAAVALsAAQAAAAAADQLuANAAAQAAAAAADgA
@jkap
jkap / ipod-submarine.md
Last active July 14, 2021 18:36
Elon Musk's iPod Submarine

Elon Musk's iPod Submarine

A game of terrible solutions to terrifying problems by Steve Dee

Transcribed from http://tinstargames.weebly.com/micro-games.html by jae kaplan since i was having trouble reading the image.

Get a piece of paper for every player. One player secretly writes down a terrible problem the world is facing right now, ripped from the headline news or their own tragic life. They must sum it up in six words or less. (eg kids stuck in cave under ocean, Russian interference in world politics, cat vomit on carpet, going to die a virgin). Write this problem on all the pieces of paper except one. On that one, write ELON MUSK.

Put all the pieces of paper in a hat and each player draws one out randomly. The player who wrote the problem does not draw.

Then every player pitches their solution to the problem. Of course, being no-nonsense billionaire tech-bro geniuses, they can only say two words to sum up their solution

@jkap
jkap / coaster-tiers.md
Last active November 23, 2017 18:06
jkap's coaster tier list

jae kap’s official coaster ranking

coaster count profile

key

  • BGT: Busch Gardens Tampa
  • BGW: Busch Gardens Williamsburg
  • CGA: California’s Great America
  • DAK: Disney’s Animal Kingdom
  • DCA: Disney’s California Adventure

Keybase proof

I hereby claim:

  • I am jkap on github.
  • I am jkap (https://keybase.io/jkap) on keybase.
  • I have a public key ASBufboPbT2iX6kOsLi9lsDpYLl-b9pkB7iia3ZbW5lRGgo

To claim this, I am signing this object:

var HANDCLAP = "👏";
function addClaps(input) {
return input.split('').map(function(char) {
if (char === ' ') {
return ' ' + HANDCLAP + ' ';
}
return char;
}).join('');