🎭 Jester gist stars for bmac
A♦
gistfile1.txt3 stars

Original Xbox System Names

Donut
Penguin
Stumpy
Whicker
Shadow
Howard
Wilshire
Darling
Disco
Jack
The Bear
Sneak
A♦
K♣
event.preventDefault0 stars

Use of event.preventDefault();

$('.js-link').click(function(event) {
    handleClickEvent(this, event);
    event.preventDefault();
});
K♣
Q♥
gistfile1.el0 stars

(add-hook 'js2-mode-hook
          (lambda ()
            (font-lock-add-keywords
             nil `(("\\(function\\)"
                          (0 (progn (compose-region (match-beginning 1)
                                                    (match-end 1) "\u0192")
                                    nil)))))))
Q♥
J♠
gistfile1.js0 stars

ko.bindingHandlers['fastValue'] = {
    init: function (element, valueAccessor, allBindingsAccessor) {
      allBindingsAccessor()['valueUpdate'] = 'afterkeydown';      
      ko.bindingHandlers.value.init.apply(this, arguments);      
    },
    update: ko.bindingHandlers.value.update
};
J♠
十♦
gistfile1.txt0 stars

'use strict';

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    // Metadata.
    pkg: grunt.file.readJSON('package.json'),
    banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
      '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
      '<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
      '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
十♦
9♣
gistfile1.js0 stars

ko.bindingHandlers.date = {
    init: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {

        var observable = valueAccessor();
        // alternately setup jquery-ui-date here
        element.addEventListener('change', function() {
           var date = new Date(element.value);
           observable(date.getTime());
        });
    },

    update: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
9♣
8♥
keybase.md0 stars

keybase.md

### Keybase proof

I hereby claim:

  * I am bmac on github.
  * I am bmac (https://keybase.io/bmac) on keybase.
  * I have a public key whose fingerprint is D30E FE57 8A6C 4BA4 6B64  5ADB 3DFC 8986 5634 53FA

To claim this, I am signing this object:

```json
{
8♥
7♠
adapters.application.js0 stars

https://github.com/emberjs/data/issues/3704#issuecomment-266799711

import Adapter from "ember-data/adapters/active-model";

export default DS.JSONAPIAdapter.extend({
  shouldReloadRecord: () => false,
  shouldBackgroundReloadRecord: () => false
});
7♠
6♦
adapters.application.js0 stars

https://github.com/emberjs/data/issues/3704#issuecomment-266799711

import Adapter from "ember-data/adapters/active-model";

export default DS.JSONAPIAdapter.extend({
  shouldReloadRecord: () => false,
  shouldBackgroundReloadRecord: () => false
});
6♦
5♣
adapters.application.js0 stars

New Twiddle

import Adapter from "ember-data/adapters/rest";

export default Adapter.extend({
   host: 'https://localhost:5432'
});
5♣
4♥
adapters.application.js0 stars

ember data issue 4906

import Adapter from "ember-data/adapters/rest";

export default Adapter.extend();
4♥
3♠
adapters.application.js0 stars

debug 4907

import DS from 'ember-data';

export default DS.JSONAPIAdapter.extend({
  urlForFindAll(modelName, snapshot) {
    const options = snapshot.adapterOptions;
    let query = '?';
    if (options) {
      Object.keys(options).forEach(function (key) {
        query += `&${key}=${options[key]}`;
      });
    }
    return `${this._buildURL(modelName)}${query}`;
3♠
2♦
adapters.application.js0 stars

Issue 5227

import Adapter from "ember-data/adapters/json-api";

export default Adapter.extend();
2♦
A♦
adapters.application.js0 stars

Ember Data JSON:API

import Adapter from "ember-data/adapters/json-api";

export default Adapter.extend();
A♦
K♣
adapters.application.js0 stars

Ember Data RESTAdapter

import Adapter from "ember-data/adapters/rest";

export default Adapter.extend();
K♣
Q♥
data-in-ember.md0 stars

# Data in Ember

## Fetch + Pojo

github: None
Owner: @bmac

## JSON:API
github: 
Owner: @dgeb

## Ember Redux
Q♥
J♠
..git-pr.md0 stars

git pr - Global .gitconfig aliases for Pull Request Managment

## Install

Either copy the aliases from the `.gitconfig` or run the commands in `add-pr-alias.sh`

## Usage

Easily checkout local copies of pull requests from remotes:

* `git pr 4` - creates local branch `pr/4` from the github `upstream`(if it exists) or `origin` remote and checks it out
* `git pr 4 someremote` - creates local branch `pr/4` from `someremote` remote and checks it out
* `git pr-clean` - removes all pr/* branches from your local repo
* `git spr` - Same as `git pr` command, but for bitbucket/stash remotes
J♠