Skip to content

Instantly share code, notes, and snippets.

View mthadley's full-sized avatar
💾
Loading...

Michael Hadley mthadley

💾
Loading...
View GitHub Profile
@dhh
dhh / Gemfile
Created June 24, 2020 22:23
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@tenderlove
tenderlove / ngpng.rb
Last active December 12, 2020 14:09
Simple PNG generation example that only depends on zlib in Ruby
# Not Great PNG class. This is a very simple example of writing a PNG. It
# only supports colors from the color palette stored in `@palette`. This is
# meant to be example code, but I am using it in a program for visualizing
# heap dumps from Ruby.
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
@arsduo
arsduo / gist:1f5408da027fd1ffd1718e962925cec4
Created April 1, 2021 02:55
Facebook Recruiter Response (feel free to use!)
Hi $recruiter_name,
Thanks for the email!
$your_positive_impact(optional)
Facebook, in that same time period, has built an impressive (and well-reported) track record of its own, with accomplishments ranging from real name policies that made life dangerous for trans people, to the use of WhatsApp to spread dangerous viral rumors in places with histories of mob violence, to actively strategizing with political disinformation campaigns in order to maximize advertising revenue, to allowing popular conservative sites and personalities to violate Facebook's terms of service because conspiracy theories get more clicks.
All of which is to say, as fantastic as an opportunity to be paid in Facebook's still-upcoming cryptocurrency would be, I’m afraid I must regretfully decline.