Skip to content

Instantly share code, notes, and snippets.

@arrowtype
arrowtype / count-word-frequency.py
Last active September 27, 2025 07:55
A simple Python script to count and rank the frequency of words in a text file, e.g. for verifying that you are kerning important pairs for specific content
"""
Simple Python script to count word frequency in a given text document.
Started from
https://www.geeksforgeeks.org/python-count-occurrences-of-each-word-in-given-text-file/
Usage: Update the file path below, then run in the command line.
"""
# Relative path to a .txt file
@arrowtype
arrowtype / draw-glyph-outline.drawbot.glyphsapp.py
Last active August 20, 2024 23:42
For DrawBot in GlyphsApp: Draw a glyph's outlines & nodes, for presentation / social media purposes
"""
Script to create an image of a glyph in the current layer.
Instructions:
- Use within the Drawbot plugin of GlyphsApp.
- Get this plugin via Window > Plugin Manager, then search for "Drawbot" and install it.
- Then, go to File > New Drawbot, and paste in this code and run it.
- You may need to restart glyphs for the Plugin to work.
@dvf
dvf / change-codec.md
Last active February 10, 2026 03:16
Enable High Quality mode on your headphones (Updated for macOS Catalina)

If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.

Find out what codec you're using

  1. Play a song on your headphones
  2. Option (⌥) click the Bluetooth button at the top of your screen Inspect the Bluetooth Coded
  3. If you're using AAC or aptX, you can stop here—those are the highest quality codecs.

Change your codec to AAC or aptX

@gamesbyangelina
gamesbyangelina / yahoo-answers-mbmbam
Created October 8, 2019 13:31
MBMBAM Yahoo Answers (Ep 1 - 472, filtered)
I went on a first date with this guy; I didn’t know what to say to him?
What is the first song that comes to mind when I say the word “party”?
Can birds get allergies?
Why did my gf who said she loved me cheat on me rite in fornt of me and not care?
How long does it take to get THC out of your system if you only smoke on the weekends?
My girlfriend threw my dog off my balcony when I broke up with her Im not sure what to do?
Can toenails be swallowed?
Is it okay to bring jelly beans on a plane?
is masturbation create problem?
I’m in LOVE with Krista from Fern Gully. Are there any websites devoted to her?
@tiffany352
tiffany352 / index.html
Last active November 13, 2025 02:28
Twitter archive browser
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Twitter Archive Browser</title>
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>
<style>
@brayhoward
brayhoward / convert_aax_files.md
Last active July 6, 2025 02:49
Directions for converting Audible audiobook files, .aax, to .m4a files
@moyogo
moyogo / CustomParameters.md
Created October 25, 2017 13:16
Glyphs.app 1077 Custom Parameters
Custom Parameter Objects Type
ascender master unicode
Autohint instance int
Axes font list
Axis Location master list
blueScale font float
blueShift font int
capHeight master unicode
CJK Grid master int
@itod
itod / split_keyboards.md
Last active September 23, 2025 07:22
Every "split" mechanical keyboard currently being sold that I know of
@casasin
casasin / compareGlyphOrders.py
Created June 25, 2015 11:40
Compare all open fonts glyphOrder to the current font's.
# compareGlyphOrders.py
"""
Compare all open fonts glyphOrder to the current font's.
"""
current = CurrentFont()
fonts = AllFonts()[1:]
@ninastoessinger
ninastoessinger / compare2charsets.py
Created June 23, 2015 21:08
RoboFont script to compare character sets of one UFO to another “master” UFO
from robofab.interface.all.dialogs import SelectFont
markCounterpartsOfMissing = (1, 0, 0, 1)
# mark color for glyphs missing in the other font
# set to None for none, otherwise (r, g, b, a) tuple
f1 = SelectFont("Select 'Master' font:")
f2 = SelectFont("Select font to compare:")
if f1 is not None and f2 is not None: