Skip to content

Instantly share code, notes, and snippets.

{{#tiny-table as |tableHeaderRow tableBodyRow|}}
{{component tableHeaderRow "Set" "Reps" "Weight"}}
{{#component tableHeaderRow as |tableCell|}}
{{tableCell "1"}}
{{#tableCell}} {{input value='15'}} {{/tableCell}}
{{#tableCell}} {{input value='10'}} {{/tableCell}}
{{#tableCell}} <button></button> {{/tableCell}}
{{/component}}
{{/tiny-table}}
@brumm
brumm / SassMeister-input.scss
Created April 13, 2015 16:42
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
$asset-pipeline: false;
@mixin font-face(
$font-family,
$file-path,
$weight: normal,
import {stopEvent, hoistStatics} from 'util'
let Types= React.PropTypes,
_globalContainer= null
export const PopoverSupport= Wrapped => {
class PopoverSupport extends React.Component {
// static propTypes= Wrapped.propTypes // Won't this be nice?
classSet = require 'react-classset'
moment = require 'moment'
_ = require 'underscore'
moment.locale 'de'
# -----------------------------------------------------------------------------
Event = React.createClass
displayName: "Event"
workDayInMinutes: 8 * 60
Process: Affinity Designer [874]
Path: /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer
Identifier: com.seriflabs.affinitydesigner
Version: 1.0.19046 (1.0.19046)
Code Type: X86-64 (Native)
Parent Process: launchd [162]
Responsible: Affinity Designer [874]
User ID: 501
Date/Time: 2014-09-22 13:30:28.799 +0200
@brumm
brumm / food.coffee
Last active August 29, 2015 14:05 — forked from bumi/food.coffee
# Description:
# hubot suggests a place to go for food
#
# Dependencies:
# node-foursquare-venues
#
# Configuration:
# configure your foursquare client id and secret and your location
#
# Commands:
init.coffee
Mole.start nwWindow: window.nwWindow
app.coffee
setup resources
start modules (Header, Calendar)
start module Authentication
calendar.coffee
initialize resources with either cached api response or empty objects
class FilterCollection extends Backbone.Collection
set: (models, options) ->
models = if _.isArray models
models
else
[models]
[models, filtered]= _.partition models, @filter
super(models, _.extend({merge: false}, options, {add: true, remove: false }))
super(filtered, _.extend({merge: false}, options, {add: true, remove: false, silent: true}))
@brumm
brumm / gist:7536211
Created November 18, 2013 22:03
Effortlessly log values without having to wrap your code in console.log() calls, by logging the value, and returning it, allowing for chaining
Object.defineProperty(Object.prototype, '_log_', {
get: function() {
"use strict";
console.log(this);
return this;
},
enumerable: false
});
zinc|master ⇒ gs
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Gemfile
# modified: Gemfile.lock
# modified: app/assets/stylesheets/definitions.sass
# modified: app/assets/stylesheets/modules/_buttons.sass