Skip to content

Instantly share code, notes, and snippets.

View mutewinter's full-sized avatar

Jeremy Mack mutewinter

View GitHub Profile
@mutewinter
mutewinter / Bluetooth Device Toggle.md
Created September 1, 2015 19:40
An Alfred workflow to toggle the connection to Bluetooth Devices by name.

Workflow icon Bluetooth Device Toggle

Alfred Workflow to toggle bluetooth devices. I use this workflow to toggle the connection to my Bluetooth Headphones.

Download Bluetooth Device Toggle

@mutewinter
mutewinter / patch.patch
Last active August 29, 2015 14:16
Ember Patch for Global Application Tests Failing After Upgrade to 1.11
diff --git a/vendor/ember/development/ember.js b/vendor/ember/development/ember.js
index d4778f6..9b21660 100644
--- a/vendor/ember/development/ember.js
+++ b/vendor/ember/development/ember.js
@@ -3949,7 +3949,7 @@ enifed('ember-application/system/application', ['exports', 'dag-map', 'container
return ApplicationInstance['default'].create({
customEvents: property_get.get(this, 'customEvents'),
rootElement: property_get.get(this, 'rootElement'),
- applicationRegistry: this.registry
+ applicationRegistry: this.buildRegistry()
@mutewinter
mutewinter / model.coffee
Last active August 29, 2015 14:14
fnd's router
module.exports = App.FndModel = DS.Model.extend
typeKey: (->
@constructor.typeKey
).property()
routeName: (->
@constructor.routeName()
).property()
routePath: (->

Keybase proof

I hereby claim:

  • I am mutewinter on github.
  • I am mutewinter (https://keybase.io/mutewinter) on keybase.
  • I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }

To claim this, I am signing this object:

@mutewinter
mutewinter / missing_route.coffee
Created July 24, 2014 14:08
The missing page route for https://fnd.io
# Routes that should have country from before 2014-07-13.
PATHS_WITH_COUNTRY = [
# Others
'search'
'charts'
'any'
'integrations'
'bookmarklets'
# Models
'album'
@mutewinter
mutewinter / FantasticReminders.md
Last active May 27, 2018 06:12
Fantastic Reminders - An Alfred Workflow to Add Reminders to Reminders.app via Fantastical

Workflow icon Fantastic Reminders

Alfred Workflow to add reminders to Reminders via Fantastical's amazing natural language processing.

Usage

r put laundry in dryer in 35 min
r wake up at 6:30am every day
r party on 1/1/2025 at 12am
@mutewinter
mutewinter / getting_started.md
Created June 21, 2014 00:52
Resources for getting started with Ember

Here are some resources you will find useful while getting familiar with Ember.

@mutewinter
mutewinter / object-proxy.coffee
Created June 4, 2014 15:19
ObjectProxy Mixin for Ember written in CoffeeScript.
# Extracted from packages/ember-runtime/lib/system/object_proxy.js
# See the issue below for having this as a feature of Ember.
# https://github.com/emberjs/ember.js/issues/3403
{
get,
set,
meta
addObserver,
removeObserver,