Search: [Gentoo Wiki][1]
- [1 Introduction][2]
- [2 Prerequisites][3]
The pages on the old wiki had critical pieces of hard-won info embedded in often obsolete articles. Just copying the whole unstructured archive seems crazy; but so does throwing it all away and only having new content. AllenJB's suggestion of a template to flag these sounds ideal. This way, when we hit a page we know whether the content is all shiny and new, or captured from the old wiki and of "variable quality"...
body { | |
color: #000000; | |
background-color: #ffffff; | |
font-family: "Tempus Sans", Verdana, Tahoma, Arial, sans-serif; | |
font-size: 80%; | |
padding: 0; | |
margin: 0; | |
} | |
a, a:visited { |
thomasn@titan ~/apps/webrat | |
$ find /usr/lib/ruby/gems/1.8/gems/webrat-0.3.2/ -name '*rspec*' | |
thomasn@titan ~/apps/webrat | |
$ find /usr/lib/ruby/gems/1.8/gems/webrat-0.3.2.1/ -name '*rspec*' | |
/usr/lib/ruby/gems/1.8/gems/webrat-0.3.2.1/lib/webrat/rspec-rails.rb | |
thomasn@titan ~/apps/webrat |
/* position images stacked from left */ | |
<img src="/assets/2009/1/2/Christopher_Wren_by_Godfrey_Kneller_1711-250x318.jpg" width="125" height="318" alt="Sir Christopher Wren 1711 " style="float:left;" /> | |
<img src="/assets/2009/1/2/Christopher_Wren_by_Godfrey_Kneller_1711-250x318.jpg" width="125" height="318" alt="Sir Christopher Wren 1711 " style="float:left; margin-left:20px;" /> | |
<img src="/assets/2009/1/2/Christopher_Wren_by_Godfrey_Kneller_1711-250x318.jpg" width="125" height="318" alt="Sir Christopher Wren 1711 " style="align:right; margin-left:20px;" /> |
sha1_pass = Digest::SHA1.hexdigest(rand(999999).to_s); puts sha1_pass; nil |
... -- see http://github.com/thomasn/forgetmenot/tree/master for full listing | |
class Contact < ActiveRecord::Base | |
... | |
define_index do | |
indexes first_name, :sortable => true | |
indexes last_name, :sortable => true | |
indexes email, :sortable => true | |
indexes notes | |
# Add DynamicAttribute fields to index. Note that some Sphinx docs use the term "dynamic attributes" with a different meaning. |
config.cache_classes = false | |
config.whiny_nils = true | |
config.action_controller.consider_all_requests_local = true | |
config.action_controller.perform_caching = false | |
config.action_view.debug_rjs = true | |
config.action_mailer.raise_delivery_errors = false |
# pmerge --debug -av ruby | |
Traceback (most recent call last): | |
File "/usr/bin/pmerge", line 33, in <module> | |
commandline.main(subcommands) | |
File "/usr/lib/python2.6/site-packages/pkgcore/util/commandline.py", line 505, in main | |
options, args = option_parser.parse_args(args) | |
File "/usr/lib/python2.6/site-packages/pkgcore/util/commandline.py", line 397, in parse_args | |
return optparse.OptionParser.parse_args(self, args, values) | |
File "/usr/lib/python2.6/optparse.py", line 1399, in parse_args | |
return self.check_values(values, args) |