Archive > August 2008
iPhone Copy and Paste
Didn’t think it was possible? You were wrong.
Update: Aug 23, 2008. Looks like it doesn’t work anymore. Sorry Zac.
The Food Tasting Meme
Meme found from Cygnoir.net
- Copy this list into your blog or journal, including these instructions.
- Bold all the items you.ve eaten.
- Cross out any items that you would never consider eating (or eating again)
- Optional extra: Post a comment http://www.verygoodtaste.co.uk linking to your results.
To make the filling out of this form and generating the HTML for it a bit easier,
reddywhp has played around with some PHP. Go to http://reddywhip.org/lj/foods/ and fill it out there. After filling it out, you will be given the code to copy and paste into your blog.
Livejournal users, remember to use your LJ-Cuts!
- Venison
- Nettle tea
- Huevos rancheros
- Steak tartare
- Crocodile
- Black pudding
- Cheese fondue
- Carp
- Borscht
- Baba ghanoush
- Calamari
- Pho
- PB&J sandwich
- Aloo gobi
- Hot dog from a street cart
- Epoisses
- Black truffle
- Fruit wine made from something other than grapes
- Steamed pork buns
- Pistachio ice cream
- Heirloom tomatoes
- Fresh wild berries
- Foie gras
- Rice and beans
- Brawn, or head cheese
- Raw Scotch Bonnet pepper
- Dulce de leche
- Oysters
- Baklava
- Bagna cauda
- Wasabi peas
- Clam chowder in a sourdough bowl
- Salted lassi
- Sauerkraut
- Root beer float
- Cognac with a fat cigar
- Clotted cream tea
- Vodka jelly
- Gumbo
- Oxtail
- Curried goat
- Whole insects
- Phaal
- Goat’s milk
- Malt whisky from a bottle worth $120 or more
- Fugu
- Chicken tikka masala
- Eel
- Krispy Kreme original glazed doughnut
- Sea urchin
- Prickly pear
- Umeboshi
- Abalone
- Paneer
- McDonald’s Big Mac Meal
- Spaetzle
- Dirty gin martini
- Beer above 8% ABV
- Poutine
- Carob chips
- S’mores
- Sweetbreads
- Kaolin
- Currywurst
- Durian
- Frog’s Legs
- Beignets, churros, elephant ears or funnel cake
- Haggis
- Fried plantain
- Chitterlings or andouillette
- Gazpacho
- Caviar and blini
- Louche absinthe
- Gjetost or brunost
- Roadkill
- Baijiu
- Hostess Fruit Pie
- Snail
- Lapsang souchong
- Bellini
- Tom yum
- Eggs Benedict
- Pocky
- Tasting menu at a three-Michelin-star restaurant
- Kobe beef
- Hare
- Goulash
- Flowers
- Horse
- Criollo chocolate
- Spam
- Soft shell crab
- Rose harissa
- Catfish
- Mole poblano
- Bagel and lox
- Lobster Thermidor
- Polenta
- Jamaican Blue Mountain coffee
- Snake
New Media Expo 2008
In case you didn’t know, New Media Expo is happening in Las Vegas right now. Here’s a link to the videos.
Xcode and git - Another build script
Update: Got broke somehow - so I fixed it.
I’ve rewritten the script from Cocoa Is My Girlfriend in ruby to append the git commit hash into an application’s Info.plist file.
This way, it keeps the version string that is added in Xcode, so the default About panel looks like this:

Here is the script
# Xcode auto-versioning script for Subversion by Axel Andersson
# Updated for git by Marcus S. Zarra and Matt Long
# Converted to ruby by Abizern
# Appends the git sha to the version number set in Xcode.
# These are the common places where git is installed.
# Change this if your path isn’t here
common_git_paths = %w[/usr/local/bin/git /usr/local/git/bin/git /opt/local/bin/git]
git_path = “”
common_git_paths.each do |p|
if File.exist?(p)
git_path = p
break
end
end
if git_path == “”
puts “Path to git not found”
exit
end
command_line = git_path + ” rev-parse —-short HEAD”
sha = `#{command_line}`.chomp
puts sha
info_file = ENV['BUILT_PRODUCTS_DIR'] + “/” + ENV['INFOPLIST_PATH']
f = File.open(info_file, “r”).read
re = /([\t ]+<key>CFBundleVersion<\/key>\n[\t ]+<string>)(.*?)(<\/string>)/
f =~ re
# Get the version info from the source Info.plist file
# If the script has already been run we need to remove the git sha
# from the bundle’s Info.plist.
open = $1
orig_version = $2
close = $3
# If the git has has not already been injected into the Info.plist, this will set version to nil
version = $2.sub!(/\s\(git sha [\w]+\)/, ”)
if (!version)
version = orig_version
end
# Inject the git hash into the bundle’s Info.plist
sub = “#{open}#{version} (git sha #{sha})#{close}“
puts sub
f.gsub!(re, sub)
File.open(info_file, “w”) { |file| file.write(f) }
Make sure that the shell is set to /usr/bin/ruby

