Skip to content

Instantly share code, notes, and snippets.

View tocsinde's full-sized avatar
🎯
Focusing

Stephan Fischer tocsinde

🎯
Focusing
View GitHub Profile
@justbuchanan
justbuchanan / readme.md
Last active March 1, 2021 17:21
Show icons for open programs in i3's status bar. See a demo here: http://gfycat.com/AfraidAmusingCoyote
@maisieccino
maisieccino / PKGBUILD
Last active January 19, 2016 15:05
ttf-sanfrancisco
pkgname=ttf-sanfrancisco
pkgver=1.0
pkgrel=1
pkgdesc="San Francisco, the system font for OSX, iOS, watchOS and tvOS."
arch=(any)
depends=(fontconfig xorg-font-utils)
source=()
install=$pkgname.install
package() {
@flaschbier
flaschbier / flask_auf_uberspace.markdown
Last active December 29, 2019 17:55
Anleitung für Flask auf Uberspace.

Was ist das hier?

Gestartet ist dieser Gist als lesbare (Markdown-) Version des leider schwer lesbaren Gists von dAnjou vom Januar 2015, der aus dem Uberspace-Wiki verlinkt ist. Jetzt allerdings, im Januar 2016, stellt sich heraus, dass diese Anleitung aus mehreren Gründen nicht mehr ohne weiteres funktioniert. Deswegen habe ich sie dem Stand der Erkenntnisse angepasst und überarbeitet. Dennoch meinen herzlichen Dank an dAnjou für den Kickstart, ohne den alles viel kniffliger gewesen wäre :3

Mit dem Flask-Framework entwickeln

Flask ist ein Micro-Framework für Webapplikationen auf Python-Basis. Und da Du in Deinem Uberspace selbst Python-Module installieren kannst, solltest Du auch Flask-Anwendungen im Uberspace laufen lassen können.

Trotz acht Jahren Python 3 und der [unerquicklichen Unicode-Behandlung von python 2](https://docs.pytho

#!/usr/bin/env python3
import re
from urllib.request import urlopen
import json
from itertools import chain
linkregex = re.compile(r'(https?://([\w\.-]*)?\.sz-online\.de)(/[\w/-]*\.html)')
@mamiu
mamiu / install_habitrpg.md
Last active March 4, 2017 22:43
Install HabitRPG on Uberspace.

##This is a guide to install HabitRPG on an Uberspace.

###Installation

First you have to create a folder which is accessable from the web (e.g. habitrpg.yourdomain.com) and then move to it. In this folder execute

git clone https://github.com/HabitRPG/habitrpg.git .

After that, you have to download some dependencies with:

@tessi
tessi / installation.md
Last active July 30, 2020 11:52
Install OpenProject on uberspace.de

How to install OpenProject on uberspace.de

Follow those steps to install OpenProject on a fresh uberspace.

Step 1: Install dependencies

First we set-up all dependencies. We use ruby 2.1.2 and install gems in a user directory:

echo "gem: --user-install --no-rdoc --no-ri" > ~/.gemrc

cat <<'EOF' >> ~/.bash_profile