Skip to content

Instantly share code, notes, and snippets.

View ork's full-sized avatar
🥐

Benoît Taine ork

🥐
  • An tAontas Eorpach
View GitHub Profile
@ork
ork / colissymo.py
Last active January 8, 2022 17:29
Colissymo
#!/usr/bin/env python3
import requests
from bs4 import BeautifulSoup
from datetime import datetime
class Colissymo(object):
__UA_STRING = 'Mozilla/5.0 (Colissymo)'
__ROOT_URI = 'http://www.colissimo.fr/portail_colissimo/'
@ork
ork / wine_version.c
Created August 19, 2015 10:01
Wine version detector and dll procedure wrapper
#include <windows.h>
#include <stdio.h>
// FIXME Pass arguments to proc()
#define WRAP_DLL_PROC(_type, _proc, _dll, _default, ...) \
_type _proc(__VA_ARGS__) \
{ \
HMODULE dll = GetModuleHandle(_dll); \
\
if (!dll) \
@ork
ork / cornichon.py
Created August 7, 2016 16:04
Python Gtk3 Steam client
#!/usr/bin/env python
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import GdkPixbuf, Gtk, Soup
import glob
class LocalSteam:
@property
def installed_games(self):