Skip to content

Instantly share code, notes, and snippets.

View Alhadis's full-sized avatar

John Gardner Alhadis

  • South Yarra, Melbourne, Australia
  • 14:15 (UTC +10:00)
View GitHub Profile
@Alhadis
Alhadis / font-formats.txt
Created October 30, 2015 16:10
Font format file extensions
_v Adobe Type Manager Japanese font metrics
### SmartWare filled area font
#gf MetaFont
$on Steinberg Cubase fonts compressed
$tf Steinberg Cubase fonts compressed
075 Corel Ventura Publisher 75x75 DPI
085 Corel Ventura Publisher 85x85 DPI
091 Corel Ventura Publisher 91x91 DPI
096 Corel Ventura Publisher 96x96 DPI
0b Adobe PageMaker printer font
@Alhadis
Alhadis / scope-names.json
Last active August 1, 2023 19:43
GitHub CSS Classes for TextMate Syntax Scopes
{
"Source of truth": "https://github.com/primer/github-syntax-light",
"brackethighlighter.angle": "pl-ba",
"brackethighlighter.curly": "pl-ba",
"brackethighlighter.quote": "pl-ba",
"brackethighlighter.round": "pl-ba",
"brackethighlighter.square": "pl-ba",
"brackethighlighter.tag": "pl-ba",
"brackethighlighter.unmatched": "pl-bu",
@Alhadis
Alhadis / absurd.css
Last active March 29, 2018 14:27
CSS Keyword Fixtures
@supports (animation-name: test) {
#node {
animation-name: test;
}
body > header[data-name="attr"] ~ *:not(:first-child){
content: "😂👌"
}
@keyframes important1 {
from {
margin-top: 50px;
@Alhadis
Alhadis / charnames.tsv
Created April 2, 2017 04:29
Named characters in GNU Troff
Output Input PostScript Unicode Notes
Ð \[-D] Eth u00D0 uppercase eth
ð \[Sd] eth u00F0 lowercase eth
Þ \[TP] Thorn u00DE uppercase thorn
þ \[Tp] thorn u00FE lowercase thorn
ß \[ss] germandbls u00DF German double s (sharp s)
ff \[ff] ff u0066_0066 ff ligature +
fi \[fi] fi u0066_0069 fi ligature +
fl \[fl] fl u0066_006C fl ligature +
ffi \[Fi] ffi u0066_0066_0069 ffi ligature +
@Alhadis
Alhadis / log2.svg
Last active November 5, 2019 00:02
Test.md
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Alhadis
Alhadis / ba.sh
Last active August 6, 2020 13:27
Self-reminders
# Tell a program to completely shut the fuck up
(npm install get-options) >/dev/null 2>&1
# Repeat a character a certain number of times
printf %100s | tr ' ' '='
# Hide/show files or directories in Finder
chflags hidden /path/to
chflags nohidden /path/to
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Alhadis
Alhadis / README.md
Last active April 7, 2018 19:55
Harvester
@Alhadis
Alhadis / Annulus-3pt.svg
Created October 10, 2017 13:51
Glyph-Clipping-Demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Alhadis
Alhadis / after.html
Last active February 16, 2018 04:15
node(1) mdoc/man comparison
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><title>After</title><style> html{ background: black; color: white } a{ color: inherit; text-decoration: none } pre{ font: 1rem "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-variant-ligatures: none }</style></head><body><pre>
NODE(1) BSD General Commands Manual NODE(1)
<b>NAME</b>
<b>node</b> — server-side JavaScript runtime
<b>SYNOPSIS</b>
<b>node</b> [<u>options</u>] [<u>v8-options</u>] [<b>-e</b> <u>string</u> | <u>script.js</u> | <b>-</b>] [<b>--</b>]
[<u>arguments</u> <u>...</u>]
<b>node debug</b> [<b>-e</b> <u>string</u> | <u>script.js</u> | <b>-</b> | <u>&lt;host&gt;:&lt;port&gt;</u>] <u>...</u>