Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/od-fs/fsdb_host.cpp b/src/od-fs/fsdb_host.cpp
index 54aa4050..d157d1b1 100644
--- a/src/od-fs/fsdb_host.cpp
+++ b/src/od-fs/fsdb_host.cpp
@@ -315,7 +315,6 @@ int same_aname (const char *an1, const char *an2)
static char *nname_to_aname(const char *nname, int noconvert)
{
char *cresult;
- int len = strlen(nname);
if (noconvert) {
@PowderedToastMan
PowderedToastMan / PKGBUILD
Created February 17, 2019 04:42
Virtualenv: Borg 1.1.9 for Archlinux
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Vlad M. <vlad@archlinux.net>
# Contributor: Dave Kil <dave@thekilempire.com>
pkgname=borg
_pkgname=borgbackup
pkgver=1.1.9
pkgrel=2
pkgdesc='Deduplicating backup program with compression and authenticated encryption'
url='https://borgbackup.github.io/'

Keybase proof

I hereby claim:

  • I am powderedtoastman on github.
  • I am zygmunt (https://keybase.io/zygmunt) on keybase.
  • I have a public key ASDnr7jXo3a96D6mT1nOnxDolNwyKhIA-7i8gBkgaMGvjgo

To claim this, I am signing this object:

@PowderedToastMan
PowderedToastMan / disablewindowskey.patch
Created January 14, 2014 18:34
Totally disable the Windows key in freerdp. This is to works around a long standing issue where it appears the Window key is "stuck" causing explorer and run windows to pop open, accidental screen locks, and all sorts of unintended Windows actions. This only changes the freerdp under X11. WARNING: MASSIVE HACK!!!
diff --git a/client/X11/xf_keyboard.c b/client/X11/xf_keyboard.c
index e6427e1..81e95bb 100644
--- a/client/X11/xf_keyboard.c
+++ b/client/X11/xf_keyboard.c
@@ -100,6 +100,15 @@ void xf_kbd_send_key(xfContext* xfc, BOOL down, BYTE keycode)
input = xfc->instance->input;
rdp_scancode = freerdp_keyboard_get_rdp_scancode_from_x11_keycode(keycode);
+ /*
+ * Giant hack to disable Windows keys