Skip to content

Instantly share code, notes, and snippets.

View leonklingele's full-sized avatar
💭
🫨

leonklingele

💭
🫨
View GitHub Profile
@leonklingele
leonklingele / ebay-kleinanzeigen-notifier.js
Last active February 7, 2022 20:56
Violentmonkey / Greasemonkey / Tampermonkey script to notify on new ads on eBay Kleinanzeigen
// ==UserScript==
// @name eBay Kleinanzeigen Notifier
// @namespace www.ebay-kleinanzeigen.de
// @description eBay Kleinanzeigen Notifier
// @version 1.0.0
// @icon https://www.ebay-kleinanzeigen.de/static/img/favicon.png
// @match https://www.ebay-kleinanzeigen.de/*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_addStyle
From ac3f94f342abc50b57285d749229308926ba7324 Mon Sep 17 00:00:00 2001
From: Leon Klingele <[email protected]>
Date: Wed, 15 Dec 2021 11:32:24 +0100
Subject: [PATCH 1/5] Revert "runtime: use clock_gettime instead of
gettimeofday on darwin"
This reverts commit ae76f6e96216f352cc5021a4c8a7d879c4cb6873.
---
src/runtime/sys_darwin.go | 2 +-
src/runtime/sys_darwin_amd64.s | 8 +++-----
@leonklingele
leonklingele / gist:a221d95d759310a744eec37fc95c4729
Created February 17, 2021 08:56
0001-Revert-runtime-use-clock_gettime-instead-of-gettimeo.patch
From b27c969f972ae942dba6be33b21f0110adcf7f5f Mon Sep 17 00:00:00 2001
From: Leon Klingele <[email protected]>
Date: Wed, 17 Feb 2021 09:55:58 +0100
Subject: [PATCH] Revert "runtime: use clock_gettime instead of gettimeofday on
darwin"
This reverts commit ae76f6e96216f352cc5021a4c8a7d879c4cb6873.
---
src/runtime/sys_darwin.go | 6 +++---
src/runtime/sys_darwin_amd64.s | 8 +++-----
This file has been truncated, but you can view the full file.
$ /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DBINDIR=L"/usr/local/Cellar/fish/3.1.2/bin" -DCMAKE_BINARY_DIR="/private/tmp/fish-20200728-69439-14nyq6w/fish-3.1.2" -DCMAKE_SOURCE_DIR="/private/tmp/fish-20200728-69439-14nyq6w/fish-3.1.2" -DDATADIR=L"/usr/local/Cellar/fish/3.1.2/share" -DDOCDIR=L"/usr/local/Cellar/fish/3.1.2/share/doc/fish" -DLOCALEDIR="/usr/local/Cellar/fish/3.1.2/share/locale" -DPREFIX=L"/usr/local/Cellar/fish/3.1.2" -DSYSCONFDIR=L"/usr/local/Cellar/fish/3.1.2/etc" -D_REENTRANT -D_UNICODE=1 -I/tmp/fish-20200728-69439-14nyq6w/fish-3.1.2 -I/tmp/fish-20200728-69439-14nyq6w/fish-3.1.2/pcre2-10.32 -Wall -Wextra -Wno-implicit-fallthrough -Wno-comment -Wno-address -Wno-strict-aliasing -Wno-redundant-move -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -fno-exceptions -std=gnu++11 /tmp/fish-20200728-69439-14nyq6w/fish-3.1.2/src/function.cpp -E | pbcopy
$ pbpaste
# 1 "/tmp/fish-20200728-69439-14n
diff --git a/sshfs.c b/sshfs.c
index fb566f4..d1c1fb2 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -3862,7 +3862,11 @@
}
#endif /* __APPLE__ */
- sshfs.blksize = 4096;
+#ifdef __APPLE__
@leonklingele
leonklingele / 0001-apple-keychain-integration-other-changes.patch
Last active May 15, 2022 14:09
openssh-{7.7,7.8,7.9,8.0,8.1,8.2,8.3,8.4,8.5,8.6,8.7,8.8,8.9,9.0}p1 patches for storing SSH passphrases in the OS X keychain. https://github.com/leonklingele/homebrew-dupes
From 056f784b90d67dcd76aa87aa092d1ecd281b1480 Mon Sep 17 00:00:00 2001
From: Leon Klingele <[email protected]>
Date: Thu, 24 Feb 2022 21:50:11 +0100
Subject: [PATCH 1/2] apple-keychain-integration-other-changes
---
Makefile.in | 16 +-
audit-bsm.c | 7 +-
auth.c | 2 +-
authfd.c | 25 ++
2018-01-09 05:41:33.078 [P2P6] INFO stacktrace src/common/stack_trace.cpp:120 Exception: char const*
2018-01-09 05:41:33.078 [P2P6] INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-01-09 05:41:33.088 [P2P6] INFO stacktrace src/common/stack_trace.cpp:159 [1] /root/monero/build/release/bin/monerod:__cxa_throw+0xfe [0x55e0048f75fe]
2018-01-09 05:41:33.088 [P2P6] INFO stacktrace src/common/stack_trace.cpp:159 [2] /root/monero/build/release/bin/monerod:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_REQUEST_FLUFFY_MISSING_TX::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_REQUEST_FLUFFY_MISSING_TX::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2
From acb5bb89c0c6ebbf2b8b0b7978a5006189c04944 Mon Sep 17 00:00:00 2001
From: Leon Klingele <[email protected]>
Date: Wed, 4 Oct 2017 03:33:36 +0200
Subject: [PATCH 1/3] 0001-apple-keychain-integration-other-changes.patch
---
Makefile.in | 18 +-
audit-bsm.c | 7 +-
auth-pam.c | 5 +-
auth.c | 2 +-
@leonklingele
leonklingele / typescript
Last active September 15, 2025 07:41
bash + fzf: Line wrapping issues
Script started on Sun Aug 20 23:41:16 2017
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy `__fzf_history__`








$ pwd
$HOME/.pick/
$ pick sync pick.safe
Enter your master password for safe '$HOME/.pick/pick.safe'
panic: assignment to entry in nil map
goroutine 1 [running]:
github.com/bndw/pick/commands.Sync(0xc420018cb0, 0x1, 0x1, 0xc420090480, 0x1136b24, 0xc420090480)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/bndw/pick/commands/sync.go:37 +0x157