Skip to content

Instantly share code, notes, and snippets.

Mickaël Thomas mickael9

Block or report user

Report or block mickael9

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
@mickael9
mickael9 / urtmon.sh
Last active Oct 21, 2017
A shell/awk wrapper around qstat for UrbanTerror, with filtering and sorting
View urtmon.sh
#!/bin/bash
QSTAT_ARGS="-iourtm master.urbanterror.info:27900"
show_help () {
echo "Usage: $0 [[-]<keyword>...] [<var>=<val>...] [<var>=!<val>...]"
echo
echo "Examples:"
echo
echo " Show all public TS or CTF servers running either abbey or turnpike:"
@mickael9
mickael9 / save.py
Last active Feb 13, 2020
Factorio map metadata parser
View save.py
from zipfile import ZipFile
from struct import Struct
class Deserializer:
u16 = Struct('<H')
u32 = Struct('<I')
def __init__(self, stream):
self.stream = stream
View convert.py
import sys
import re
# key code -> USB HID scancode
usb_map = [
0, 0, 0, 0, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38,
50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 21, 44, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 28, 1, 14, 15, 57, 12, 13, 26,
27, 43, 43, 39, 40, 41, 51, 52, 53, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 87, 88, 99, 70, 119, 110, 102, 104, 111, 107, 109, 106,
View keybase.md

Keybase proof

I hereby claim:

  • I am mickael9 on github.
  • I am mickael9 (https://keybase.io/mickael9) on keybase.
  • I have a public key ASCd6PLOTEnB5FOhq0NEP7vo7lOD2erzCwStRWEsGplKCgo

To claim this, I am signing this object:

View PKGBUILD
# $Id: PKGBUILD 122308 2014-11-10 17:00:19Z fyan $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
_pkgbasename=fakeroot
pkgname=lib32-${_pkgbasename}
pkgver=1.21
pkgrel=1
View PKGBUILD
# Maintainer: Sebastien Duthil <duthils@free.fr>
pkgname=factorio
pkgver=0.12.35
pkgrel=2
pkgdesc="A 2D game about building and maintaining factories."
arch=('i686' 'x86_64')
url="http://www.factorio.com/"
license=('custom: commercial')
conflicts=('factorio-demo')
View PKGBUILD
# Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
# Contributor: Sebastien Duthil <duthils@free.fr>
pkgname=factorio-experimental
pkgver=0.13.1
pkgrel=1
pkgdesc="A 2D game about building and maintaining factories. - Experimental Version"
arch=('i686' 'x86_64')
url="http://www.factorio.com/"
license=('custom: commercial')
View PKGBUILD
# Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
# Contributor: Sebastien Duthil <duthils@free.fr>
pkgname=factorio-experimental
pkgver=0.13.1
pkgrel=2
pkgdesc="A 2D game about building and maintaining factories. - Experimental Version"
arch=('i686' 'x86_64')
url="http://www.factorio.com/"
license=('custom: commercial')
View PKGBUILD
# Maintainer: d.woffinden
pkgname=z3-git
pkgver=4.4.1.r1411.g218e47f
pkgrel=1
pkgdesc="Z3 is a high-performance theorem prover being developed at Microsoft Research"
arch=('i686' 'x86_64')
url="https://github.com/Z3Prover/z3"
license=('MIT')
depends=('gcc-libs')
makedepends=('git' 'python2')
@mickael9
mickael9 / main.py
Last active Apr 26, 2016 — forked from Zopieux/main.py
IRC to Voxygen TTS with streaming to Icecast
View main.py
import asyncio
import binascii
import re
import subprocess
import time
import threading
import json
import random
from queue import Queue
You can’t perform that action at this time.