Skip to content

Instantly share code, notes, and snippets.

View hydrargyrum's full-sized avatar

hydrargyrum

View GitHub Profile
@hydrargyrum
hydrargyrum / gist:aa79a855c7c441df2c7509c1c8a80e77
Created February 20, 2024 10:50 — forked from dpk/gist:8325992
PyICU cheat sheet

PyICU cheat sheet

Because you can't get the docs.

Transliteration

Create a transliterator:

greek2latin = icu.Transliterator.createInstance('Greek-Latin')
syntax accepts also accepts
-foo: -foo ARG
-foo-: -fooARG
-foo+: -fooARG -foo ARG
-foo=: -foo=ARG -foo ARG
-foo=-: -foo=ARG
#!/usr/bin/env python3
from PyQt5.QtWidgets import *
app = QApplication([])
w = QLabel("can you read this?")
w.show()
app.exec_()
@hydrargyrum
hydrargyrum / RecordRTC.js
Created October 24, 2019 16:25
revealjs audio
'use strict';
// Last time updated: 2018-09-12 1:14:20 PM UTC
// ________________
// RecordRTC v5.4.8
// Open-Sourced: https://github.com/muaz-khan/RecordRTC
// --------------------------------------------------
@hydrargyrum
hydrargyrum / ycmd.md
Last active November 17, 2015 14:09
ycmd protocol documentation draft

Running YCMD

Command-line options

--host ADDRESS
    ... If not specified, 127.0.0.1 is used.

--port PORT
    Listen on PORT. If not specified, will use any available port.