Skip to content

Instantly share code, notes, and snippets.

andersevenrud /
Last active April 14, 2024 20:05
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s >
Scub3d /
Created December 11, 2018 05:38
Python code that gets and records the LoL Esports websocket data
# -*- coding: utf-8 -*-
import websocket, thread, time, requests, json
from firebase import firebase
# I use firebase to store everything, but it can be adpated to work with other stuff
firebaseURL = '<your firebase database (not firestore) url here>'
firebase = firebase.FirebaseApplication(firebaseURL, authentication=None)
def getStreamToken():
r = requests.get("")
RobertFischer /
Last active October 14, 2023 16:47
Benchmarking is Hard, Yo.

So, I was reading Why You shouldn’t use lodash anymore and use pure JavaScript instead, because once upon a time, I shifted from Underscore to Lodash, and I'm always on the lookout for the bestest JavaScript stdlib. At the same time, there was recently an interesting conversation on Twitter about how some of React's functionality can be easily implemented in modern vanilla JS. The code that came out of that was elegant and impressive, and so I have taken that as a message to ask if we really need the framework.

Unfortunately, it didn't start out well. After copy-pasting the ~100 lines of code that Lodash executes to perform a find, there was then this shocking claim: Lodash takes 140ms, and native find takes 0ms.

joshbuchea /
Last active April 16, 2024 11:36
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional