Skip to content

Instantly share code, notes, and snippets.

Hi, I’m Casey!

Casey Watts caseywatts

Hi, I’m Casey!
View GitHub Profile
caseywatts /
Last active May 1, 2019
heroku flip bookmarklet
caseywatts / .inputrc
Last active Mar 9, 2019
View .inputrc
# for bash
### Search History (autocomplete style~)
# Press up-arrow for previous matching command
# Press down-arrow for next matching command

Short url:

Casey's server uses "Minecraft Forge" 1.12.

These instructions will install minecraft version 1.12 with forge. Forge lets us have (optional) client-side mods, like the map one. You don't have to use mods if you don't want to, but you do need the Forge 1.12 minecraft version.

These instructions assume you already have the normal app Minecraft (launcher).

Download & Install Minecraft

  • If you don't already have a Minecraft account, you'll need to make an account (and pay for it)
caseywatts /
Created Feb 19, 2019
Where in the World?
caseywatts /
Last active Jan 31, 2019
Heroku API - Grab ID

Other ways to do the same thing (without the copy into clipboard):

  • heroku sudo api get /apps/some-app-name | jq '.id' (sudo is herokai only)
  • heroku apps:info --json -a some-app-name | jq
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
caseywatts /
Last active Nov 15, 2018
Code of Conduct in Ember

Todd Evanoff and I just did a quick survey of Code of Conduct in Ember plugins.

For posterity, the top 10 addons on Ember Observer as of Nov 15, 2018:

caseywatts / gist:c5d840862d9693c6a8d84bd2bd83c3d3
Created Oct 12, 2018
Mirage Includes & Relationship Records
View gist:c5d840862d9693c6a8d84bd2bd83c3d3

Mirage Includes

The way mirage mocks out our included records isn't accurate currently.

An example: In a request for addon, it includes some information about the relationship to company.

The "relationship object" we get looks like

company: { id: 123 }
caseywatts / 0
Last active Aug 8, 2018
async/await in ember tests
View 0