Skip to content

Instantly share code, notes, and snippets.

View muesli's full-sized avatar

Christian Muehlhaeuser muesli

View GitHub Profile
@muesli
muesli / .golangci.yml
Created January 8, 2022 07:00
Extensive golangci-lint config
run:
tests: false
issues:
include:
- EXC0001
- EXC0005
- EXC0011
- EXC0012
- EXC0013
@muesli
muesli / devrantbee.go
Last active July 23, 2020 22:54
DevrantBee
/*
* Copyright (C) 2014-2017 Christian Muehlhaeuser
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@muesli
muesli / PKGBUILD
Last active May 26, 2019 04:26
telephant PKGBUILD
# Maintainer: MOTT <ted.jameson at pm dot me>
pkgname=telephant-git
pkgver=20190525
pkgrel=1
epoch=
pkgdesc="A lightweight but modern Mastodon client, written in Go & QML"
arch=('x86_64')
url="https://github.com/muesli/telephant"
license=('MIT')
groups=()
@muesli
muesli / gitterbee.go
Created April 17, 2017 00:51
GitterBee
/*
* Copyright (C) 2017 Christian Muehlhaeuser
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@muesli
muesli / keybase.md
Created February 28, 2017 07:21
keybase.md

Keybase proof

I hereby claim:

  • I am muesli on github.
  • I am muesli (https://keybase.io/muesli) on keybase.
  • I have a public key ASAK3-hnjklZl0WQ6VwJW-fn9Z40vuzXBHj2uzuO52C6bQo

To claim this, I am signing this object:

@muesli
muesli / events.go
Created February 18, 2017 16:36
GitHubBee
/*
* Copyright (C) 2014-2017 Christian Muehlhaeuser
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@muesli
muesli / storage_ftp.go
Created November 6, 2016 03:58
FTP storage backend for Knoxite
/*
* knoxite
* Copyright (c) 2016, Christian Muehlhaeuser <muesli@gmail.com>
* Copyright (c) 2016, Nicolas Martin <penguwingithub@gmail.com>
*
* For license see LICENSE.txt
*/
package knoxite
@muesli
muesli / gist:e2d1c6619f7198af89816156cc8202c4
Created September 6, 2016 08:09
Dropbox Storage for knoxite
/*
* knoxite
* Copyright (c) 2016, Christian Muehlhaeuser <muesli@gmail.com>
*
* For license see LICENSE.txt
*/
package knoxite
import (
@muesli
muesli / phonon-vlc-oneinstance.patch
Last active January 4, 2016 11:58
phonon-backend-vlc fixes for mac
--- ../phonon-backend-vlc-0.7.1/src/utils/libvlc.cpp 2013-12-06 11:23:05.000000000 +0100
+++ ./src/utils/libvlc.cpp 2014-01-25 16:38:13.528310339 +0100
@@ -94,7 +94,7 @@
// Do not preload services discovery modules, we don't use them.
args << "--services-discovery=''";
// Allow multiple starts (one gets to wonder whether that makes a difference).
-#if (LIBVLC_VERSION_INT > LIBVLC_VERSION(2, 1, 0, 0) && defined(Q_OS_MAC)) || defined( Q_OS_WIN) || !defined(PHONON_NO_DBUS)
+#if !defined(Q_OS_MAC) && (defined(Q_OS_WIN) || !defined(PHONON_NO_DBUS))
args << "--no-one-instance";
#endif
@muesli
muesli / gist:6404305
Created September 1, 2013 12:57
* --no-one-instance patch for phonon-vlc on OSX.
diff --git a/src/utils/libvlc.cpp b/src/utils/libvlc.cpp
index 93ca4ad..1e1582b 100644
--- a/src/utils/libvlc.cpp
+++ b/src/utils/libvlc.cpp
@@ -92,7 +92,7 @@ bool LibVLC::init()
args << "--services-discovery=''";
// Allow multiple starts (one gets to wonder whether that makes a difference).
#if (LIBVLC_VERSION_INT > LIBVLC_VERSION(2, 1, 0, 0) && defined(Q_OS_MAC)) || defined( Q_OS_WIN) || !defined(PHONON_NO_DBUS)
- args << "--no-one-instance";
+// args << "--no-one-instance";