06 September 2010

The Ruby Reflector

Topic

Base64

  Source Favicon
By Robert Walsh of Pathfinder Development 1 month ago.
Email

Content-Transfer-Encoding: BASE64

Repeat this step for every file. For every instance of this boilerplate code, paste in the .b64 version of your file below it. In the case of the logo image, it looks like this:

--new-boundary

Content-Location: CID:cafe_trade_logo.jpg ;

Content-ID:

Content-Type: IMAGE/ JPEG

Content-Transfer-Encoding: BASE64

/ 9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAZAAA/+4ADkFkb2Jl

AGTAAAAAAf/bAIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB…

pathf.com Read
  Source Favicon
On Coding Horror 5 months ago.
Email

These public and private keys are just big ol' Base64 encoded strings, so plop them in your code as configuration string resources that you can retrieve later.

Next, add some DNS records. You'll need two new TXT records.

_domainkey . example.com

"o=~\; r=contact@example.com"

selector. domainkey . example.com

"k=rsa\; p={private-key-base64-string-here}"

The first TXT DNS record is the global DomainKeys policy and contact email.

The …

codinghorror.com Read