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:
#!/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 |
<?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; |
/* | |
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 |
I hereby claim:
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 |
'use strict' | |
let createStore = require('redux').createStore | |
let express = require('express') | |
let bodyParser = require('body-parser') | |
let fs = require('fs') | |
// -- |
from sys import stdout | |
from time import sleep | |
def type(text, nl=True, delay=0.01, amount=1): | |
l = list(text) | |
if amount > 1: | |
nl = [] | |
i = 0 | |
e = "" | |
for c in l: |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <dirent.h> | |
#include <linux/input.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> |