Skip to content

Instantly share code, notes, and snippets.

Valentin Lorentz ProgVal

Block or report user

Report or block ProgVal

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
import smbus
import time
# for RPI version 1, use "bus = smbus.SMBus(0)"
bus = smbus.SMBus(1)
# This is the address we setup in the Arduino Program
address = 0x04
def writeNumber(value):
bus.write_byte(address, value)

Keybase proof

I hereby claim:

  • I am ProgVal on github.
  • I am progval ( on keybase.
  • I have a public key whose fingerprint is 3790 43E3 DF96 D323 7E67 82AC 0E08 2B40 E437 6B1E

To claim this, I am signing this object:

ProgVal / torrents
Created Oct 17, 2010
torrents téléchargés
View torrents
progval@ProgVal-Andromede-Debian:/media/gros-fichiers$ ls [0-9][0-9][0-9]_*\.ogv -l
-rw-r--r-- 1 progval progval 151194305 17 oct. 09:58 124_graphiques-avec-gnumeric_fr_big.ogv
-rw-r--r-- 1 progval progval 38648644 17 oct. 09:47 130_tout-ce-que-vous-avez-toujours-voulu-savoir-sur-les-geekscottes_fr_big.ogv
-rw-r--r-- 1 progval progval 447485127 17 oct. 12:34 147_table-ronde-le-genre-et-le-logiciel-libre-_fr_big.ogv
-rw-r--r-- 1 progval progval 21081742 17 oct. 09:50 174_tanaguru-logiciel-libre-pour-rendre-les-sites-web-meilleurs-_fr_big.ogv
-rw-r--r-- 1 progval progval 11430392 17 oct. 10:34 191_minbif--une-passerelle-irc-vers-le-monde-moderne_fr_big.ogv
-rw-r--r-- 1 progval progval 350608157 17 oct. 11:12 198_la-route-vers-gnome-3_fr_big.ogv
-rw-r--r-- 1 progval progval 148323204 17 oct. 10:43 201_etendre-le-compilateur-gcc-avec-melt-pour-vos-besoins_fr_big.ogv
-rw-r--r-- 1 progval progval 146054926 17 oct. 09:34 205_la-traduction-de-kde-en-franais_fr_big.ogv
-rw-r--r-- 1 progval progval 159844056
View gist:635932
# ...
from supybot.i18n import PluginInternationalization, internationalizeDocstring
_ = PluginInternationalization('Status')
class Status(callbacks.Plugin):
def __init__(self, irc):
self.__parent = super(Status, self)
# XXX It'd be nice if these could be kept in the registry.
self.sentMsgs = 0
ProgVal / output.txt
Created Jun 1, 2011
Variables plugin for Supybot -- SQLite returns empty row
View output.txt
get: ('global', 'default', 'foo')
get: ('global', 'default', 'foo')
set: ('global', 'default', 'foo', 'bar')
[('global', 'default', 'foo', 'bar', 0)]
get: ('global', 'default', 'foo')
Variable does not exist.
View session.txt
ProgVal@main tmp $ git clone git:// into Limnoria...
remote: Counting objects: 38576, done.
remote: Compressing objects: 100% (8970/8970), done.
remote: Total 38576 (delta 29455), reused 38576 (delta 29455)
Receiving objects: 100% (38576/38576), 6.51 MiB | 3.51 MiB/s, done.
Resolving deltas: 100% (29455/29455), done.
ProgVal@main tmp $ cd Limnoria/
ProgVal@main Limnoria $ ls
ACKS docs LICENSE plugins RELNOTES scripts src
ChangeLog INSTALL locale README sandbox test
#!/usr/bin/env python3
# Set this to False if the animation is really too slow or if
# your terminal do not support background colors.
import os
import sys
import time
import signal
import collections, sys, types
weakref = None
generic_hash = id
# Possible additions:
# - Add callbacks to CallableReference
# - Reimplement RefValueList
ProgVal /
Created Feb 16, 2012
A Twitter bot which tell French user they should not use the words 'crypter' and 'cryptage'.
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Copyright (c) 2012, Valentin Lorentz
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
Générateur de virelangue
You can’t perform that action at this time.