Skip to content

Instantly share code, notes, and snippets.


Moved to repo: /quenhus/uBlock-Origin-dev-filter

In order to keep filters up to date, please use this repo.

View template-engine.lisp
;; [15:04] <_death> sure, it's not too difficult.. you could also pick an existing syntax
;; I answered binrapt after he talked about template engines.
;; I don't think I ever wrote a template engine, so why did I say that?
;; Anyway, let's write a template engine.
(defpackage #:snippets/template-engine
(:use #:cl)
(:import-from #:alexandria
(:import-from #:sb-ext
radiantly / noMangleGoogle.user.js
Last active Dec 23, 2021
Prevent Google from mangling links on the search results when clicking or copying on Firefox
View noMangleGoogle.user.js
// ==UserScript==
// @name Prevent link mangling on Google
// @namespace LordBusiness.LMG
// @match
// @grant none
// @version 1.1
// @author radiantly
// @description Prevent google from mangling the link when copying or clicking the link on Firefox
// ==/UserScript==
LewisGaul /
Last active Jan 25, 2022
Collection of blog posts about the Zig programming language
programus / alacritty.yml
Last active Dec 13, 2021
pull down from top alacritty (like iTerm2)
View alacritty.yml
# Window dimensions (changes require restart)
# Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size.
columns: 500
lines: 30
tabdulradi /
Last active May 14, 2021
Scala Script Runner

Scala Script Runner

Make sure you have coursier installed

chmod +x test.scala

First time it will download scala-compiler (and depending on your config maybe GraalVM) then cache a bootstrap runner. Next time it will run much faster using the cached runner (depending on you config can be native program!).

View How to join the Pluto

How to join the Pluto zulip

The best way to get in touch with fellow Pluto users is to join our zulip chat. Zulip is a chatting website (similar to Slack), but it is free, which means that you can also read old messages.

We are a subchannel of the Julia zulip. To join it:

  1. Click here to join the Julia zulip:
  2. Create an account, or log in with github/google.
  3. After logging in, you need to Add the Pluto stream using this button:

Pycea / fixed_header.css
Last active May 20, 2021
Styling improvements for the ACX Substack. To load into Safari, copy the ones you want into a file, then go to Preferences > Advanced > Style sheet and select your file.
View fixed_header.css
/* Fixes the header to the top of the page */
div#entry > div#main .main-menu-content {
position: relative !important;
top: 0 !important;
div#entry > div#main .main-menu .backdrop {
position: fixed !important;
kubinka0505 / Simple script providing multiline text draw with emoji support (Pillow & emojicdn).py
Last active Aug 17, 2021
Simple script providing multiline text draw with emoji support (Pillow & emojicdn)
View Simple script providing multiline text draw with emoji support (Pillow & emojicdn).py
"""Simple script providing multiline text draw with emoji support (Pillow & emojicdn)"""
import io
from requests import get
from textwrap import wrap
from urllib.parse import quote_plus
from emoji import emojize, demojize, UNICODE_EMOJI
from PIL import Image, ImageDraw, ImageFont, UnidentifiedImageError