Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am fpauser on github.
  • I am fpauser ( on keybase.
  • I have a public key ASDrheWhV9hcswZWgJj4b2tWHQnbcUVu9pkrLWqQpJv2TAo

To claim this, I am signing this object:

View console.log
[21:56 fpauser ~/dev]$ cd nerves-examples/
[21:56 fpauser ~/dev/nerves-examples (master)]$ ls
blinky hello_gpio hello_gpio_input hello_leds hello_network hello_phoenix hello_wifi neopixel
[21:56 fpauser ~/dev/nerves-examples (master)]$ cd hello_phoenix/
[21:57 fpauser ~/dev/nerves-examples/hello_phoenix (master)]$ ls
apps config mix.exs mix.lock
[21:57 fpauser ~/dev/nerves-examples/hello_phoenix (master)]$ export MIX_TARGET=rpi3
[21:57 fpauser ~/dev/nerves-examples/hello_phoenix (master)]$ mix deps.get
View bash.log
fpauser@2183NB223:~/dev/elixir$ mix new nerves_test --umbrella
* creating .gitignore
* creating
* creating mix.exs
* creating apps
* creating config
* creating config/config.exs
Your umbrella project was created successfully.
Inside your project, you will find an apps/ directory
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
View audio-fx-es6.js
/* es6-yfied */
export default class AudioFX {
constructor(src, options = {}, onload = () => {}) {
let formats = options.formats || [];
let format = this.choose(formats);
this.pool = [];
View components.count-down.js
import Ember from 'ember';
const minSecs = 60;
const hourSecs = 60 * minSecs;
const daySecs = 24 * hourSecs;
export default Ember.Component.extend({
classNames: 'count-down',
timeout: null,
delay: null,

Check current values with xrdb -query -all.

Run echo "Xft.lcdfilter: lcddefault" > ~/.Xresources


Check current values with xrdb -query -all.

View index.js
/* jshint node: true */
'use strict';
var PostcssCompiler = require('broccoli-postcss');
var path = require('path');
var checker = require('ember-cli-version-checker');
var merge = require('merge');
var mergeTrees = require('broccoli-merge-trees');
var autoprefixer = require('autoprefixer');
var cssnext = require('postcss-cssnext');
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 960px;
height: 500px;
position: relative;
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'