Skip to content

Instantly share code, notes, and snippets.

@aef
aef / keybase.md
Last active August 29, 2015 14:17
Keybase proof

Keybase proof

I hereby claim:

  • I am aef on github.
  • I am aef (https://keybase.io/aef) on keybase.
  • I have a public key whose fingerprint is 5055 4C0A 57E2 584C D469 3B2F 16A5 09A9 D57D 5490

To claim this, I am signing this object:

@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 <aef@raxys.net>, 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
require 'set'
def self.`(string)
string.split(/,/).map{|string| eval string}.to_set
end
`:a, :b, :c`