December 2007
28 posts
There is nothing like returning to a place that remains unchanged to find the...
– Nelson Mandela
RSync photos from your iphone
After enabling SSH via “Independence”:http://code.google.com/p/independence/, installing the BSD subsystem via “Installer.app”:http://iphone.nullriver.com/ and creating a local ~/Pictures/iPhone directory it’s a simple matter of:
rsync -avz root@10.0.1.14:/var/root/Media/DCIM/100APPLE/ \
~/Pictures/iPhone/
or as an alias, for convenience, in...
Ventrilobelch - to belch without moving one’s mouth
– Cam
My happiness grows in direct proportion to my acceptance, and in inverse...
– Michael J Fox Interview - Quotes on Limbaugh, Fame and Parkinsons from Michael J. Fox - Esquire
An alarm clock that wakes you up with the smell and sizzle of cooking...
– /mathlete/
git rebase --interactive →
If you want to build a ship, don’t drum up the men to gather wood, divide the...
– Antoine de Saint-Exupéry
http://codeforpeople.rubyforge.org/svn/bj/trunk/REA... →
(abcde on #roro) — roro
evhead: Will it fly? How to Evaluate a New Product... →
— kvasir
Flickr Uploadr 3 is finally out →
and does offline mode, not-logged-in mode, reordering of photos before uploading and a much slicker interface. Nice work flickr!
SimpleDB's released →
Anti-Santa →
The Machine Girl
Senior Management Rap
Forcing decent page titles
In application.html.erb:
<title><%= @page_title || raise("No page title set") %></title>
String#permalise
require 'iconv'
String.class_eval do
def permalise
split(" ").map do |s|
Iconv.iconv("ascii//translit", "utf-8", s).to_s.gsub(/\W+/, '')
end.join(" ").downcase.strip.gsub(/\ +/, '-')
end
end
if $0 == __FILE__
require 'test/unit'
class StringPermaliseTest < Test::Unit::TestCase
def test_permalise
assert_equal "delfin-francois", " delfín François ".permalise
...
Automated email screen shots →
were just rolled into campaign monitor by the Freshview boys. I’m impressed!
CodeHighlighter for shell transcripts
// Assumes shell command lines start with a $ and all other lines are simply output
CodeHighlighter.addStyle("shell",{
keywords : {
exp: /(\$ ?)([^\n]+)/,
},
});
The real question Who has the most control over how well a thing is made? That’s...
– scottberkun.com - Usability is not a verb
November 2007
6 posts
# Flush the data (this saves it)
newblog_q.session.flush()
– Pylons was looking very interesting until I saw the controller example