I hereby claim:
- I am michaelgilley on github.
- I am michaelgilley (https://keybase.io/michaelgilley) on keybase.
- I have a public key whose fingerprint is 3E6D 2B26 377C 25EF FE9C 510F 10A4 E16B 7AF0 AEB1
To claim this, I am signing this object:
| $regularSpritePath: "sprites/regular" !default; | |
| $retinaSpritePath: "sprites/retina" !default; | |
| $spriteHoverClass: ":hover" !default; | |
| $regular: sprite-map($regularSpritePath + "/*.png", $layout: smart); | |
| $retina: sprite-map($retinaSpritePath + "/*.png", $layout: smart); | |
| $sprite-regular-url: sprite-url($regular); | |
| $sprite-retina-url: sprite-url($retina); |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| /* | |
| copy header-template.html which will have placeholders for injecting css,js | |
| */ | |
| copy: { | |
| main: { | |
| files: [ |
| { | |
| "app:categories": { | |
| "-xmlns:app": "http://www.w3.org/2007/app", | |
| "-xmlns:atom": "http://www.w3.org/2005/Atom", | |
| "-xmlns:yt": "http://gdata.youtube.com/schemas/2007", | |
| "-fixed": "yes", | |
| "-scheme": "http://gdata.youtube.com/schemas/2007/categories.cat", | |
| "atom:category": [ | |
| { | |
| "-term": "Film", |
I hereby claim:
To claim this, I am signing this object:
Just a bootstrap for setting up Angular-based pages with bootstrap.css and angular-strap preloaded.
A Pen by Michael Gilley on CodePen.
| import webpack from 'webpack' | |
| import {writeFileSync} from 'fs' | |
| import {resolve} from 'path' | |
| import config from 'webpack.config.js' | |
| import webpackDevServer from 'webpack-dev-server' | |
| config.profile = true | |
| const compiler = webpack(config) |
| import Backoff from 'backo2'; | |
| const BrowserWebSocket = global.WebSocket || global.MozWebSocket; | |
| const DEF_PING_TIMEOUT = 2 * 60 * 1000; | |
| const PONG = { op: 'PONG' }; | |
| export default class Socket { | |
| constructor(opts = {}) { | |
| this.uri = this.buildUri(opts); |
| import React, { Component, PropTypes } from 'react'; | |
| import Button from 'grommet/components/Button'; | |
| import Spinning from 'grommet/components/icons/Spinning'; | |
| import './styles.scss'; | |
| export const SimpleBusyButton = ({ enabled, primary, ...props }) => { | |
| const onClick = enabled ? props.onClick : undefined; | |
| const icon = enabled ? props.icon : <Spinning />; |
| import { put, call, all } from 'redux-saga/effects'; | |
| import xhr from 'services/xhr'; | |
| const trailingSlashes = /\/*$/; | |
| const filterAllActions = actions => all([].concat(actions).map(a => !!a && put(a)).filter(a => a)); | |
| // Run a single api call inline | |
| // example: | |
| // yield fork(simpleApiSaga, myApi.get, { |