Skip to content

Instantly share code, notes, and snippets.

Christian makepanic

Block or report user

Report or block makepanic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View components.my-form.js
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'form',
attributeBindings: ['name:id'],
submitText: 'nothing submitted',
submit(ev){
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
modalOpen: false
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
@makepanic
makepanic / LICENSE.md
Last active May 29, 2018
Teamcity Widget for Dashing
View LICENSE.md

The MIT License (MIT)

Copyright (c) 2014 Christian

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOF

@makepanic
makepanic / qr-capture.hbs
Created Apr 25, 2014
QR decode Emberjs Component
View qr-capture.hbs
<canvas id="qr-canvas"></canvas>
<div class="camera">
<video class="camera-canvas" id="v" autoplay></video>
<div class="camera-overlay-top">
<h4>{{caption}}</h4>
</div>
<div class="camera-overlay-bottom">
{{#if recording}}
<div class="topcoat-button-bar">
@makepanic
makepanic / gist:6065723
Created Jul 23, 2013
Intellij IDEA - File Template for JavaScript Object declaration inside a closure
View gist:6065723
#set ($MODULENAME = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1))
/**
* Created with ${PRODUCT_NAME}.
* User: ${USER}
* Date: ${DATE}
* Time: ${TIME}
*/
;(function(window, undefined){
'use strict';
@makepanic
makepanic / something-from.js
Created May 14, 2013
possible google breakout words
View something-from.js
Abu Dhabi
Akita
Alaskan Malamute
Alcatraz Island
Almond
American Bulldog
American Staffordshire Terrier
American football
Amsterdam
Apple pie
@makepanic
makepanic / lib32-alsaequal.log
Last active Dec 17, 2015
arch lib32-alsaequal
View lib32-alsaequal.log
problem:
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_equal.so
> uname -a
Linux momo 3.8.11-1-ARCH #1 SMP PREEMPT Wed May 1 20:18:57 CEST 2013 x86_64 GNU/Linux
> sudo packer -S lib32-alsaequal
Aur Targets (2): lib32-ladspa lib32-alsaequal
@makepanic
makepanic / nycsubway.js
Created Jan 9, 2013
nycsubway.org Historical_Maps inline images
View nycsubway.js
$('#mw-content-text a').each(function(index, value){
var href = value.href,
gif = 'gif',
jpg = 'jpg',
base = 'http://images.nycsubway.org/',
isImage = false;
if(href.indexOf(gif, href.length - gif.length) !== -1 ||
href.indexOf(jpg, href.length - jpg.length) !== -1){
isImage = true;
You can’t perform that action at this time.