Skip to content

Instantly share code, notes, and snippets.

Maciej Pasternacki mpasternacki

Block or report user

Report or block mpasternacki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
grugq / gist:03167bed45e774551155
Last active Oct 16, 2019
operational pgp - draft
View gist:03167bed45e774551155

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

brookr /
Created Apr 16, 2012
Rackup file I use for running WordPress on Pow
# for Pow + Wordpress, based on
# added hackery to work around wordpress issues - Patrick Anderson (
# clearly this could be cleaner, but it does work
require 'rack'
require 'rack-legacy'
require 'rack-rewrite'
# patch Php from rack-legacy to substitute the original request so
# WP's redirect_canonical doesn't do an infinite redirect of /
jbz / knife.rb
Created Feb 16, 2011
knife.rb that switches Opscode orgs/validators based on git branch
View knife.rb
# This knife.rb orig. provided by - but any mistakes are mine!
current_dir = File.dirname(__FILE__)
platform = ""
require 'grit'
branch ="#{current_dir}/..")
case branch
You can’t perform that action at this time.