Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am agustinhenze on github.
  • I am ahenze (https://keybase.io/ahenze) on keybase.
  • I have a public key ASBlqStA3HirN6gWl6EPDauiGIHA7v8BwfUaUo0F4zat2Ao

To claim this, I am signing this object:

@agustinhenze
agustinhenze / hash.c
Last active August 29, 2015 14:22 — forked from tonious/hash.c
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
struct entry_s {
char *key;
char *value;
@agustinhenze
agustinhenze / gist:5570270
Created May 13, 2013 18:16
doit-0.21 running test cases in python3.3
tin@bichito:~/Projects/debian/doit.git$ mkdir test_cases_python3
tin@bichito:~/Projects/debian/doit.git$ cd test_cases_python3/
tin@bichito:~/Projects/debian/doit.git/test_cases_python3$ tar xvf ../doit-0.21.0.tar.gz
doit-0.21.0/
doit-0.21.0/CHANGES
doit-0.21.0/pylintrc
doit-0.21.0/PKG-INFO
doit-0.21.0/.travis.yml
doit-0.21.0/doc/
doit-0.21.0/doc/install.rst
@agustinhenze
agustinhenze / vlcqt4test.py
Created November 6, 2012 10:00
Trying to play a youtube video
#! /usr/bin/python
#
# Qt example for VLC Python bindings
# Copyright (C) 2009-2010 the VideoLAN team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.