Skip to content

Instantly share code, notes, and snippets.

Jason Weathered jasoncodes

Block or report user

Report or block jasoncodes

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
jasoncodes / README
Created Sep 19, 2018
JSON bookmarklet
A basic bookmarklet to make JSON readable.
Minified using
View archive_heroku_papertrail.rb
require 'bundler'
require 'bundler/inline'
gemfile do
source ''
gem 'activesupport', require: 'active_support/all'
gem 'aws-sdk-s3'
gem 'parallel'
jasoncodes / README
Last active Jun 29, 2018
Expand GitHub Pull Requests
Show outdated comments and large diffs on GitHub Pull Requests.
Minified using
#!/usr/bin/env perl
use strict;
use warnings FATAL => 'all';
package pushd;
use Cwd qw(getcwd chdir);
sub new {
View gist:028135cc81de6a7afaae
keys = [
%w[a 1 x],
%w[a 1 y],
%w[a 2 x],
%w[a 3 x],
%w[a 3 y],
%w[b 3 y],
%w[b 4 z],
jasoncodes / README
Last active Aug 29, 2015
Disable Hyphenation and Justification Bookmarklet
Disables hyphenation and full text justification.
Minified using
jasoncodes /
Last active Aug 29, 2015
Shellshock (CVE-2014-6271 and CVE-2014-7169) patch for OS X 10.9 Mavericks
#!/bin/bash -e
# Shellshock (CVE-2014-6271 and CVE-2014-7169) patch for OS X 10.9 Mavericks
# Based on
cd /tmp
mkdir bash-fix
cd bash-fix
curl | tar zxf -
cd bash-92/bash-3.2
jasoncodes / missing_foreign_key_constraints_spec.sql
Created Sep 1, 2014
Find missing foreign key constraints
View missing_foreign_key_constraints_spec.sql
SELECT CONCAT(col.table_name, '.', col.column_name)
FROM information_schema.columns col
INNER JOIN pg_catalog.pg_tables tbl ON tbl.schemaname = col.table_schema AND tbl.tablename = col.table_name
LEFT JOIN information_schema.columns col_type ON (
col.table_schema = col_type.table_schema AND
col.table_name = col_type.table_name AND
regexp_replace(col.column_name, '_id$', '_type') = col_type.column_name

Keybase proof

I hereby claim:

  • I am jasoncodes on github.
  • I am jasoncodes ( on keybase.
  • I have a public key whose fingerprint is 00FE 9E5D 9F6E DBF2 B03E 971E CA17 A856 9172 8429

To claim this, I am signing this object:

View vim_tips.markdown

Vim Tips


Build your dotfiles (shell, Vim config) from multiple sources with fresh.

Both of our dotfiles are built using fresh. We source Vim and other config from each other:

You can’t perform that action at this time.