Skip to content

Instantly share code, notes, and snippets.

Pablo Duboue DrDub

Block or report user

Report or block DrDub

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am drdub on github.
  • I am drdub ( on keybase.
  • I have a public key ASDA38Oa7QAhMdpM95jurd0fCFi4giHGKd0u6TmitrYiigo

To claim this, I am signing this object:

DrDub /
Created Jan 3, 2016
A file selection class build for ipywidgets without any extra dependencies.
import os
import ipywidgets as widgets
class FileBrowser(object):
def __init__(self):
self.path = os.getcwd()
DrDub / tikiqa.php
Last active Dec 16, 2015
The one-file-wonder behind
View tikiqa.php
// this file assumes the augmented and interesting files are in ~/augmented, ~/interesting, respectively and a cloe of Elastica is available in ~/Elastica where ~ is /home/tikiqa
function __autoload ($class) {
$path = str_replace('\\', '/', $class);
if (file_exists('/home/tikiqa/Elastica/lib/' . $path . '.php')) {
require_once('/home/tikiqa/Elastica/lib/' . $path . '.php');
DrDub /
Created Apr 22, 2013
Preprocessing of #tikiwiki logs for use with the chat disentangler available at
#!/usr/bin/env python
#converts a gaim chatlog to a more ethical anonymized version
#format of the output is
#[datestamp timestamp] <name> comment
#[datestamp timestamp] *** name action
from random import shuffle
from sys import argv
You can’t perform that action at this time.