Skip to content

Instantly share code, notes, and snippets.

View kamiheku's full-sized avatar

Karri Kuivanen kamiheku

  • Jyväskylä, Finland
View GitHub Profile
#define LAYOUT_split_3x6_3_reverse( \
k0b, k09, k08, k07, k06, k05, k04, k03, k02, k01, k00, k0a,\
k1b, k19, k18, k17, k16, k15, k14, k13, k12, k11, k10, k1a,\
k2b, k29, k28, k27, k26, k25, k24, k23, k22, k21, k20, k2a,\
k37, k36, k35, k34, k33, k32 \
) \
{ \
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
// vim: sw=2:sts=2:expandtab
// crkbd -- kamiheku
#include QMK_KEYBOARD_H
// ┄─╼━━━━━━━━ layers ━━━━━━━━╾─┄ //
#define _QWERTY 0 //
#define _NUM 1 //
#define _SYM 2 //
// ┄─╼━━━━ layer toggles ━━━━━╾─┄ //
@kamiheku
kamiheku / ratpoisonrc
Created May 8, 2019 15:32
My "no-escape" ratpoisonrc
#############################
# ┏━┓┏━┓╺┳╸┏━┓┏━┓╻┏━┓┏━┓┏┓╻ #
# ┣┳┛┣━┫ ┃ ┣━┛┃ ┃┃┗━┓┃ ┃┃┗┫ #
# ╹┗╸╹ ╹ ╹ ╹ ┗━┛╹┗━┛┗━┛╹ ╹ #
# ~kamiheku #
#############################
# [ basic settings ] ##########################################################
# root/escape key, not used much
@kamiheku
kamiheku / config
Created March 11, 2018 12:23
My termite config
[options]
font = Iosevka Term Medium 10
allow_bold = true
audible_bell = false
visible_bell = false
urgent_on_bell = true
clickable_url = true
scrollback_lines = 32767
search_wrap = true
cursor_blink = off
@kamiheku
kamiheku / djbb.py
Created September 26, 2016 09:32
#!/usr/bin/env python3
import requests
import re
import shutil
def download(id):
r = requests.get("http://www.breakbeat-paradise.com/bb_download.php?sampleid={}".format(id))
html = r.text
url = re.search('http://.+\.zip', html).group(0)