My Recent Pastes (253 and counting)

Pastes by Denis Defreyne (253 and counting)

Pages:

Below are the 15 most recent pasties by Denis Defreyne.

July 11, 2009
8:01AM EDT
by Denis Defreyne

        // Draw ball
        glPushMatrix();
        glTranslated((int)newX, (int)newY, 0);
        glBegin(GL_TRIANGLE_FAN);
        glColor4f(1.0f, 0.0f, 0.0f, 1.0f);

July 09, 2009
5:15AM EDT
by Denis Defreyne

def try
  i = 0
  loop do
    begin
      perform_action

July 08, 2009
6:54AM EDT
by Denis Defreyne

Making the Jump from nanoc 2.2 to nanoc 3.0
===========================================

nanoc 3.0 is quite different from nanoc 2.2 in several ways. It is not
backward compatible, which means that it is not possible to compile a nanoc

July 08, 2009
5:05AM EDT
by Denis Defreyne

Making the Jump from nanoc 2.2 to nanoc 3.0
===========================================

nanoc 3.0 is quite different from nanoc 2.2 in several ways. It is not
backward compatible, which means that it is not possible to compile a nanoc

July 07, 2009
3:47PM EDT
by Denis Defreyne

Making the Jump from nanoc 2.2 to nanoc 3.0
===========================================

nanoc 3.0 is quite different from nanoc 2.2 in several ways. It is not
backward compatible, which means that it is not possible to compile a nanoc

July 07, 2009
3:47PM EDT
by Denis Defreyne

Making the Jump from nanoc 2.2 to nanoc 3.0
===========================================

nanoc 3.0 is quite different from nanoc 2.2 in several ways. It is not
backward compatible, which means that it is not possible to compile a nanoc

July 07, 2009
2:44PM EDT
by Denis Defreyne

[
        {
                "truncated"=>false,
                "created_at"=>"Sat Jul 04 12:54:15 +0000 2009",
                "favorited"=>false,

July 07, 2009
7:11AM EDT
by Denis Defreyne

# encoding: utf-8

require 'test/helper'

class Nanoc3::Helpers::BloggingTest < MiniTest::Unit::TestCase

July 05, 2009
8:49AM EDT
by Denis Defreyne

    # Loads this site's rules.
    def load_rules
      # FIXME perhaps not the best approach

      # Get rules

July 05, 2009
8:15AM EDT
by Denis Defreyne

    # Loads this site's rules.
    def load_rules
      # Get rules
      data_sources.each do |data_source|
        begin

July 04, 2009
2:13PM EDT
by Denis Defreyne

data_sources:
  - type: filesystem
    root: '/'
  - type: twitter
    root: '/people/ddfreyne/tweets'

July 04, 2009
2:11PM EDT
by Denis Defreyne

<p>chucker's recent tweets:</p>

<% @items.select { |i| i.identifier =~ %r{/people/chucker/tweets} }.each do |tweet| %>
        <div style="padding:10px;margin:10px;background:#ccc">
                <%=h tweet.content %>

July 04, 2009
12:49PM EDT
by Denis Defreyne

data_sources:
  - type: filesystem
    root: '/'
  - type: twitter
    root: '/people/ddfreyne/tweets'

June 28, 2009
5:25PM EDT
by Denis Defreyne

#import <Alpaca/Model/ALMap_TerrainGeneration.h>

@implementation ALMap (TerrainGeneration)

- (void)equalizeHeightmap:(double **)aHeightmap

June 25, 2009
9:46AM EDT
by Denis Defreyne

▸ cat content/aaa/aaa.html
The title of the home page is <%= @items.find { |i| i.identifier == '/' }[:title] %>.

▸ nanoc3 co -V
Compiling site...

Next page

Previous page