Skip to content

Instantly share code, notes, and snippets.

John Manoogian III jm3

Block or report user

Report or block jm3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jm3 / hugo-giphy-shortcode.html
Last active Jun 14, 2019
Hugo embed for Giphy (responsive)
View hugo-giphy-shortcode.html
<!-- -->
<div style="width:100%;height:0;padding-bottom:40%;position:relative;">
<iframe src="{{ (index .Params 0) }}"
width="100%" height="100%" style="position:absolute"
frameBorder="0" allowFullScreen></iframe></div>
jm3 / airtable-json-to-posts.rb
Created Jun 14, 2019
Airtable → Ruby → Hugo markdown converter
View airtable-json-to-posts.rb
#!/usr/bin/env ruby
require 'erb'
require 'json'
require 'pry'
# setup:
# bundle install
# extract records from Airtable:
# curl "" -H "Authorization: Bearer YOUR_TOKEN" > til.json
View .stylelintrc.json
"extends": [
"plugins": [
View folderify.rb
#! /usr/bin/env ruby
# Moves all the files found by the glob into a new directory of the same name
# as the file (less its extension). Useful when you have a bunch of examples
# in one language and you need to introduce multiple sibling examples to sit
# alongside the file
# Example usage:
# $ ruby folderify.rb "smells/**/*.js"
jm3 /
Last active Apr 29, 2019
Cognitive Bias Codex
jm3 /
Created Jul 12, 2016
create favicon .ICO's at all the common sizes from a source image
convert source.png -define icon:auto-resize=64,48,32,16 favicon.ico
View My back is a weapon I use to destroy my

juniorplenty: training the back [ franco.jpg ]

My back is a weapon I use to destroy my opponents.

I place my thumbs in the small of my back and begin to spread my lats. It doesn't all come on at once. First I flex them a few times and then begin to let them extend their widest. Each time the audience and the judges think that is all, I flex harder and they come out farther. And just when everyone is gasping with surprise that a human being could

jm3 /
Last active Sep 11, 2015 — forked from mbostock/.block

This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.

jm3 /
Created Aug 27, 2015
uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
# uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
# ========================
# ========================
# if this formats your hard drive or deletes your fonts or changes the sex
# of your dog, I'm super sorry, but there's nothing I can do.
View get-repos.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'octokit'
client = => ENV['OCTOKIT_USER'], :password => ENV['OCTOKIT_PASS'])
repo_urls = client.organization_repositories('140proof', :per_page => 100).map(&:git_url)
urls = {:active => [], :retired => []}
You can’t perform that action at this time.