Skip to content

Instantly share code, notes, and snippets.

View smolnar's full-sized avatar

Samuel Molnár smolnar

  • 21:02 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am samuelmolnar on github.
  • I am samuelmolnar (https://keybase.io/samuelmolnar) on keybase.
  • I have a public key whose fingerprint is 9AD3 287D E7E8 53E1 3EE6 FCEB 9189 7B38 0999 D452

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Component.extend({
});
@smolnar
smolnar / components.x-file-input.js
Created May 15, 2016 12:01
Mocking File Inputs in JavaScript and Ember.js
// app/components/x-file-input.js
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'input',
type: 'file',
attributeBindings: ['type', 'value'],
addChangeListenerToElement: Ember.on('didInsertElement', function() {
@smolnar
smolnar / gist:5947761
Last active December 19, 2015 11:29
Color test script for 256-color terminals
for code in {0..255}; do echo -e "\e[38;05;${code}m $code: \t██████████████████████"; done