Skip to content

Instantly share code, notes, and snippets.

@seandstewart
seandstewart / setup-python.zsh
Last active February 27, 2024 02:11
Setup your MacOS for modern Python development (Python3.8-9, Poetry, Pyenv, Pipx, plus many the necessary system packages and compiler links)
#!/usr/bin/env zsh
###############################
# -*- Runtime -*- #
###############################
main() {
prologue
local code
local restart
@shrunyan
shrunyan / app.js
Last active January 7, 2017 14:40
Example Gulp build for Riotjs + ES6 + Browserify + Babelify + Riotify
import './app.tag'
riot.mount('#app', 'app')
@adamyeats-zz
adamyeats-zz / script.js
Last active April 7, 2017 21:18
Typekit Hack
/*
This small hack loads fonts from the Typekit webfontloader (https://github.com/typekit/webfontloader)
contextually, effectively "patching" in a new font if a media query is fired.
You need to have 2 seperate kits on Typekit, one for your main fonts, and another for the fonts you want
when the media query is fired.
Improvements or suggestions welcome!