Skip to content

Instantly share code, notes, and snippets.

View dehuszar's full-sized avatar

Samuel Allen dehuszar

  • Ann Arbor, MI
  • 15:38 (UTC -05:00)
  • X @dehuszar
View GitHub Profile
@dehuszar
dehuszar / conver.pe
Last active May 29, 2018 20:13 — forked from endel/conver.pe
FontForge script to convert .ttf file to its webfont variations (.otf, .svg, .woff, .woff2)
#!/usr/local/bin/fontforge
Open($1)
Generate($1:r + ".otf")
Generate($1:r + ".ttf")
Generate($1:r + ".svg")
Generate($1:r + ".woff")
Generate($1:r + ".woff2")
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
router: Ember.computed(function() {
return Ember.getOwner(this).lookup('router:main');
}),
zeCurrentRoute: Ember.computed.alias('router.currentRouteName')