Skip to content

Instantly share code, notes, and snippets.

@vivshaw
vivshaw / OOOOOoooOOooOoOoo.d.ts
Created October 18, 2021 15:36
👻 Haunted TypeScript 👻
declare namespace ⵔ {
type Ѻ
=never;type ⵔ
= "ⵔ"
type 〇
= "〇"
type O
= 〇
| ⵔ
type o <
@airportpeople
airportpeople / ide_setup.md
Created November 8, 2020 17:14
Create a comfortable working environment with the Visual Studio Code IDE and norns.

VSCode + norns

Create a comfortable working environment with the Visual Studio Code IDE and norns. I'm using a 13" Macbook Pro, 2017.

1 Cloning norns

In Maiden (which is awesome), we have access to several pre-defined scripts on initialization (e.g., audio, and tab). To get the same kind of access in our IDE, we need to have a cloned version of the norns repository. Go ahead and clone it to your local computer, wherever you like. Later, you'll be referencing the lua folder in that repo.

2 WiFi, SSH, and Matron

@micimize
micimize / OwO.js
Created July 3, 2018 03:00
what's this?
C= XD =1
D= '8'
OwO =(
o=0,
O= XD
^('-')> XD
<(' - ')^ XD
^('-')^ XD
==` `== XD
@chenglou
chenglou / gist:40b75d820123a9ed53d8
Last active March 13, 2024 12:14
Thoughts on Animation

Interesting part (unmounting & API) is at the end if you're not interested in the rest =).

Stress Tests

This animation proposal is just an attempt. In case it doesn't work out, I've gathered a few examples that can test the power of a future animation system.

  1. Parent is an infinitely spinning ball, and has a child ball that is also spinning. Clicking on the parent causes child to reverse spinning direction. This tests the ability of the animation system to compose animation, not in the sense of applying multiple interpolations to one or more variables passed onto the child (this should be trivial), but in the sense that the parent's constantly updating at the same time as the child, and has to ensure that it passes the animation commands correctly to it. This also tests that we can still intercept these animations (the clicking) and immediately change their configuration instead of queueing them.

  2. Typing letters and let them fly in concurrently. This tests concurrency, coordination of an array of ch

@jgranick
jgranick / gist:1763850
Created February 8, 2012 01:05
NMML File Specification
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- <meta />
Use meta nodes to set metadata for your application. The description is ignored
on most targets, but is useful for packaging like Chrome Apps or Opera Widgets.
For compatibility with Android and webOS, the package name must include at least