I hereby claim:
- I am omnidan on github.
- I am omnidan (https://keybase.io/omnidan) on keybase.
- I have a public key ASCJG4SarPaxkAeGXuy6ABt_zAPFl5nsgZRRfv91HPK8JQo
To claim this, I am signing this object:
const arg1 = (arg) => arg !== 1 | |
const arg2 = (arg) => arg !== 2 | |
function combineFilters (filters) { | |
return filters.reduce((prev, curr) => | |
(arg) => prev(arg) && curr(arg) | |
, () => true) | |
} | |
console.log(combineFilters([arg2, arg1, arg1])(1)); // false |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
'use strict' | |
let createStore = require('redux').createStore | |
let express = require('express') | |
let bodyParser = require('body-parser') | |
let fs = require('fs') | |
// -- |
var client = require('coffea')({ | |
host: 'chat.freenode.net', | |
nick: 'coffea-testbot', | |
channels: ['#caffeinery'] | |
}); | |
client.on('command', function (event) { | |
switch (event.cmd) { | |
case 'ping': | |
event.reply('pong'); |
var chops = {}; | |
var benchmark = false; | |
// solution 1 | |
chops['indexOf'] = function (needle, haystack) { | |
return haystack.indexOf(needle); | |
}; | |
// put your other solutions here in the same way as above |
{ | |
"shell_cmd": "mocha --require should --bail --reporter spec --no-colors $file", | |
"shell": true | |
} |
Subject: [PATCH] always reply to highlight | |
--- | |
lib/pyborg/pyborg-irc.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/lib/pyborg/pyborg-irc.py b/lib/pyborg/pyborg-irc.py | |
index 8b8e715..7e1ec25 100755 | |
--- a/lib/pyborg/pyborg-irc.py | |
+++ b/lib/pyborg/pyborg-irc.py |
<?php | |
/** | |
* @license WTFPL (Do What the Fuck You Want to Public License) | |
* @author Daniel Bugl <[email protected]> | |
*/ | |
namespace TouchLay\HelperBundle\Component; | |
use Symfony\Component\HttpFoundation\JsonResponse; |