My Recent Pastes (43 and counting)

All Pasties (over 43 and counting)

Pages: 1 3

Below are summaries of the 13 most recent pasties by Nic Williams.

April 21, 2007
5:12PM EDT
by Nic Williams

1
2
3
4
5
  def_tag :delete_button, :label, :message, :update, :ajax, :else, :image, :confirm do
    if can_delete?(this)
      opts = options.merge(if image
                             { :type => "image", :src => "#{urlb}/images/#{image}" }
                           else

April 20, 2007
5:54PM EDT
by Nic Williams

1
2
3
<tr onclick="dostuff(); return _true_">
  <a href="will_go_here.html">Go</a>
</tr>

April 20, 2007
5:47PM EDT
by Nic Williams

1
2
3
<tr onclick="dostuff(); return false">
  <a href="...">Go</a>
</tr>

April 20, 2007
5:36PM EDT
by Nic Williams

1
2
3
4
5
<page title="MyConfPlan">

  <:intro>
    <h1 class="front_page_title">MyConfPlan</h1>
  </:intro>

April 20, 2007
3:10PM EDT
by Nic Williams

1
2
3
    def_tag :with  do
      tagbody.call
    end

April 20, 2007
3:05PM EDT
by Nic Williams

1
2
3
4
5
class ProxyOwnerArray < Array
  def proxy_owner
    first
  end
  

April 20, 2007
3:02PM EDT
by Nic Williams

1
  def proxy_owner

April 19, 2007
9:40AM EDT
by Nic Williams

1
end

April 09, 2007
4:40PM EDT
by Nic Williams

1
      p YAML

April 09, 2007
4:38PM EDT
by Nic Williams

1
# >> Bar

April 09, 2007
4:38PM EDT
by Nic Williams

1
Foo.tester

March 16, 2007
5:37PM EDT
by Nic Williams

1
2
3
4
a = "(865,0,'AmeriKKKa\'s_Most_Wanted',45,'asdf')"

m = a.match(/'(XXXXX)'/) # => #<MatchData:0x24608>
m[1] # => "AmeriKKKa's_Most_Wanted"

March 16, 2007
5:22PM EDT
by Nic Williams

1
2
3
4
5
    unless file = ENV['FILE']
      puts "\nRequires FILE parameter\n\n"
      next
    end
    unless File.exists? file

Previous page