I hereby claim:
- I am ProgVal on github.
- I am progval (https://keybase.io/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:
#!/bin/sh | |
NUM=$1 | |
PORT=$2 | |
MYSQL_HOST=${MYSQL_HOST:-192.168.2.1} | |
DIR=/home/official-infclass/teeworlds-infclass | |
FNCFG=$DIR/config/tw06-infclass$NUM.cfg | |
FNGDB=$DIR/config/tw06-infclass$NUM.gdb | |
FNLOG=$DIR/logs/tw06-infclass$NUM-$(date +"%y-%m-%d-%T").txt | |
PARAM="-f $FNCFG" |
I hereby claim:
To claim this, I am signing this object:
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) |
import bisect | |
import operator | |
import unittest | |
class history: | |
"""Limited-length sorted list.""" | |
def __init__(self, maxlen): | |
self._maxlen = maxlen | |
self._list = [] | |
def __repr__(self): |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (c) 2009 by xt <[email protected]> | |
# Copyright (c) 2013 by Valentin Lorentz | |
# | |
# 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 3 of the License, or | |
# (at your option) any later version. | |
# |
#!/usr/bin/env python | |
from __future__ import with_statement | |
import pbs | |
import time | |
import glob | |
import requests | |
ROOT = '/home/compiler/Limnoria' |
Générateur de virelangue |
#!/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 |
import collections, sys, types | |
weakref = None | |
generic_hash = id | |
# Possible additions: | |
# - Add callbacks to CallableReference | |
# - Reimplement RefValueList |
#!/usr/bin/env python3 | |
# Set this to False if the animation is really too slow or if | |
# your terminal do not support background colors. | |
ENABLE_BACKGROUND = True | |
import os | |
import sys | |
import time | |
import signal |