My Recent Pastes (253 and counting)
Pastes by Denis Defreyne (253 and counting)
Below are the 15 most recent pasties by Denis Defreyne.
July 18, 2010
4:14AM EDT
by Denis Defreyne
View all 53 lines
diff --git a/lib/nanoc3/cli/base.rb b/lib/nanoc3/cli/base.rb --- a/lib/nanoc3/cli/base.rb +++ b/lib/nanoc3/cli/base.rb @@ -86,16 +86,24 @@ module Nanoc3::CLI end
July 15, 2010
4:52AM EDT
by Denis Defreyne
View all 53 lines
{
"^m" = {
"~;" = ("insertText:", "\U22EE"); /* ⋮ */
"c" = ("insertText:", "\U2318"); /* ⌘ */
June 13, 2010
3:18PM EDT
by Denis Defreyne
View all 19 lines
// Find path to llc NSArray *searchPaths = [[NSString stringWithUTF8String:getenv("PATH")] componentsSeparatedByString:@":"]; NSEnumerator *searchPathEnumerator = [searchPaths objectEnumerator]; NSString *searchPath; NSString *finalPath = nil;
June 04, 2010
8:40AM EDT
by Denis Defreyne
View all 85 lines
diff --git a/lib/nanoc3/filters/less.rb b/lib/nanoc3/filters/less.rb --- a/lib/nanoc3/filters/less.rb +++ b/lib/nanoc3/filters/less.rb @@ -7,13 +7,19 @@ module Nanoc3::Filters # This method takes no options.
June 03, 2010
6:06PM EDT
by Denis Defreyne
View all 50 lines
; ModuleID = 'harbour' declare i64 @harbour__print(i64) declare i64 @harbour__minus(i64, i64)
June 01, 2010
4:23PM EDT
by Denis Defreyne
View all 133 lines
Syntax for Harbour ================== Constants ---------
May 19, 2010
4:56AM EDT
by Denis Defreyne
View all 103 lines
diff --git a/lib/adsf/rack/index_file_finder.rb b/lib/adsf/rack/index_file_finder.rb --- a/lib/adsf/rack/index_file_finder.rb +++ b/lib/adsf/rack/index_file_finder.rb @@ -1,15 +1,16 @@ module Adsf::Rack
May 02, 2010
6:46AM EDT
by Denis Defreyne
View all 6 lines
%li{ :class => (item.identifier == '/' ? 'current-tab' : nil) }
%a{:href => "/"} Home
%li{ :class => (item.identifier =~ %r[^/foo/] ? 'current-tab' : nil) }
%a{:href => "/foo/"} Foo
%li{ :class => (item.identifier =~ %r[^/bar/] ? 'current-tab' : nil) }
April 11, 2010
8:57AM EDT
by Denis Defreyne
View all 53 lines
module Nanoc3::DataSources class Static < Nanoc3::DataSource identifier :static
April 03, 2010
11:12AM EDT
by Denis Defreyne
View all 75 lines
# encoding: utf-8 module Nanoc3::Filters class Sass < Nanoc3::Filter
March 27, 2010
3:43PM EDT
by Denis Defreyne
View all 27 lines
# Build engine engine = ::Sass::Engine.new(content, options) # Get import nodes require 'set'
March 22, 2010
5:24AM EDT
by Denis Defreyne
View all 14 lines
require 'bitly' class BitlyFilter < Nanoc3::Filter identifier :bitly
March 19, 2010
4:39PM EDT
by Denis Defreyne
View all 121 lines
diff --git a/lib/cyanchat-relay/cc_connection.rb b/lib/cyanchat-relay/cc_connection.rb --- a/lib/cyanchat-relay/cc_connection.rb +++ b/lib/cyanchat-relay/cc_connection.rb @@ -7,16 +7,18 @@ module CCRelay
February 16, 2010
6:36AM EDT
by Denis Defreyne
View all 57 lines
# encoding: utf-8 module Nanoc3::Filters class ColorizeSyntax < Nanoc3::Filter
November 22, 2009
5:16AM EDT
by Denis Defreyne
View all 46 lines
require 'sinatra/base' # The controller for the home page. class HomeController < ::Sinatra::Base
