This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Die Euler'sche Zahl e | |
# e = 2 + 1/2 + 1/3 + 1/4 + 1/5 + ... | |
import traceback | |
# Display Variablen | |
DISCALC = False # Berechnungen anzeigen | |
LOGTIME = False # Zeit/Datum in den Logs anzeigen | |
# /Display Variablen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* These classes maintain references (pointers) in PHP. The first class | |
* can store one reference only, while the ReferenceContainer can store many | |
* references at once. | |
* | |
* This class is used in the TouchNet to send all modules to all modules. | |
* | |
* @author Daniel Bugl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from os import system | |
from sys import argv | |
print("EntropyGEN v0.4") | |
print("USAGE: %s <BYTES_PER_SECOND>" % argv[0]) | |
try: | |
try: | |
if len(argv) > 1: blen = int(argv[1]) | |
else: blen = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"shell_cmd": "mocha --require should --bail --reporter spec --no-colors $file", | |
"shell": true | |
} |
OlderNewer