Skip to content

Instantly share code, notes, and snippets.

View andreas-marschke's full-sized avatar
🏠
Open Source Saves Lives! <3

Andreas Marschke andreas-marschke

🏠
Open Source Saves Lives! <3
View GitHub Profile
@azet
azet / gist:8979114
Last active August 29, 2015 13:56
mail regarding security flaws in Nagios NRPE to nagios devel and security lists
Return-Path: <[email protected]>
Received: from [10.60.20.43] ([193.170.94.254])
by mx.google.com with ESMTPSA id f45sm8725929eeg.5.2014.02.13.08.32.23
for <multiple recipients>
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Thu, 13 Feb 2014 08:32:24 -0800 (PST)
Message-ID: <[email protected]>
Date: Thu, 13 Feb 2014 17:32:25 +0100
From: Aaron Zauner <[email protected]>
;; Workaround the annoying warnings:
;; Warning (mumamo-per-buffer-local-vars):
;; Already 'permanent-local t: buffer-file-name
(when (and (equal emacs-major-version 24)
(equal emacs-minor-version 2))
(eval-after-load "mumamo"
'(setq mumamo-per-buffer-local-vars
(delq 'buffer-file-name mumamo-per-buffer-local-vars))))
@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: