Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>biz.interdev.$(PRODUCT_NAME:rfc1034identifier)</string>
@mweppler
mweppler / string_to_base64.rb
Created April 29, 2014 16:25
Base 64 encode a string at the command line via ruby.
#!/usr/bin/env ruby
if ARGV[0].nil?
raise "Expecting a string as the first argument"
end
require 'base64'
based = Base64.encode64 ARGV[0]
if !ARGV[1].nil? && ARGV[1] == 'sep'