Skip to content

Instantly share code, notes, and snippets.


Sven Strittmatter Weltraumschaf

View GitHub Profile
Weltraumschaf / gist:6d9f9acac4dcac0826ccfbca35e1243e
Created Apr 13, 2020 — forked from jessedearing/gist:2351836
Create self-signed SSL certificate for Nginx
View gist:6d9f9acac4dcac0826ccfbca35e1243e
echo "Generating an SSL private key to sign your certificate..."
openssl genrsa -des3 -out myssl.key 1024
echo "Generating a Certificate Signing Request..."
openssl req -new -key myssl.key -out myssl.csr
echo "Removing passphrase from key (for nginx)..."
cp myssl.key
openssl rsa -in -out myssl.key
View gist:3f1da4acd3f3d49153a7af631c26807f

EDIT from 2019: Hi folks. I wrote this gist for myself and some friends, and it seems like it's gotten posted somewhere that's generated some (ahem, heated) discussion. The whitespace was correct when it was posted, and since then GitHub changed how it formats <pre> tags. Look at the raw text if you care about this. I'm sure someone could tell me how to fix it, but (thank you @anzdaddy for suggesting a formatting workaround) honestly this is a random throwaway gist from 2015, and someone more knowledgable about this comparison should just write a proper blog post about it. If you comment here I'll hopefully see it and stick a link to it up here. Cheers. @oconnor663

Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?

title = "TOML Example"
Weltraumschaf / prepare-commit-msg
Created Mar 2, 2020 — forked from vsrc/prepare-commit-msg
Git pre commit hook for automatic adding branch name to commit message
View prepare-commit-msg
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
BRANCH_NAME=$(git symbolic-ref --short HEAD)
Weltraumschaf / Vagrantfile
Created Feb 17, 2019
Create one master and two nodes with Debian to play around with Docker swarm mode.
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX_IMAGE = "bento/debian-9"
Vagrant.configure("2") do |config|
config.vm.define "master" do |subconfig|
View dsgvo.tex
\opening{Sehr geehrte Damen und Herren,}
Daher bitte ich um Auskunft darüber, ob Sie personenbezogene Daten über meine Person gespeichert haben. Sollte dies der Fall sein, bitte ich um Auskunft darüber,
\item[a)] welche personenbezogenen Daten ganz konkret bei Ihnen verarbeitet werden (z.B. Name, Vorname, Anschrift, Geburtsdatum, Beruf, medizinische Befunde) sowie
\item[b)] zu welchem Zweck diese Daten verarbeitet werden.

Keybase proof

I hereby claim:

  • I am weltraumschaf on github.
  • I am weltraumschaf ( on keybase.
  • I have a public key ASAzR0bB3DuKbByDvdBKlMPDVuyPkAtAURE0C6DOsL9NAAo

To claim this, I am signing this object:

View Spec.scala
package de.htwg.msi.set.model
import org.specs2.mutable._
class FieldSpec extends Specification {
"A new Field" should {
val field = new Field()
Weltraumschaf / hosts
Created Oct 25, 2016
Block Microsfot ads in Skype (add thisto your hosts file)
View hosts