This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| node ~/.wmii-hg/wmiirc.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE UnicodeSyntax #-} | |
| -- SIP hash in pure Haskell | |
| -- Original C reference implementation taken from (github.com/veorq/SipHash) | |
| -- Translated to Haskell by Adam R. Nelson (github.com/ar-nelson) | |
| -------------------------------------------------------------------------------- | |
| module Data.Digest.SIP(sipHash) where | |
| import Control.Monad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Figma Mouse Wheel Speed Fix | |
| // @namespace https://adam.nels.onl | |
| // @match https://www.figma.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| // Mouse wheel scrolling in Figma on Firefox + Linux is unbearably slow. | |
| // | |
| // This script catches all mouse wheel events on the main canvas, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import m from "mithril"; | |
| import { Meta, StoryObj as _StoryObj } from "@storybook/web-components"; | |
| /* | |
| * Modern Storybook v8 doesn't support Mithril anymore, so this is a quick shim to cram Mithril | |
| * components into Web Component wrappers and get all of the types right. | |
| * | |
| * Instead of importing Meta and StoryObj from @storybook/web-components and defining them directly, | |
| * just use defineMetaMithril and StoryObj from this file. | |
| * |
OlderNewer