Skip to content

Instantly share code, notes, and snippets.

View languitar's full-sized avatar

Johannes Wienke languitar

View GitHub Profile
@languitar
languitar / gist:5829764
Last active December 18, 2015 18:59
Homebrew error building opencv.
Console output:
---------------
/usr/local/opt/python/bin/python2 -c import numpy
/usr/local/opt/python/bin/python2 -c import numpy
==> Downloading http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.5/opencv-2.4.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/opencv-2.4.5.tar.gz
tar xf /Library/Caches/Homebrew/opencv-2.4.5.tar.gz
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.4) https://github.com/Itseez/opencv/commit/6e119049ce3228ca82acb7f4aaa2f4bceeddcbdf.patch -o 000-homebrew.diff --silent
@languitar
languitar / violations_trigger.groovy
Created August 26, 2013 07:59
A trigger script for the jenkins (hudson) email_ext plugin which informs users in case their commits introduce new violations or warnings. In contrast to the limit options of various other plugins for code analysis reporting this does not fail the build.A simple but insecure way to share this script between different jobs is to execute the follo…
import jenkins.model.Jenkins
build = Jenkins.instance.items[0].builds[0]
println build
println("Available actions on the build: " + build.actions)
def analysisCoreActions = []
// All static analysis actions based on static analysis core can be handled uniformly
analysisCoreActions.addAll(build.actions.findAll{it.class.name =~ "hudson.plugins.checkstyle.CheckStyle.*ResultAction"})
@languitar
languitar / gist:6368210
Created August 28, 2013 16:43
Erroneous python dependency check in homebrew
languitar@miles:/usr/local$ cat Library/Taps/languitar-formulas/rst-proto.rb
require 'formula'
class RstProto < Formula
homepage 'https://toolkit.cit-ec.uni-bielefeld.de/components/generic/robotics-system-types'
url 'https://code.cor-lab.de/git/rst.git.proto.git', :using => :git, :branch => '0.9'
version '0.9'
head 'https://code.cor-lab.de/git/rst.git.proto.git', :using => :git
option :universal
@languitar
languitar / gist:bb70954c7b5aaecd3c7b
Created June 27, 2014 15:04
influxdb test error
jwienke@cinnabar /tmp> mkdir influxtest
jwienke@cinnabar /tmp> cd influxtest/
jwienke@cinnabar /tmp/influxtest> ls
jwienke@cinnabar /tmp/influxtest> git clone https://github.com/influxdb/influxdb.git
Cloning into 'influxdb'...
remote: Counting objects: 10051, done.
remote: Compressing objects: 100% (3230/3230), done.
remote: Total 10051 (delta 6809), reused 9752 (delta 6583)
Receiving objects: 100% (10051/10051), 3.28 MiB | 621 KiB/s, done.
Resolving deltas: 100% (6809/6809), done.
@languitar
languitar / gist:186f4ee553c684f498be
Created January 14, 2015 21:10
seafile client log
[01/13/15 10:39:38] processors/check-tx-v3-proc.c(313): repo version is 1, protocol version is 7.
[01/13/15 10:39:38] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'check') --> ('normal', 'commit')
[01/13/15 10:39:38] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'commit') --> ('normal', 'fs')
[01/13/15 10:39:38] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'fs') --> ('normal', 'check-blocks')
[01/13/15 10:39:38] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'check-blocks') --> ('normal', 'get-chunk-server')
[01/13/15 10:39:38] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'get-chunk-server') --> ('normal', 'data')
[01/13/15 10:39:39] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'data') --> ('normal', 'update-branch')
[01/13/15 10:39:39] transfer-mgr.c(309): Transfer repo '4c125bca': ('normal', 'update-branch') --> ('finished', 'finished')
[01/13/15 10:39:39] sync-mgr.c(557): Repo 'literature' sync state transition from 'uploading' to '
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
@languitar
languitar / autorandr.patch
Created October 5, 2016 08:54
patch for autorandr git AUR build
diff --git a/PKGBUILD b/PKGBUILD
index f12373f..76ea984 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
_pkgname=autorandr
pkgname=autorandr-git
-pkgver=r210.582290b
+pkgver=r234.dcd4b26
commit 04964b86ac903d6e41ea69b865f5dc1d2ca11cb7
Author: Johannes Wienke <[email protected]>
Date: Fri Nov 25 13:23:41 2016 +0100
Version bump to 3.0.0
diff --git a/.SRCINFO b/.SRCINFO
index dcca1be..1547778 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@languitar
languitar / gist:450320ccf01a2cd9097f9c4a6b150771
Created February 18, 2017 11:18
mcabber crash osx sierra
Process: mcabber [68690]
Path: /usr/local/Cellar/mcabber/1.0.5/bin/mcabber
Identifier: mcabber
Version: 0
Code Type: X86-64 (Native)
Parent Process: fish [24616]
Responsible: mcabber [68690]
User ID: 1000
Date/Time: 2017-02-16 00:00:02.760 +0100
@languitar
languitar / gist:3d0319d422226898f3da45f36c13e098
Created February 18, 2017 11:39
mcabber crash on osx sierra
Process: mcabber [39323]
Path: /usr/local/Cellar/mcabber/1.0.5/bin/mcabber
Identifier: mcabber
Version: 0
Code Type: X86-64 (Native)
Parent Process: fish [24616]
Responsible: mcabber [39323]
User ID: 1000
Date/Time: 2017-02-13 22:30:57.073 +0100