Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/resolve/resolvconf-compat.c b/src/resolve/resolvconf-compat.c
index d7e6800..41be295 100644
--- a/src/resolve/resolvconf-compat.c
+++ b/src/resolve/resolvconf-compat.c
@@ -43,7 +43,7 @@ static int parse_nameserver(const char *string) {
assert(string);
for (;;) {
- _cleanup_free_ char *word = NULL;
+ char *word = NULL;
From 6f6ec3cdd3a3e7fe01337b4627dc26a751ff673b Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Mon, 17 Oct 2016 12:37:24 +0100
Subject: [PATCH] Convert the simple replace into a separate function and apply
only to URL locations.
---
bin/sync | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
From d0a0c78ba55c9717e34f9570eb65bb3fe96b6f2b Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Thu, 13 Oct 2016 18:38:45 +0100
Subject: [PATCH] Fix up scoped packages by replacing all slashes with URL
encoded slash characters.
---
bin/sync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@ikelos
ikelos / 0001-Fix-the-custom-path-location-from-stopping-directori.patch
Created December 8, 2015 23:39
busybox-free patch for custom path location
From fae8727598d22b698f1eb35700744c9afde27f07 Mon Sep 17 00:00:00 2001
From: Mike Auty <mike.auty@gmail.com>
Date: Tue, 8 Dec 2015 23:36:51 +0000
Subject: [PATCH] Fix the custom path location from stopping directories being
used.
---
src/stericson/busybox/listeners/Location.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Keybase proof

I hereby claim:

  • I am ikelos on github.
  • I am ikelos (https://keybase.io/ikelos) on keybase.
  • I have a public key whose fingerprint is 07EB DAA2 3DCF BCD7 D13E E431 D3CF 6154 6B08 277D

To claim this, I am signing this object:

@ikelos
ikelos / gist:467d24e7caa9745e1094
Created August 5, 2014 00:05
Potential patch for issue #54
--- a/volatility/plugins/volshell.py
+++ b/volatility/plugins/volshell.py
@@ -375,14 +375,19 @@ class volshell(common.AbstractWindowsCommand):
objct = obj.Object(objct, address, space or self._proc.get_process_address_space())
if isinstance(objct, str):
- size = profile.get_obj_size(objct)
- membs = [ (profile.get_obj_offset(objct, m), m, profile.vtypes[objct][1][m][1]) for m in profile.vtypes[objct][1] ]
- print "{0}".format("..." * depth), repr(objct), "({0} bytes)".format(size)
- for o, m, t in sorted(membs):
diff --git a/src/mpDris2.in b/src/mpDris2.in
index 74878bd..535eeea 100755
--- a/src/mpDris2.in
+++ b/src/mpDris2.in
@@ -414,6 +414,7 @@ class MPDWrapper(mpd.MPDClient):
def mediakey_callback(self, appname, key):
""" GNOME media key handler """
logger.debug('Got GNOME mmkey "%s" for "%s"' % (key, appname))
+ self.idle_leave()
if key == 'Play':