Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cesarandreu on github.
  • I am cesarandreu (https://keybase.io/cesarandreu) on keybase.
  • I have a public key whose fingerprint is 44EB E29B 4041 1369 E499 6BFA C658 4E40 36FC 188B

To claim this, I am signing this object:

import {
cond,
conformsTo,
constant,
eq,
flow,
get,
matches,
replace,
startsWith,
const fs = require('fs')
const path = require('path')
module.exports = {
get data () {
return fs.readdirSync(...).map(...).filter(...).map(...)
}
}
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
abbrev@1, abbrev@1.0.x:
version "1.0.9"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
accepts@~1.3.3, accepts@1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.3.tgz#c3ca7434938648c3e0d9c1e328dd68b622c284ca"
dependencies:
defmodule App.SignUpMutationTest do
use App.MutationCase, async: true
defp mutation({query, input}) do
body = Poison.encode!(%{
query: query,
variables: %{input: input}
})
build_conn()
import { Router } from 'react-router'
import { Observable } from 'rx'
/**
* @param routes$ Route state observable
* @returns $navigateToAction
*/
export function navigateTo (routes$) {
return routes$
.flatMap(routes => {
@cesarandreu
cesarandreu / app.js
Last active January 1, 2016 19:49 — forked from elbuo8/app.js
angular.module('HypeM', ['ionic', 'ngResource', 'ngRoute'])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'partials/player.html',
controller: 'PlayerCtrl'
}).
when('/latest', {
templateUrl: 'partials/player.html',
@cesarandreu
cesarandreu / app.js
Last active January 1, 2016 19:49 — forked from elbuo8/app.js
angular.module('HypeM', ['ionic', 'ngResource', 'ngRoute'])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'partials/player.html',
controller: 'PlayerCtrl'
}).
when('/latest', {
templateUrl: 'partials/player.html',
@cesarandreu
cesarandreu / gist:7817006
Created December 6, 2013 01:04
An awesome gruntfile that does livereload with jade files and lets you proxy. HAIL GRUNT!~
// Generated on 2013-11-29 using generator-angular 0.6.0-rc.2
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
// PROXY STUFF