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:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 |
I hereby claim:
To claim this, I am signing this object:
/* | |
Copyright (c) 2012, Daniel Bugl | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright | |
notice, this list of conditions and the following disclaimer in the |
<?php | |
/** | |
* @license WTFPL (Do What the Fuck You Want to Public License) | |
* @author Daniel Bugl <daniel.bugl@touchlay.com> | |
*/ | |
namespace TouchLay\HelperBundle\Component; | |
use Symfony\Component\HttpFoundation\JsonResponse; |
#!/usr/bin/env python | |
""" | |
Copyright (c) 2011, Daniel Bugl | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright |