Skip to content

Instantly share code, notes, and snippets.

@gabydd
gabydd / config.toml
Last active July 21, 2024 13:16
helix lf
[keys.normal]
C-f = [":new", ":insert-output lf-pick", "split_selection_on_newline", "goto_file", "goto_last_modification", "goto_last_modified_file", ":buffer-close!", ":theme nord", ":theme default"]
# replace the default after theme with the theme you use
# open 1 with the open command (l and <left> to open) or more with (<space> to select) then quit
# all opened files will be opened in helix
module Limiter exposing
( Limiter, Msg
, debounce, throttle
, event, push
, update
)
{-| A Limiter is a handy way of slowing down the number of messages or events
we get from a particular source. We have two main methods of rate-limiting this
data:
@JoelQ
JoelQ / elm-types-glossary.md
Last active June 26, 2024 03:05
Elm Type Glossary

Elm Types Glossary

There's a lot of type terminology and jargon going around when discussing types in Elm. This glossary attempts to list some of the most common type terms along with synonyms, terms from other language communities, examples, and links to more detailed articles on each topic.

@nathansizemore
nathansizemore / gcc-install.sh
Last active June 13, 2024 12:17
Customizable GNU Toolchain install script
#! /bin/bash
BINUTILS_VERSION=binutils-2.28
GCC_VERSION=gcc-7.1.0
LIBC_VERSION=glibc-2.24
MPFR_VERSION=mpfr-3.1.5
GMP_VERSION=gmp-6.1.2
MPC_VERSION=mpc-1.0.3
ISL_VERSION=isl-0.16.1
CLOOG_VERSION=cloog-0.18.1