My Recent Pastes (253 and counting)
Pastes by Denis Defreyne (253 and counting)
Below are the 15 most recent pasties by Denis Defreyne.
May 22, 2008
10:03AM EDT
by Denis Defreyne
View all 54 lines
# Loads the site data. This will query the Nanoc::DataSource associated # with the site and fetch all site data. The site data is cached, so # calling this method will not have any effect the second time, unless # +force+ is true. #
May 22, 2008
10:01AM EDT
by Denis Defreyne
View all 74 lines
# Loads the site data. This will query the Nanoc::DataSource associated # with the site and fetch all site data. The site data is cached, so # calling this method will not have any effect the second time, unless # +force+ is true. #
May 22, 2008
7:37AM EDT
by Denis Defreyne
View all 28 lines
SLOC Directory SLOC-by-Language (Sorted) 1372 lib ruby=1372 1211 test ruby=1211 0 bin (none) 0 html (none)
May 07, 2008
3:29PM EDT
by Denis Defreyne
View all 270 lines
class ParamsFile def self.read(filename) # Read params lines = File.read(filename).gsub("\r", '').split("\n")
May 04, 2008
5:48AM EDT
by Denis Defreyne
View all 22 lines
module SuperCoolExampleForRenatoSilva class SomeRandomClass def self.moo puts "Hello, I am a cow."
April 18, 2008
2:11PM EDT
by Denis Defreyne
View all 371 lines
class MetricsFile def self.read(filename) # Read metrics metrics = File.read(filename)
April 06, 2008
9:11AM EDT
by Denis Defreyne
View all 11 lines
require 'time' class Time ISO8601_REGEX = /^\d{4}-?\d{2}-?\d{2}(T\d{2}(:?\d{2}(:?\d{2}(\.?\d{2})?)?)?(Z|[+-]\d{2}(:?\d{2})?)?)?$/
February 14, 2008
4:27PM EDT
by Denis Defreyne
View all 37 lines
22:24 ----------- JOIN ^MoNgOnDoW^!n=^mongond@eu85-84-53-127.clientes.euskaltel.es 22:24 ----------- JOIN co`chn`cari`ce!n=co`chn`c@host-85-27-97-111.brutele.be 22:24 ----------- JOIN |Sheva|!n=|sheva|@host-85-27-97-111.brutele.be 22:24 ----------- JOIN The`KilleR!n=the`kill@eu85-84-53-127.clientes.euskaltel.es 22:24 ----------- PART |Sheva|!n=|sheva|@host-85-27-97-111.brutele.be ["LOL come to /server -m irc.kingskrown.com -j #Kingskrown"]
February 08, 2008
5:34AM EDT
by Denis Defreyne
View all 13 lines
<?php class Foo { public static function test()
February 08, 2008
5:21AM EDT
by Denis Defreyne
View all 39 lines
<?php class Super { public static $map = array();
February 08, 2008
5:19AM EDT
by Denis Defreyne
View all 26 lines
<?php class Super { public static $map = array();
February 08, 2008
4:53AM EDT
by Denis Defreyne
View all 27 lines
<?php class Super { public static function test1()
February 08, 2008
4:08AM EDT
by Denis Defreyne
View all 32 lines
<?php class Super { public static function foo()
February 07, 2008
6:51PM EDT
by Denis Defreyne
View all 29 lines
<?php class Super { public static function get_identifier()
