Skip to content

Instantly share code, notes, and snippets.

Avatar

Charles Demers charlesdemers

View GitHub Profile
View apollo-watch-query.js
// Vendor
import EmberObject, {computed} from '@ember/object';
import {assert} from '@ember/debug';
import {task, timeout} from 'ember-concurrency';
const WatchQuery = EmberObject.extend({
_hostObject: null,
_query: null,
_variablesProperty: null,
_originalFetchPolicy: null,
View user-presenter.js
// Vendor
import Service, {inject as service} from '@ember/service';
import EmberObject, {computed} from '@ember/object';
import {readOnly} from '@ember/object/computed';
export const UserPresenter = EmberObject.extend({
id: readOnly('user.id'),
firstName: readOnly('user.firstname'),
lastName: readOnly('user.lastname'),
email: readOnly('user.email'),
View keybase.md

Keybase proof

I hereby claim:

  • I am charlesdemers on github.
  • I am charles_demers (https://keybase.io/charles_demers) on keybase.
  • I have a public key whose fingerprint is C60D DD91 2F97 577D 7A08 EDD8 2C31 1092 AB8A A5AD

To claim this, I am signing this object:

@charlesdemers
charlesdemers / .tm_properties
Created Dec 16, 2011
My TextMate2 config file
View .tm_properties
# Put this file in your user folder
# You can also override it per project by creating another .tm_properties
# in your project’s root
TM_GIT = "/usr/bin/git"
excludeFiles = "*.{so,pyc,o,scssc}"
excludeInFileChooser = "{build,dist,tmp,log,node_modules}"
excludeInBrowser = "{build,dist,tmp,log,node_modules}"
excludeInFolderSearch = "{build,dist,tmp,log,node_modules}"
You can’t perform that action at this time.