Skip to content

Instantly share code, notes, and snippets.

View robomalo's full-sized avatar

John Robinson Jr. robomalo

  • LinkedIn
  • San Francisco, California
View GitHub Profile
Building native extensions. This could take a while...
ERROR: Error installing do_mysql:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install do_mysql
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
import Ember from 'ember';
export default Ember.Component.extend({
didRender(...args) {
this._super(...args);
this.video = this.$().find('video')[0];
},
isPlaying: false,
import Ember from 'ember';
export default Ember.Component.extend({
showMore: Ember.computed('value', function () {
return this.get('value') === 'one';
}),
actions: {
onChange(value) {
this.set('value', value);
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
share(element) {
},
},
});
import Ember from 'ember';
export default Ember.Component.extend({
});
import Ember from 'ember';
export default Ember.Component.extend({
});
import Ember from 'ember';
export default Ember.Component.extend({
});
import Ember from 'ember';
export default Ember.Component.extend({
init() {
this._super();
this.set('inputId', this.elementId);
},
});
import Ember from 'ember';
export default Ember.Component.extend({
hasMessage: false,
actions: {
toggleMessage() {
this.toggleProperty('hasMessage');
},
}
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}