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 / 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 / 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 / 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 <[email protected]>
* Copyright (c) 2016, Nicolas Martin <[email protected]>
*
* 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 <[email protected]>
*
* For license see LICENSE.txt
*/
package knoxite
import (
@muesli
muesli / gist:6501b9edc499e92a739a
Last active August 29, 2015 14:14
Qt54 clang compile patch
diff --git a/qtbase/src/corelib/global/qcompilerdetection.h b/qtbase/src/corelib/global/qcompilerdetection.h
index 4c84daa..5f8ca5c 100644
--- a/qtbase/src/corelib/global/qcompilerdetection.h
+++ b/qtbase/src/corelib/global/qcompilerdetection.h
@@ -154,17 +154,17 @@
/* Clang also masquerades as GCC */
# if defined(__apple_build_version__)
# /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */
-# if __apple_build_version__ >= 600051
+# if __apple_build_version__ >= 6000051
@muesli
muesli / gist:f567e2f8f1e1147db649
Last active August 29, 2015 14:14
quazip Qt5 fix
Index: quazip/quazip/CMakeLists.txt
===================================================================
--- quazip/quazip/CMakeLists.txt (revision 251)
+++ quazip/quazip/CMakeLists.txt (working copy)
@@ -17,7 +17,7 @@
add_library(quazip SHARED ${SRCS})
set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1)
# Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty)
-target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARIES})
+target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES})