Skip to content

Instantly share code, notes, and snippets.

Avatar

Uwe L. Korn xhochy

View GitHub Profile
View PyConDE18-arrow-jdbc.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View typescript
Skript gestartet auf Do 08 Nov 2018 19:42:25 CET
% kzsh: httptools-feedstock\kzsh: httptools-feedstock\ uwe@butterblume ~/Development/httptools-feedstock/recipe (git)-[rebuild] % [?1h=[?2004hconda build -m ../.ci_support/linux_c_compilergccpython3.6.yaml .[?1l>[?2004l
kconda\kconda\read filter "zstd" is not supported
write filter "zstd" is not supported
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Adding in variants from ../.ci
@xhochy
xhochy / Arrow in xeus-cling.ipynb
Last active Feb 27, 2018
Apache Arrow in Jupyter with xeus-cling
View Arrow in xeus-cling.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View verify-python-manylinux1.bash
#!/bin/bash
cd python/manylinux1
tar xf .../apache-arrow-0.2.0.tar.gz
mv apache-arrow-0.2.0 arrow
docker build -t arrow-base-x86_64 -f Dockerfile-x86_64 .
docker build -t parquet_arrow-base-x86_64 -f Dockerfile-parquet_arrow-base-x86_64 .
docker run --rm -v $PWD:/io parquet_arrow-base-x86_64 /io/build_arrow.sh
virtualenv venv
source ./venv/bin/activate
@xhochy
xhochy / vlc-2.2-libav-rtmp-pause.patch
Created Oct 17, 2014
Use libav revision that includes the RTMP pause support.
View vlc-2.2-libav-rtmp-pause.patch
diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 65d9cb8..153e898 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -8,7 +8,7 @@ ifdef USE_FFMPEG
HASH=313d75c
FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=$(HASH);sf=tgz
else
-HASH=e8049af
+HASH=9bec3ca
View example-tomahawk-resolver.js
/*
* (c) 2011 Dominik Schmidt <domme@tomahawk-player.org>
*/
var DummyResolver = Tomahawk.extend(TomahawkResolver,
{
settings: {
name: 'Dummy Resolver',
weight: 75,
timeout: 5
View gist:ecbc8658318360e98d18
ids = set()
with gzip.open(ids_file, 'rt') as idsf:
for id in idsf:
# Be careful to always stip the newline character at the end
ids.add(id.strip())
View keybase.md

Keybase proof

I hereby claim:

  • I am xhochy on github.
  • I am xhochy (https://keybase.io/xhochy) on keybase.
  • I have a public key whose fingerprint is 4D71 DB65 AAE2 A8CF EF65 3C37 1A63 9CEF DD0C 6A43

To claim this, I am signing this object:

@xhochy
xhochy / gist:10012223
Created Apr 6, 2014
Chromium GPU crash with mesa 10.1.0
View gist:10012223
(gdb) bt
#0 0x00007ff581029505 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ff58102a988 in __GI_abort () at abort.c:90
#2 0x00007ff5810225f2 in __assert_fail_base (fmt=0x7ff58115d960 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7ff577f0888c "brw->hw_ctx != ((void *)0)", file=file@entry=0x7ff577f08880 "brw_reset.c", line=line@entry=43,
function=function@entry=0x7ff577f088b0 <__PRETTY_FUNCTION__.35541> "brw_get_graphics_reset_status") at assert.c:92
#3 0x00007ff5810226a2 in __GI___assert_fail (assertion=assertion@entry=0x7ff577f0888c "brw->hw_ctx != ((void *)0)",
file=file@entry=0x7ff577f08880 "brw_reset.c", line=line@entry=43,
function=function@entry=0x7ff577f088b0 <__PRETTY_FUNCTION__.35541> "brw_get_graphics_reset_status") at assert.c:101
#4 0x00007ff577e45ce5 in brw_get_graphics_reset_status (ctx=<optimized out>) at brw_reset.c:43
@xhochy
xhochy / gist:10010809
Created Apr 6, 2014
Chromium GPU crash with mesa 10.0.4
View gist:10010809
(gdb) bt
#0 0x00007f6af815f505 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f6af8160988 in __GI_abort () at abort.c:90
#2 0x00007f6af81585f2 in __assert_fail_base (fmt=0x7f6af8293960 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7f6aef84e2ec "brw->hw_ctx != ((void *)0)", file=file@entry=0x7f6aef84e2e0 "brw_reset.c", line=line@entry=43,
function=function@entry=0x7f6aef84e310 <__PRETTY_FUNCTION__.34295> "brw_get_graphics_reset_status") at assert.c:92
#3 0x00007f6af81586a2 in __GI___assert_fail (assertion=assertion@entry=0x7f6aef84e2ec "brw->hw_ctx != ((void *)0)",
file=file@entry=0x7f6aef84e2e0 "brw_reset.c", line=line@entry=43,
function=function@entry=0x7f6aef84e310 <__PRETTY_FUNCTION__.34295> "brw_get_graphics_reset_status") at assert.c:101
#4 0x00007f6aef7a3425 in brw_get_graphics_reset_status (ctx=<optimized out>) at brw_reset.c:43
You can’t perform that action at this time.