Skip to content

Instantly share code, notes, and snippets.

@bdollard
bdollard / README.md
Created January 28, 2016 15:54 — forked from slindberg/README.md
Ember debug helpers intended to be used in the JavaScript console

Ember.Console

This is a set of helpers for finding the application's currently active models/routes/controllers/etc. This isn't a straightforward process because of how Ember (rightly) encapsulates application objects, but it's useful in debugging environments to be able to quickly access them. And with the beta release of Ember Data, the store is not easily accessible without helpers either.

Usage

All helpers can be called directly if you provide them an application instance:

@bdollard
bdollard / keybase.md
Last active August 29, 2015 14:06
keybase identity verification

Keybase proof

I hereby claim:

  • I am bdollard on github.
  • I am bdollard (https://keybase.io/bdollard) on keybase.
  • I have a public key whose fingerprint is 59F2 8A87 9414 3B00 DCF6 0A03 D4D2 E9F0 A2F1 6CFC

To claim this, I am signing this object:

#!/bin/bash
# Referenced in Leiningen Issue #1191, here:
# https://github.com/technomancy/leiningen/issues/1191
if [ ! -z `ls -A | egrep -v '^(main|child|setup.sh)$'` ]; then
echo "Cowardly refusing to continue in a directory with unrecognized files."
exit 0
fi