Skip to content

Instantly share code, notes, and snippets.

@tylerhowarth
tylerhowarth / cloud.typography-aws-s3.md
Last active June 11, 2021 08:13
Cloud.typography fonts on Amazon S3. Using Hoefler + Frere-Jones Fonts in Production Mode on AWS

Fix Cloud.Typography Fonts in Production mode on Amazon S3

I recently switched a project from Development to Production Mode on cloud.typography, uploaded the files to S3, and none of the fonts were rendering completely.

It seems that Amazon's web uploader doesn't assign the correct MIME types for .eot files.

Make sure that the Content-Type for your .eot files is 'application/vnd.ms-fontobject'

Your .css files should have a Content-Type of 'text/css'

@tylerhowarth
tylerhowarth / blockstack.txt
Created November 5, 2017 20:39
blockstack
Verifying that "tylerhowarth.id" is my Blockstack ID. https://explorer.blockstack.org/name/tylerhowarth.id
@tylerhowarth
tylerhowarth / descending-z-index.scss
Last active December 24, 2015 00:49
Simple SCSS mixin which applies a descending z-index to li elements.
@mixin descending-z-index($count: 30){
// @include on UL class
position: relative;
li{
position: relative;
$target: 0;
$index: $count;
@while $index > 0 {
&:nth-child(#{$target}){ z-index: #{$index}; }
$target: $target + 1;
@tylerhowarth
tylerhowarth / iOS Icon Size + Radius
Last active December 16, 2015 20:29
Simple chart of iOS App Icon sizes and corner radii
Icon Size Radius
iTunesArtwork.png 512px 89.825
Icon.png 57px 10
Icon@2x.png 114px 20
Icon-72.png 72px 12.632
Icon-72@2x.png 144px 25.263
Icon-Small.png 29px 5.088
Icon-Small@2x.png 58px 10.175
### Keybase proof
I hereby claim:
* I am tylerhowarth on github.
* I am tylr (https://keybase.io/tylr) on keybase.
* I have a public key whose fingerprint is C559 E2B1 E115 E0B2 7424 6B86 1CEB 813C 6EC2 0EFF
To claim this, I am signing this object:

My Life in Emoji

November 2012 - February 2014

🏨🎥🏨🍺🌳🍺🏨🍷🍝🏨🍳🏨🌳🏨🎭🏨🌳🏨🍴🌳🏨⚓️🍔✈️☕️🏢🍴🏢💪👕🏢🍔🍴🏢🍣💰🏢🍴🏢☕️🏢💰🏢💰📕💪🍴🎸🍺🍴👕💰☕️💰🍞👕💻🍷💰🏢🍴💰🍛🍜🍴🍝☕️🍸🍴🍺🍴🎥💪🍺🌳💰🌳🎥🍴⛪️🍴💰🍴🍺☕️🏢💰☕️🏢🍺💰👕💰👕🍺🍴💪🍴☕️🍜💻🏢🍴💰🎭🏨🍴💰🌳☕️🍺🍴🎥⛪️💰☕️🎭👕☕️💰💪💰⛪️💰🍴🎥💰💪☕️👕💰🍜🎥💰🎭🍴💰🍕💪👕🏨🌳☕️🍷💰🍴🍜🍻☕️🍪☕️🎓🍣🍝🍴🎭👜🍝🏨🍴🎭🏨💰👜🌳🍺🍜🎭🍴💰🍸🍴💰🍻☕️🎥🏡🎭🏡☕️🏡🍴☕️🏡🍺🍝🍸🏡🍜💰☕️🏡💰🍸🏡💪🍴🏡🍸🏡🏨🍴🏡💰🏡💰🍺💪☕️🏡🏀🏡🍜🍺🏡💰🏡☕️🏡🍴🍺🏡🍜🏡💰🎭🏡🍜💪🏡💪🏡☕️🍜🏡🍺🏡🍴🏡☕️🏡💰🏡✈️🍺🍸🍛🌳🎭🍴💰🏨🍻🍛🍳💰🎓💰🌳🍴🍛🍸💰🏨🍴💰🏨💰🎥🍴🍷🍃🎿🍴🎿🍃🎿🍴🎿🍺🎿🍃🎿🍃🍴🍃🍺🎿🍴🎿🏨🍃🎿🍔🌳🏨✈️🏨☕️🍴✈️🏡🍴🏡🍜🍴🏡🍛☕️🍴🏡🍜🏡☕️💰🏡🍴☕️🍴🏡🍺🏡🍝🏡☕️🍴💪🏡💪🎭🌳🏡🍴🏡🍴🏡☕️🏡🍸🏡🍜🏡☕️🏡🏢🏡💪🏡🍴🏡💪🍸🏀🌳🏤🏡🍜🏡☕️🏡🍜🏡🍴🏡🍴💰🏡🍻🏡🍺🏡🏀🏡🍟🍴🎸🍸🍺🍴🏡💪🏡👕🏡☕️🍴🏡🍜🏡☕️🏡🍜🏡🎸💰🏡☕️🍜🏡🍺🏡☕️🏡🏤🏀🏡💰🍩📕🏡🍴🏡💰🍺🏡🍴🏡☕️🏢🏡🏢🍜🏢🏡🍴🏡🏢🍺🍴🏢👕🏡🏢🍝🍴🏢💰🍜🏡🏈👜🎓🍺🏢🏨🏢🏀🏨🎭🍴☕️⛪️☕️🍴🍺🍴🎭🌳🍴🍪🍺🍸🍣🍴☕️🍴🏡🍴🏢🍴🏢🏡🍴🏡💪🍞☕️🏢🏡🍣🏡🍟🏡🏢☕️🏢🏡🏢🍺🏢🏡🍴💰🏡🏢🍜🏢🏡🏢🍺🏢🏡🏢💰🍺🍴🏡☕️🍣🎭💰🏡💪🏡🍺🍸🍪👕🏢🏡🏢☕️🏡🍴🏢☕️🏢🍸☕️🏢🏡🏢☕️🏢🏡🏢🍴💪🏢🍴🎥🏡💰🏡🏀🏡🍴🏢🍴🏢🏡🍴🏡☕️🏢☕️🏢🏡🏢🍴🏢🏡🏢🍴🏢🏡🍺🏢🍴🏢🏡💰🏡☕️🏡💰☕️💰🏡🍴🎭🏡☕️🍺🏢🍺🏡🏢✈️🍸🍴🍳🍜🎣🏠💰🍴🍸☕️🍜☕️💰☕️🍞🍸🍴✈️🍸🍺🍴🏡🍟🍺🏡☕️🏢☕️🏢💰🏡💰🏡🍺🏢🏡🏢🍴☕️🏢🍴🏡🏢🍴🍺🏢🍺🏢🏡💰🎥🏡🏢🍴🏢🍴🏡🏢🏡🍴🏡🍴☕️🍴💪🏡🍴🏡💰🍺🏡🍺🍴💰🍸🏡🍴🏡🏢🍴🏢🍴🍺🏡🏢🍴☕️🏢🍴🍸🏢🍴🍜🍴💰🍺🍴🍸💰🏤🏢🍸🍟🍴☕️🍴💪🍺🍳🍴🎥🎭🍜☕️🍴👊🍴🎭🎥🍺💰🍸☕️🍺☕️🍴☕️🍴🍟🍝☕️🍸🍴🍺🍔🎥🍞🍜🍴☕️🎸🎭🍴💰🍴🍸🍴🍺🍸🍴🍟🎥🍴☕️🌳🍸🍴🍺🍴🎭🍺🍴🎥🍸🍺💪🎭🍵🍸🍺☕️⛪️💻🍸🍴☕️💰🍴🍺☕️🍜🍺🍴🍻🍴🍣🍺🏨🍴🏨🏢🏨🍴🏨🏢🍴🏨🏢☕️🏨🏢🏨🏢🍴☕️🏢☕️🏢🌳🎥🏨🎸🏨🍴🏢🍴🏢🍴🍔🏨💰🏨🌳🏨🎥🏨🌳🏨⚓️🏢☕️🏢🍺🏢🎣🏨✈️💰🍴☕️💰🎥💪🍸☕️👜🍴🍸🍕🍸🎸☕️🎸🍺🍴☕️🌳🍺🍴🌳🍴🌳🍺🍴🍺🌳🍴☕️🍜☕️🍴☕️🎒🍴🍺🍴⚓️🌳🍺🏠🏀🌳🍴🎒🍳🍛🍴🏡

@tylerhowarth
tylerhowarth / medium-slack-theme.txt
Last active August 27, 2015 18:50
Medium Slack Theme
(paste in to slack preferences)
// MEDIUM DARK
#292929,#1C1C1C,#57AD68,#FFFFFF,#BABABA,#FFFFFF,#57AD68,#CC5454
// MEDIUM LIGHT
#F3F3F3,#FAFAFA,#57AD68,#FFFFFF,#DBDBDB,#333333,#57AD68,#CC5454