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
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
jm3 / README.md
Last active Apr 29, 2019
Cognitive Bias Codex
View README.md
@jm3
jm3 / favicon-size-creator.sh
Created Jul 12, 2016
create favicon .ICO's at all the common sizes from a source image
View favicon-size-creator.sh
convert source.png -define icon:auto-resize=64,48,32,16 favicon.ico
View My back is a weapon I use to destroy my opponents.md

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
jm3 / choropleth-README.md
Last active Sep 11, 2015 — forked from mbostock/.block
Choropleth
View choropleth-README.md

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
jm3 / uninstall-foreign-fonts.sh
Created Aug 27, 2015
uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
View uninstall-foreign-fonts.sh
#!/bin/sh
# jm3.net
# uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
# ========================
## RUN AT YOUR OWN RISK ##
# ========================
# 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 = Octokit::Client.new(:login => ENV['OCTOKIT_USER'], :password => ENV['OCTOKIT_PASS'])
repo_urls = client.organization_repositories('140proof', :per_page => 100).map(&:git_url)
urls = {:active => [], :retired => []}
View gpg-IDEA-compile-README
mkdir –p ~/src
cd ~/src
git clone git://git.gnupg.org/gnupg.git
cd gnupg
git status
git checkout STABLE-BRANCH-1-4
cp /tmp/idea.c cipher/
./autogen.sh --force
./configure --enable-maintainer-mode --enable-idea && make
make check
View Tweet Collections.md

Tweet Collections / Custom Timelines of my “best” tweets

click below to view the actual timelines

favorite tweets of 2013

favorite tweets of 2014

favorite tweets of 2015

View myths about names (for programmers).md
Myths Hackers Believe About Names
  1. People have exactly one "official" full name.
  2. People have exactly one full name which they go by.
  3. People have, at this point in time, exactly one canonical full name.
  4. People have exactly N names, for any value of N.
  5. People’s names fit within a certain defined amount of space.
  6. People’s names do not change.
  7. People’s names are written in ASCII.
  8. People’s names are written in any single character set.
You can’t perform that action at this time.