Skip to content

Instantly share code, notes, and snippets.

View Adaephon-GH's full-sized avatar

Matthias Ruf Adaephon-GH

  • atheniX GmbH
  • Ulm
View GitHub Profile
@Adaephon-GH
Adaephon-GH / INDEX.md
Created February 17, 2022 10:48 — forked from ianmustafa/INDEX.md
AutoEq Preset for KZ ✕ crinacle CRN (ZEX Pro)

KZ x Crinacle CRN (ZEX Pro)

See usage instructions for more options and info.

Parametric EQs

In case of using parametric equalizer, apply preamp of -4.7dB and build filters manually with these parameters. The first 5 filters can be used independently. When using independent subset of filters, apply preamp of -4.6 dB.

Type Fc Q Gain
@Adaephon-GH
Adaephon-GH / terminal-rainbow.py
Last active June 28, 2018 07:23
Leverage true-color terminal feature to show many colors
from subprocess import run, PIPE
def hsv2rgb(h, s, v):
i = int(h * 6)
f = h * 6 - i
p = v * (1 - s)
q = v * (1 - f * s)
t = v * (1 - (1 - f) * s)
(r, g, b) = [(v, t, p), (q, v, p), (p, v, t), (p, q, v), (t, p, v), (v, p, q)][
i % 6
@Adaephon-GH
Adaephon-GH / userChrome.css
Last active November 9, 2017 22:57
Firefox configuration
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Hide horizontal tab bar */
#TabsToolbar {
visibility: collapse !important;
}
@Adaephon-GH
Adaephon-GH / tst-extra-style.css
Created November 9, 2017 22:53
Tree Style Tab configuration (FF Add-on)
/* Show title of unread tabs with red and italic font */
.tab.unread .label {
font-style: italic !important;
}
/* Add private browsing indicator per tab */
.tab.private-browsing .label:before {
content: "🕶";
}
@Adaephon-GH
Adaephon-GH / vim-vixen.json
Created November 9, 2017 22:51
Configuration for Vim-Vixen (FF Add-on)
{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@Adaephon-GH
Adaephon-GH / German QWERTZ
Last active February 17, 2020 12:00
Filco Minila 68key keyboard layout (keyboard-layout-editor.com)
[
{
"backcolor": "#333333"
},
[
{
"c": "#333333",
"t": "#dddddd",
"p": "DCS R1",
"a": 2,
/* Modified version of https://userstyles.org/styles/123560/fira-code-on-github-stackoverflow-and-beyond */
@-moz-document
domain("github.com"),
domain("stackoverflow.com"),
domain("stackexchange.com"),
domain('serverfault.com'),
domain('superuser.com'),
domain('askubuntu.com')
/*, domain("haskell.org"), domain("stackage.org"), domain("elm-lang.org"), domain("purescript.org"), domain("css-tricks.com"), domain("lpaste.net"), domain("jsfiddle.net"), domain("pastebin.com"), domain("codepen.io")*/
// config_file_directory needs to be set up-front in about:config.
// The directory needs to contain a config.js and a frame.js, which may be empty
// Reload the configuration with `zr`.
vimfx.set('config_file_directory', '~/.config/vimfx')
vimfx.set('hint_chars', 'eaiuclvxow')
vimfx.set('prevent_autofocus', true)
vimfx.set('next_patterns', 'next › » ▶ → >> > more older vorherige')
vimfx.set('prev_patterns', 'prev previous ‹ « ◀ ← << < back newer nächste')
@Adaephon-GH
Adaephon-GH / vimFx-userstyle.css
Last active June 15, 2016 19:55
userChrome.css / user-style (Scriptish) for vimFX
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#VimFxMarkersContainer .marker {
font-family: "Fantasque Sans Mono", "Serif" !important;
text-transform: lowercase !important;
font-size: 1.2em;
box-shadow: 2px 2px 1px rgba(0,0,0,0.25) !important;
}
#main-window[vimfx-mode="ignore"] #nav-bar {
#!/bin/sh
PYENV_ROOT="${HOME}/local/opt/pyenv"
git clone https://github.com/yyuu/pyenv "$PYENV_ROOT"
for plugin in ccache doctor pip-migrate update virtualenv; do
git clone "https://github.com/yyuu/pyenv-${plugin}" "${PYENV_ROOT}/plugins/pyenv-${plugin}"
done
git clone https://github.com/doloopwhile/pyenv-register "${PYENV_ROOT}/plugins/pyenv-register"