Skip to content

Instantly share code, notes, and snippets.

View mklepaczewski's full-sized avatar

Matt mklepaczewski

View GitHub Profile
@mklepaczewski
mklepaczewski / id_ed25519.pub
Created October 25, 2022 13:23
Public SSH ed25519 key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEdMP08mhbY39D3YNYj8hLuQ7biU1SZI+kiWvAzo2Veq [email protected]
@mklepaczewski
mklepaczewski / wpDiscuz-peristent-cache-patch
Created December 16, 2021 13:26
Patch for wpDiscuz bug where persistent cache is being used and 'Load more comments' button loads the same comments
<?php
/*
Plugin Name: FasterWebsite wpDiscuz Cache Patch
Plugin URI: https://fasterwebsite.com/
Description: Fixes bug 'Load More button loads the same comments'
Author: Maciej Klepaczewski
Author URI: https://fasterwebsite.com/
Version: 0.1
Requires PHP: 7.4
*/
@mklepaczewski
mklepaczewski / obsidian.css
Created August 10, 2020 09:54
Note blocks for Obsidian
/**
* I use .app-container to get around CSS selector specificity
*/
.app-container pre[class*="language-note-"] {
border: 1px solid;
}
/* Make the first line of note bold */
*[class*="language-note"]::first-line {
@mklepaczewski
mklepaczewski / id_rsa.pub
Created December 3, 2019 09:33
Public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3BYWVb70mi2X2wIO2FXj75VPwrzSJP8i8NEW8z2gEQa421A1UbWL7uWzTr9YiYhKmAO0OhvuJG9ZDPYpU91I5Nu73cvFF7miGJsCiuk7sWyAX0HAp6p14h9tYXutWI75j+LOzpZXhAvJjYqivp+2UwlgZzBWrEC48/FDfPJK29cELVv1w6hl1XZiITgKdo0FcOWijTzptaBv1Sef1vwAiobuFggJ58JKbcJpVJQqv4DN2GhzOhFb01dpHvQa1kUuSglmWaH2p2XjBGbw1Dip/CXR5wF2onwHwtLILlKe695JsEQ34sOXInvxNf66SZ3m/S1XUZ8BzcShGINvo8j/d [email protected]
@mklepaczewski
mklepaczewski / tmux-auto-select-trimmed-line.conf
Created March 27, 2019 21:14
Tmux copy - navigate with arrows and auto select trimmed line
bind -T copy-mode C-Up send-keys Up \; send -X back-to-indentation \; send -X begin-selection \; send -X end-of-line
bind -T copy-mode C-Down send-keys Down \; send -X back-to-indentation \; send -X begin-selection \; send -X end-of-line