Skip to content

Instantly share code, notes, and snippets.

View MTRNord's full-sized avatar
🏠
Working from home

Marcel MTRNord

🏠
Working from home
View GitHub Profile
@quantenProjects
quantenProjects / Readme
Last active May 13, 2017 19:50
Greasemonkey Exportscript für die Blitzanalyse auf http://kachelmannwetter.com/de/blitze
Zeit und Datum auswählen, dann in den gewünschten Bereich in der Karte klicken. Ein Fenster öffnet sich und zeigt die Blitzdetails an. Dieses wieder schließen und am Ende der Seite auf Export klicken. Dann den Inhalt des Textfeldes kopieren und in eine Datei mit Endung .gpx schreiben. Als Name wird die Stromstärke angegeben
@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@ianmackinnon
ianmackinnon / match.c
Created August 8, 2012 12:01
C Regex multiple matches and groups example
# gcc -Wall -o match match.c && ./match
#
#include <stdio.h>
#include <string.h>
#include <regex.h>
@jhass
jhass / nginx.conf
Last active May 12, 2022 02:13
Nginx Diaspora reverse proxy. - This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora.
# This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora.
# [...]
http {
# Your standard server configuration goes here
# [...]
gzip_static on;