My Recent Pastes (253 and counting)

Pastes by Denis Defreyne (253 and counting)

Pages:

Below are the 15 most recent pasties by Denis Defreyne.

October 02, 2009
5:46AM EDT
by Denis Defreyne

module Nanoc3::Filters
  class Tidy < Nanoc3::Filter

    identifier :tidy

September 24, 2009
7:13AM EDT
by Denis Defreyne

# encoding: utf-8

module Nanoc3::CLI::Commands

  class View < Cri::Command

September 20, 2009
4:58AM EDT
by Denis Defreyne

Office2008_nl_autoupdate_12.1.3.combo.pkg
Office2008_nl_autoupdate.pkg
Office2008_nl_browserplugin_12.2.0.combo.pkg
Office2008_nl_clipart_12.1.3.combo.pkg
Office2008_nl_clipart.pkg

September 13, 2009
5:31AM EDT
by Denis Defreyne

#!/usr/bin/env ruby

answer = loop do
  print "Does the song contain guitars? [y/n] "
  answer = gets.chomp

September 04, 2009
6:15AM EDT
by Denis Defreyne

def create_a_foo_for_me_thx
  Foo.new.tap do |f|
    f.x = 123
    f.y = 234
    f.z = 345

September 02, 2009
3:41PM EDT
by Denis Defreyne

0        computerwetenschappen
12        software engineering
        6        formele systeemmodellering voor software
        6        informatiebeheer
24        keuze

August 30, 2009
2:12PM EDT
by Denis Defreyne

configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/civclient.dsc
config.status: creating data/civserver.dsc

August 29, 2009
8:06AM EDT
by Denis Defreyne

+--- /!\ ERROR /!\ -------------------------------------------+
| An exception occured while running nanoc. If you think this |
| is a bug in nanoc, please do report it at                   |
| <http://projects.stoneship.org/trac/nanoc/newticket> --     |
| thanks in advance!                                          |

August 29, 2009
7:47AM EDT
by Denis Defreyne

    # Returns a string containing hints for resolving the given error, or nil
    # if no resolution can be automatically obtained.
    def resolution_for(error)
      # no such file to load -- rack
      gem_names = {

August 29, 2009
7:43AM EDT
by Denis Defreyne

+--- /!\ ERROR /!\ -------------------------------------------+
| An exception occured while running nanoc. If you think this |
| is a bug in nanoc, please do report it at                   |
| <http://projects.stoneship.org/trac/nanoc/newticket> --     |
| thanks in advance!                                          |

August 29, 2009
5:56AM EDT
by Denis Defreyne

#!/usr/bin/env ruby

def similarity_between(vec1, vec2, exp=0.8)
  (Math.atan((vec1 & vec2).size) / (Math::PI/2.0))**exp
end

August 13, 2009
2:00PM EDT
by Denis Defreyne

Hi.

I'm happy to announce the final release of nanoc 3.0, the latest version of
nanoc, a web publishing system for small to medium-sized static or semi-static
web sites.

August 13, 2009
3:34AM EDT
by Denis Defreyne

<form action="http://localhost/~ddfreyne/test" method="post">
        <input type="submit" name="test" value="Test">
</form>

August 08, 2009
4:59PM EDT
by Denis Defreyne

module LogfileAnalyser

  class UserAgentStringParser

    def parse(user_agent_string)

August 08, 2009
6:43AM EDT
by Denis Defreyne

# encoding: utf-8

module Nanoc3::CLI::Commands

  class Test < Cri::Command

Next page

Previous page