Skip to content

Instantly share code, notes, and snippets.

I'm probably coding.

Alexander Rössler machinekoder

I'm probably coding.
View GitHub Profile
jpawlowski / HAproxy_uberspace.markdown
Last active Nov 24, 2020
Setup HAproxy on an Uberspace webspace
View HAproxy_uberspace.markdown

HAproxy als Reverse Proxy auf Uberspace installieren

Wer bei verschiedenen Reverse Proxy Aktivitäten auf seinem Uberspace mit Apache auf Grenzen stößt, kann HAproxy installieren. Ähnlich wie Pound ist es DASein Swiss Army Knife für alle HTTP, HTTPS und TCP Aktivitäten. Man kann sehr granular auf Layer 3-7 beeinflussen, wie Daten an andere Server und Dienste weitergeschleust werden sollen.

Ich benötigte HAproxy, um eine Website von einem externen Server via TLS gesichert per Uberspace verfügbar zu machen, also ein recht simles Szenario.

Apache Proxy einrichten

mhaberler /
Created Jan 5, 2016
installing ROS indigo ROS-comm on beaglebone jessie
# derived from
sudo sh -c 'echo "deb jessie main" > /etc/apt/sources.list.d/ros-latest.list'
wget -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
chrisvfritz / index.html
Created Nov 18, 2014
Simplest possible HTML template
View index.html
<!doctype html>
<title>This is the title of the webpage!</title>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
martarodriguezm / Google Play Api - Apk
Last active Jun 5, 2019
This python script uploads an apk file into Google Play Store using Android Play Publisher API
View Google Play Api - Apk

In Google Developer Console inside your app project, on the Credentials section, you must create a new "Service Account" "Client ID", if you have not already. And download the p12 file. You need the service account key file, generated in the Google APIs Console into the same directory and rename it to key.p12.

On Google Play Developer Console you have to give permissions to "" for uploading apks.


Download Google APIs Client Library for Python (google-api-python-client): or use pip:

  $ pip install google-api-python-client
cit / mu4e-citation-changer.el
Last active Aug 29, 2015
Change the language of the citation line in mu4e automatically when the ispell dictionary is changed.
View mu4e-citation-changer.el
;;; Change the language of the citation line in mu4e automatically
;; Description: Change the language of the citation line in mu4e
;; automatically when the ispell dictionary is changed.
;; Author: Florian Adamsky
;; Maintainer: Florian Adamsky (concat "fa-emacs" "@" "haktar" ".org")
;; Licence: Beer-ware (Revision 42)
;; As long as you retain this notice you can do whatever
View nameses.el
;;; Nameses enables named sessions.
;; Nameses is largely based on my-desktop.el by Scott Frazer
;; Modification by Jannis Teunissen
;; Version 0.02 - 21 Nov 2014 (added extra check)
;;; *** Usage ***
;; Note: if 'name' is not given, you'll be asked for a name
;; (nameses-load prefix &optional name) -> without prefix: load session
;; (nameses-load prefix &optional name) -> with prefix: save session
steakknife / array_slicing_and_compaction.advanced.bash
Last active Aug 20, 2021
Advanced Bash :: Array slicing and compaction in bash
View array_slicing_and_compaction.advanced.bash
# Advanced Bash :: Array slicing and compaction in bash
X=(something 'whatever' "i have more S P A C E S than i can give away. arent you jealous?")
# ${X[@]} the usual whole array
# ${X[@]:index:length} slice from index to index+length-1 inclusive
# ${X[@]::length} slice from 0 to length-1 inclusive
# ${X[@]:index} slice from index to end of array inclusive