Skip to content

Instantly share code, notes, and snippets.

View schmitmd's full-sized avatar

Michael D. Schmitt schmitmd

View GitHub Profile
@schmitmd
schmitmd / .tmux.conf
Created May 31, 2021 02:02
tmux conf
set-option -g history-limit 99999
set-option -g default-terminal "xterm-256color"
set-window-option -g aggressive-resize on
set-option -g xterm-keys on
#set-option -g mouse on
#set-option -g set-titles on
#set -g base-index 1
#setw -g pane-base-index 1
[ 0.954438] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
[ 0.958392] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[ 0.961705] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 1.305677] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input3
[ 1.307159] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input4
[ 1.477335] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[ 4.972733] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input7
[ 5.206568] input: PC Speaker as /devices/platform/pcspkr/input/input8
[ 5.289174] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input10
[ 5.381853] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
xxd -c20 -g1 /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor | tee >(cksum)
00000000: 05 01 09 05 a1 01 85 01 09 01 a1 00 09 30 09 31 15 00 27 ff .............0.1..'. [0/7]
00000014: ff 00 00 95 02 75 10 81 02 c0 09 01 a1 00 09 33 09 34 15 00 .....u.........3.4..
00000028: 27 ff ff 00 00 95 02 75 10 81 02 c0 05 01 09 32 15 00 26 ff '......u.......2..&.
0000003c: 03 95 01 75 0a 81 02 15 00 25 00 75 06 95 01 81 03 05 01 09 ...u.....%.u........
00000050: 35 15 00 26 ff 03 95 01 75 0a 81 02 15 00 25 00 75 06 95 01 5..&....u.....%.u...
00000064: 81 03 05 01 09 39 15 01 25 08 35 00 46 3b 01 66 14 00 75 04 .....9..%.5.F;.f..u.
00000078: 95 01 81 42 75 04 95 01 15 00 25 00 35 00 45 00 65 00 81 03 ...Bu.....%.5.E.e...
0000008c: 05 09 19 01 29 0b 15 00 25 01 75 01 95 0b 81 02 15 00 25 00 ....)...%.u.......%.
Bluetooth monitor ver 5.54
= Note: Linux version 5.8.7-arch1-1 (x86_64) 0.000462
= Note: Bluetooth subsystem version 2.22 0.000464
= New Index: A0:51:0B:7C:AF:2D (Primary,USB,hci0) [hci0] 0.000464
= Open Index: A0:51:0B:7C:AF:2D [hci0] 0.000465
= Index Info: A0:51:0B:7C:AF:2D (Intel Corp.) [hci0] 0.000465
@ MGMT Open: bluetoothd (privileged) version 1.17 {0x0001} 0.000465
@ MGMT Open: btmon (privileged) version 1.17 {0x0002} 0.000475
> HCI Event: Connect Request (0x04) plen 10 #1 [hci0] 5.592994
Address: 98:7A:14:57:69:CE (Microsoft Corporation)
@schmitmd
schmitmd / surfingkeys.conf
Last active January 23, 2022 00:43
SurfingKeys Config file
// Set capital F to link-hint open new (inactive) tab
api.map('F', 'gf');
// Set u to reopen closed tab
api.map('u', 'X');
// Set H to go back in page history
api.map('H', 'S');
// Set L to go forward in page history
api.map('L', 'D');
// Set d to close current tab
api.map('d', 'x');

Keybase proof

I hereby claim:

  • I am schmitmd on github.
  • I am schmitmd (https://keybase.io/schmitmd) on keybase.
  • I have a public key ASCgWkcwc8ih7nIPI-HO2GR2ve8awNv9-dmsRbk8xc11KQo

To claim this, I am signing this object:

@schmitmd
schmitmd / cvimrc
Last active March 20, 2017 17:39
cVimrc
let hintcharacters = "ashtgioeny"
let defaultengine = "duckduckgo"
set autoupdategist
map d closeTab
map u lastClosedTab