Skip to content

Instantly share code, notes, and snippets.

View caseywatts's full-sized avatar
Hi, I’m Casey!

Casey Watts caseywatts

Hi, I’m Casey!
View GitHub Profile
@caseywatts
caseywatts / 0.md
Last active May 1, 2019 14:02
heroku flip bookmarklet
@caseywatts
caseywatts / .inputrc
Last active March 9, 2019 16:53
BEST THING EVER
# for bash
### Search History (autocomplete style~)
# Press up-arrow for previous matching command
"\e[A":history-search-backward
# Press down-arrow for next matching command
"\e[B":history-search-forward
@caseywatts
caseywatts / Minecraft.md
Last active March 7, 2019 04:59
Minecraft

Short url: caseywatts.com/minecraft

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
caseywatts / README.md
Created February 19, 2019 20:54
Where in the World?
@caseywatts
caseywatts / OtherWays.md
Last active January 31, 2019 16:12
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 .app.id
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@caseywatts
caseywatts / README.md
Last active November 15, 2018 22:07
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
caseywatts / gist:c5d840862d9693c6a8d84bd2bd83c3d3
Created October 12, 2018 15:28
Mirage Includes & Relationship Records

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
caseywatts / 0 README.md
Last active August 8, 2018 22:48
async/await in ember tests