Skip to content

Instantly share code, notes, and snippets.

View arfoll's full-sized avatar

Brendan Le Foll arfoll

  • Deutschland
View GitHub Profile
@arfoll
arfoll / .bashrc
Created January 28, 2012 16:31
bashrc file
#!/bin/bash
#
# bashrc_config configuration script by Brendan Le Foll <[email protected]>
#
# skip setup if not an interactive shell
if [ -z "$PS1" ]; then
return
fi
@arfoll
arfoll / gist:1278972
Created October 11, 2011 18:39
build lib32 kroc failure
Fixing up ./distribution/common/python-lib/distribution_tools/copy.py.
Fixing up ./distribution/common/python-lib/distribution_tools/command.py.
Fixing up ./distribution/common/python-lib/distribution_tools/__init__.py.
Fixing up ./distribution/common/python-lib/distribution_tools/archive.py.
Fixing up ./distribution/common/python-lib/distribution_tools/download.py.
Fixing up ./distribution/deb-pkg/build-tvm-avr.py.
Fixing up ./distribution/deb-pkg/copy-files.py.
Fixing up ./distribution/deb-pkg/util.py.
Fixing up ./distribution/deb-pkg/checkout-source.py.
Fixing up ./distribution/deb-pkg/make-deb-pkg.py.
@arfoll
arfoll / python_avahi_browse.py
Created February 8, 2011 10:05
Python equivalent to avahi-browse service
#!/usr/bin/python
import sys
try:
import gobject
import avahi
import dbus
import gtk
import avahi.ServiceTypeDatabase
@arfoll
arfoll / xbmcGLESfix.patch
Created February 7, 2011 11:00
Patch to fix compilation on gitmaster for XBMC with GLES
diff -uNr xbmc-20110207/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp xbmc-20110207-arfoll/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
--- xbmc-20110207/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp 2011-02-07 10:11:20.000000000 +0000
+++ xbmc-20110207-arfoll/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp 2011-02-07 10:33:24.306163877 +0000
@@ -41,6 +41,7 @@
#include "guilib/Texture.h"
#include "lib/DllSwScale.h"
#include "../dvdplayer/DVDCodecs/Video/OpenMaxVideo.h"
+#include "threads/SingleLock.h"
using namespace Shaders;