Skip to content

Instantly share code, notes, and snippets.

View patrickdet's full-sized avatar

Patrick Detlefsen patrickdet

View GitHub Profile
Processing CommentsController#create (for 85.177.137.90 at 2009-02-24 22:13:48) [POST]
Session ID:
Parameters: {"comment"=>{"filter_id"=>"Textile", "author"=>"patrick Detlefsen", "content"=>"hello world comment", "author_email"=>"", "author_url"=>""}, "submit"=>"Save Comment", "url"=>["articles"], "action"=>"create", "controller"=>"comments"}
Redirected to http://patrickdetlefsen.com/articles/comments#comment-1
Completed in 3.47220 (0 reqs/sec) | DB: 0.06800 (1%) | 302 Found [http://patrickdetlefsen.com/articles/comments]
Processing CommentsController#index (for 85.177.137.90 at 2009-02-24 22:13:52) [GET]
Session ID:
@patrickdet
patrickdet / container.scm
Created September 8, 2008 20:42
undefined
(define
(container-ok? maxvolumen container)
(= (apply + container) maxvolumen))
(define
(container-zu-voll? maxvolumen container)
(> (apply + container) maxvolumen))
(define
(packecontainer stueckgutliste maxvolumen1 container1)
require 'gistit'
gist = Gistit.new
gist.paste("puts 'hello world!'") # => 12345
gist.delete 12345 # => true