This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JS-Console script to export song name, artist and cover image URL to a JSON format | |
// Order of results is in ascending date order. If you want to change that, delete line with '.reverse()' | |
// The result is copied to your clipboard | |
// | |
// 1. Open https://www.shazam.com/myshazam and login | |
// 2. Scroll down to the end of your list, so that *all* songs are loaded | |
// 3. Open Developer console with F12 | |
// 4. Copy paste this code to the JS-console and hit Enter | |
// 5. Paste the result to your favorite text editor. Voilà. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Ocamlbuild_plugin;; | |
rule "qtest extract" | |
~prod:"%_tests.ml" | |
~deps:["%.ml"] | |
(fun env build -> | |
Cmd(S[A"qtest"; A"extract"; A"-o"; P(env "%_tests.ml"); P(env "%.ml")])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#clone https://bitbucket.org/marcusva/py-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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'\" t | |
.\" Title: pip | |
.\" Author: [see the "AUTHORS" section] | |
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/> | |
.\" Date: 11/30/2009 | |
.\" Manual: | |
.\" Source: | |
.\" Language: English | |
.\" | |
.TH "PIP" "1" "11/30/2009" "" "" |