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 | |
} |
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
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 |
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
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'); |
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
#!/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
'use strict' | |
let createStore = require('redux').createStore | |
let express = require('express') | |
let bodyParser = require('body-parser') | |
let fs = require('fs') | |
// -- |
OlderNewer