Skip to content

Instantly share code, notes, and snippets.

View bjornmeansbear's full-sized avatar
🌲
Born at 341ppm CO2 — let's get back there

Kristian Bjørnard bjornmeansbear

🌲
Born at 341ppm CO2 — let's get back there
View GitHub Profile
from fontTools.ttLib.tables._f_v_a_r import table__f_v_a_r, Axis, NamedInstance
from fontTools.ttLib.tables._n_a_m_e import table__n_a_m_e, NameRecord
from fontTools.ttLib import TTFont
def AddName(font, name):
nameTable = font.get("name")
if nameTable is None:
nameTable = font["name"] = table__n_a_m_e()
nameTable.names = []
namerec = NameRecord()
@tatianamac
tatianamac / tatiana-mac-speaker-rider.md
Last active April 22, 2025 22:44
Tatiana Mac's Speaker Rider

Speaker Rider

by Tatiana Mac

Last updated 14 April 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.

Considerations

😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

Quick response in case it’s useful to you re your conference proposal deadline.

This is fascinating and important. The idea of using free/libre/open source approaches (or materials created and licensed in that manner) is novel, on one hand, and yet we do it far more than we usually realize.

Free/open source is an enormous topic. It seems small only because it’s outside most of what we talk about in graphic design. There’s enough here for three or four papers/presentations, really. I think, pick one topic—any of them are worth examining, and (guessing at your audiences here) are likely to need considerable explanation. You could also focus on the MICA special topics class, which would let a designer/educator audience hear about a familiar and tangible outcome (the class) yet explore all of these threads. One issue in depth, or talk about one class that looks at all these issues, making the class and the student response into the topic.

I’m seeing, in your writing, a few ways of thinking about free/libre/ope

⚠️ this is now stupidly out of date

Computers

  • 13" Macbook Pro 3.3 GHz i7 (late 2016)
  • Microsoft Surface Book (2016)

Peripherals

@robinsloan
robinsloan / unfave.rb
Last active November 6, 2024 14:29
Unfave script, because why not??
#!/usr/bin/env ruby
require "rubygems"
require "twitter"
require "json"
require "faraday"
# things you must configure
TWITTER_USER = "your_username"
# get these from dev.twitter.com
@keeferrourke
keeferrourke / install-google-fonts.sh
Last active May 22, 2023 12:38
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
#!/bin/sh
# Written by: Keefer Rourke <https://krourke.org>
# Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git
srcdir="/tmp/google-fonts"
pkgdir="/usr/share/fonts/truetype/google-fonts"
giturl="git://github.com/google/fonts.git"
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
link(rel='icon', sizes='16x16 32x32 48x48 64x64', href='favicon.ico')
link(rel='shortcut icon', href='favicon.ico')
link(rel='apple-touch-icon-precomposed', href='favicon-152.png')
meta(name='msapplication-TileColor', content='#FFFFFF')
meta(name='msapplication-TileImage', content='favicon-144.png')
meta(name='msapplication-square70x70logo', content='favicon-70.png')
meta(name='msapplication-square150x150logo', content='favicon-150.png')
meta(name='msapplication-square310x310logo', content='favicon-310.png')
link(rel='apple-touch-icon-precomposed', sizes='152x152', href='favicon-152.png')
link(rel='apple-touch-icon-precomposed', sizes='144x144', href='favicon-144.png')
@plusjade
plusjade / pages_filter.rb
Created November 30, 2013 11:12
Ruhoh plugin to pragmatically filter pages in a pages collection by an arbitrary prefix. Useful for filtering into sub-directories of the pages collection.
# ./my-blog/plugins/pages_filter.rb
module PagesFilter
# Filter pages by custom prefix.
# The prefix string is compared against the id which is the relative filepath.
# This enables sub-directory filtering.
# Example:
# <ul>
# {{# docs.filter.2/widgets/ }}
# <li>{{ title }}</li>
@hadess
hadess / tmp.c
Created October 5, 2013 23:19
Hack to control the keyboard backlight level on a Thinkpad Lenovo X1 Carbon Touch
/* gcc -o tmp `pkg-config --libs --cflags glib-2.0` tmp.c
*
* # modprobe ec_sys
*
* # watch -n 0.1 hexdump -C /sys/kernel/debug/ec/ec0/io
*
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 03 00 10 |..........G.....|
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 43 00 10 |..........G..C..|
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 83 00 10 |..........G.....|