Skip to content

Instantly share code, notes, and snippets.

Gabriel de Perthuis g2p

Block or report user

Report or block g2p

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
g2p /
Created Oct 19, 2016
qtest extract ocamlbuild integration
open Ocamlbuild_plugin;;
rule "qtest extract"
(fun env build ->
Cmd(S[A"qtest"; A"extract"; A"-o"; P(env ""); P(env "")]))
g2p /
Last active Jan 4, 2016
Detect keyboard layouts (azerty, qwertz, others) using SDL2
Distinguish azerty/qwerty/qwertz
After experimenting, must SDL_INIT_VIDEO and use
SDL_GetKeyFromScancode or SDL_GetScancodeFromKey
The mapping is cached by SDL2;
enable the event loop or use SDL_Quit to detect again.
g2p / pip.1
Created Dec 23, 2011
pip manpage
View pip.1
'\" t
.\" Title: pip
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.1 <>
.\" Date: 11/30/2009
.\" Manual:
.\" Source:
.\" Language: English
.TH "PIP" "1" "11/30/2009" "" ""
You can’t perform that action at this time.