w c l d _ _ u o y '
r s n t p k a e i h
_ f m g b j x , . _
w c l d _ _ y o u '
from dbus_next.aio import MessageBus | |
from dbus_next.constants import BusType | |
import asyncio | |
BLUEZ = "org.bluez" | |
#replace hci0 with your bluetooth adapter name and FF_FF_FF_FF_FF_FF with your keyboard address | |
BLUEZ_PATH = "/org/bluez/hci0/dev_FF_FF_FF_FF_FF_FF" | |
GATT_SERVICE = 'org.bluez.GattService1' | |
GATT_CHARACTERISCITC = 'org.bluez.GattCharacteristic1' | |
GATT_CHARACTERISCITC_DESCR = 'org.bluez.GattDescriptor1' | |
BATTERY_UUID = "0000180f-0000-1000-8000-00805f9b34fb" |
Wordle is a simple word game where you try to guess a 5-letter word each day. This gist contains a small Fish function to help you narrow down the list of possible answers based on the scores from each guess.
Guess the Wordle in 6 tries.
# Extracts QMK `info.json` layout data from kicad pcb | |
# You need to have the `pcbnew` module importable (should be installed when kicad is installed) | |
import re, pcbnew, json | |
from typing import Callable | |
from functools import reduce | |
kicad7 = pcbnew.Version().startswith("7") | |
if kicad7: |
This is a brief introduction to the tools needed to maintain a personal fork of ZMK (or QMK or really whatever). It covers:
// Gergoplex specfic combos | |
COMB(qwGrv, KC_GRV, KC_Q, KC_W) | |
COMB(zxTab, KC_TAB, KC_Z, KC_X) | |
COMB(uyEqu, KC_EQL, KC_U, KC_Y) | |
COMB(ySclnMins, KC_MINS, KC_Y, KC_SCLN) | |
COMB(hnQuot, KC_QUOT, KC_H, KC_N) | |
COMB(pgEsc, KC_ESC, KC_P, KC_G) | |
COMB(kmHome, KC_HOME, KC_K, KC_M) |
FOREWORDS
I don't mean the snippet at the bottom of this gist to be a generic plug-n-play solution to your search needs. It is very likely to not work for you or even break things, and it certainly is not as extensively tested and genericised as your regular third-party plugin.
My goal, here and in most of my posts, is to show how Vim's features can be leveraged to build your own high-level, low-maintenance, workflows without systematically jumping on the plugins bandwagon or twisting Vim's arm.