Skip to content

Instantly share code, notes, and snippets.


Oliver Wilkie oliw

View GitHub Profile


Many people are confused by the {{mut}} helper because it seems very magical. This gist aims to help you construct a mental model for understanding what is going on when you use it.


Prior to the introduction of {{mut}}, form elements were two-way bound by default. That is, given this component:

import Ember from 'ember';
export default Ember.Component.extend({
kristianmandrup / Converting libraries to Ember CLI
Last active Sep 13, 2021
Guide to Developing Addons and Blueprints for Ember CLI
View Converting libraries to Ember CLI

Converting libraries to Ember CLI addons

In this guide we will cover two main cases:

  • Ember specific library
  • vendor library

Ember library

The Ember library will assume that Ember has already ben loaded (higher in the loading order) and thus will assume it has access to the Ember API.

### Run this script via a cronjob every (every minute or so) on a server that has access to your dropbox.
### You must install youtube-dl ( for this to work.
shopt -s nullglob
for queue_file in $QUEUE_DIR
video_url=`cat "$queue_file"`;