Skip to content

Instantly share code, notes, and snippets.

View joshjm's full-sized avatar

Josh joshjm

  • Brisbane
View GitHub Profile

How to make a 1 click connect to bluetooth device button

image

making a shortcut

  • Install Bluetooth Command Line Tools
  • you can use the command line tools to display all device ids by simply running btdiscovery
  • Create a Connect batch script:
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"segments": [
{
"foreground": "#00C5C7",
"properties": {
"time_format": "15:04:05"
},
@joshjm
joshjm / Lily58-KLE.kbd.json
Last active August 15, 2022 00:17 — forked from elfmimi/Lily58-Nicola.kbd.json
Lily58 KLE
[
{
"name": "Lily58 KLE"
},
[
{
"x": 3,
"a": 7
},
"3",
a helpful command to see what your last 10 branch names are that you have checked out
git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'