Skip to content

Instantly share code, notes, and snippets.

View gdubicki's full-sized avatar

Greg Dubicki gdubicki

View GitHub Profile
@aef
aef / pemsplit.rb
Created April 3, 2012 17:52
A minimal command line tool to split multi-entity PEM files into a collection of files each containing only one entity.
#!/usr/bin/env ruby
# encoding: UTF-8
=begin
Copyright Alexander E. Fischer <[email protected]>, 2012
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH