Skip to content

Instantly share code, notes, and snippets.

Avatar

Tobi sezanzeb

View GitHub Profile
View gist:e29bae637b8a799ccf2490b8537487df
# https://gist.github.com/sezanzeb/1236917f509f13d30010c98c9fa8389f
Cyrillic_ve, parenleft, SunVideoLowerBrightness, KP_6, Q,
uparrow, Cyrillic_yu, Sinh_ca, Cyrillic_YA, Thai_ru,
dead_belowdot, XF86Keyboard, zacute, Greek_beta, Greek_PSI,
Sinh_cha, XF86AudioMicMute, Shift_Lock, onesixth, Kana_Lock,
Cyrillic_zhe_descender, Arabic_ddal, iacute, Greek_kappa, W,
Ooblique, dead_stroke, Sinh_oo, dollar, Arabic_comma,
hebrew_yod, V, egrave, hpDeleteLine, Undo, Armenian_tyun,
Armenian_exclam, Arabic_keheh, Greek_omega, includedin,
partialderivative, Arabic_ha, Otilde, Sinh_ai, Georgian_tar,
View find_all_xkb_names.py
#!/usr/bin/python
import os
import re
def find_xkb_names_in_file(path):
"""Return a set of all keys used in this xkb symbols file."""
keys = set()
with open(path) as f:
View snake_cases.py
#!/usr/bin/python3
"""Transform all function names to snake case."""
import os
import re
def extract_function_name(line):
"""Get the test function name written in that line or None."""
View PKGBUILD
pkgname=soundconverter-git
pkgver=3.0.0+beta1+1+g9919e80
pkgrel=1
pkgdesc="A simple sound converter application for GNOME"
arch=('any')
url="http://soundconverter.org/"
license=('GPL3')
depends=('python-gobject' 'gst-python' 'gst-plugins-ugly' 'desktop-file-utils' 'gst-plugins-good')
makedepends=('git' 'python-distutils-extra')
provides=('soundconverter')