Skip to content

Instantly share code, notes, and snippets.

View nick-bors's full-sized avatar
💭
accumulating unfinished side-projects

Nick nick-bors

💭
accumulating unfinished side-projects
  • Athens, Greece
  • 19:30 (UTC +02:00)
View GitHub Profile
@panzerstadt
panzerstadt / HHKB KLE data with 7u spacebar : Happy Hacking Keyboard layout raw data
Last active August 14, 2024 15:26
HHKB KLE data with 7u spacebar : Happy Hacking Keyboard layout raw data (http://www.keyboard-layout-editor.com/)
["esc","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=","|\n\\","~\n`"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"Delete"],
[{w:1.75},"Ctrl","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Return"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"Shift","Fn"],
[{x:1.5,w:1},"Option",{w:1.5},"⌘",{a:7,w:7},"",{a:4,w:1.5},"⌘",{w:1},"Option"]
@nick-bors
nick-bors / array.tsx
Last active February 10, 2023 19:27
A Motion Canvas component for arrays of numbers and chars
import { Layout, LayoutProps, Node, Rect, Text } from "@motion-canvas/2d/lib/components";
import { initial, signal } from "@motion-canvas/2d/lib/decorators";
import { SignalValue, SimpleSignal } from "@motion-canvas/core/lib/signals";
import { ColorSignal } from "@motion-canvas/core/lib/types";
import { makeRef } from "@motion-canvas/core/lib/utils";
import { Colors, BlackLabel, WhiteLabel } from "../styles";
export enum Quote {
single = "'",
double = "\"",