Skip to content

Instantly share code, notes, and snippets.

View aroig's full-sized avatar

Abdó Roig-Maranges aroig

View GitHub Profile
HOMEPATH=\Users\abdo
USERDOMAIN_ROAMINGPROFILE=WINDOWS10
LDFLAGS=-pipe
MANPATH=/mingw64/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man
APPDATA=C:\Users\abdo\AppData\Roaming
LESS_TERMCAP_mb=
ORIGINAL_TEMP=/c/Users/abdo/AppData/Local/Temp
ProgramW6432=C:\Program Files
MSYS_ROOT=D:\msys64
HOSTNAME=windows10
@aroig
aroig / tensorflow-prepare.patch
Created January 21, 2017 13:54
patch for python-tensorflow PKGBUILD on AUR
From a6090700a6daa81fec96aff21070f6b403a08d8c Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Fri, 20 Jan 2017 23:30:30 +0100
Subject: [PATCH] move patching to prepare()
Additionally, make the sed rule so that it works if applied twice on the same
sources.
---
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
@aroig
aroig / fix-crypto-api-dep.patch
Created January 2, 2017 10:16
Fix crypto-api dependency for git-annex
From 81748d4edcbebcbe4e1e90899010d3ac696fe577 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Mon, 2 Jan 2017 09:39:17 +0100
Subject: [PATCH] Make crypto-api a global dependency
Since af4d9197 it is needed by Utility.AuthToken. Otherwise, the
builds without webapp and testsuite are broken.
---
git-annex.cabal | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
TEST GIST
From dfc1bd475ff7bbbeb60f70d8b05cc7be3239521c Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Thu, 24 Mar 2016 11:04:13 +0100
Subject: [PATCH] make environment variables available to build and package
---
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
@aroig
aroig / trace.log
Created May 15, 2013 10:20
mu rebuild segfault stack trace
#0 0x00007ffff6031801 in __strlen_sse2_pminub () from /usr/lib/libc.so.6
#1 0x0000000000425c76 in process_str (str=<optimized out>, xapian_esc=1,
query_esc=0) at mu-str.c:478
#2 0x00000000004236d4 in each_part (msg=0xa69f0a0, part=0x7fffffffdb40,
pdata=0x7fffffffdca0) at mu-store-write.cc:438
#3 0x0000000000417f6c in handle_part (opts=<optimized out>,
user_data=0x7fffffffdca0,
func=0x4235c0 <each_part(MuMsg*, MuMsgPart*, PartData*)>, index=2,
parent=0xa39b760, part=0xa469c00, msg=0xa69f0a0) at mu-msg-part.c:457
#4 handle_mime_object (msg=0xa69f0a0, mobj=<optimized out>, parent=0xa39b760,
@aroig
aroig / symlink.patch
Created March 30, 2013 16:04
follow symlinked bookmarks file
@aroig
aroig / resize-crash.patch
Created March 21, 2013 12:29
Fixes Issue 80
From 3319195a9de8b59cbfb90c4c630a29f0107f8b1f Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Thu, 21 Mar 2013 13:24:36 +0100
Subject: [PATCH] Fix Issue #80 that crashed ranger when resized too small
This fixes Issue #80 and cleans up the code a bit so this particular
fragment is more readable.
---
ranger/gui/widgets/browsercolumn.py | 48 +++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 21 deletions(-)
@aroig
aroig / magit.patch
Created March 4, 2013 14:37
magit Makefile patch
From 6caa5a8f8a2534e56fc0470c3c636ca15765eac6 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Mon, 4 Mar 2013 15:15:49 +0100
Subject: [PATCH] replace echo's by printf in the Makefile
echo is inconsistent regarding the treatment of escaped characters (like
'\n'). It replaces them in zsh, but not in bash, for instance. printf is
more portable.
---
Makefile | 10 +++++-----
@aroig
aroig / gist:4972492
Created February 17, 2013 17:46
the man page
From e94e2a8c83cc2b494e25951c85edf7dda464d5fa Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Sun, 17 Feb 2013 18:31:29 +0100
Subject: [PATCH] document config options for vcs on the man page
---
doc/ranger.1 | 15 ++++++++++-----
doc/ranger.pod | 9 ++++++---
2 files changed, 16 insertions(+), 8 deletions(-)