Skip to content

Instantly share code, notes, and snippets.

View john-griffin's full-sized avatar

John Griffin john-griffin

View GitHub Profile
@john-griffin
john-griffin / auto-ts-ignore.ts
Created October 5, 2023 20:56 — forked from zorji/auto-ts-ignore.ts
A script to auto add // @ts-ignore to lines with TypeScript compilation error
/**
* A script to auto add // @ts-ignore to lines with TypeScript compilation error
* Example usage:
* $ npx tsc > compilation-errors.log
* $ npx ts-node auto-ts-ignore.ts compilation-errors.log
*/
import { readFile, writeFile } from 'fs/promises'
const errorLogFile = process.argv[2]
#!/usr/bin/env zsh
# -------------------------------------------------------------------------------- #
# 1304046900 Track changes to a skeleton Rails app since a given `base_version`
# -------------------------------------------------------------------------------- #
## Changelog
# - Update 7/7/2012:
# * rewrote to use Bundler instead of RubyGems
# * attempting to switch to a master branch for which no commit existing was causing a pathspec error
# * simplified rails new commands by running them on the current path (after changing directory to tmp/skeleton_check of course).
# * renamed `old_version` variable to `base_version` for clarity
@john-griffin
john-griffin / Action Mailer.md
Created January 23, 2012 09:49 — forked from fxn/Action Mailer
Ruby on Rails v3.2.0 CHANGELOGs

Rails 3.2.0 (January 20, 2012)

  • Upgrade mail version to 2.4.0 ML

  • Remove Old ActionMailer API Josh Kalderimis