My Recent Pastes (198 and counting)
Pastes by NoKarma (198 and counting)
Below are the 15 most recent pasties by NoKarma.
July 22, 2008
6:01AM EDT
by NoKarma
View all 60 lines
require File.dirname(__FILE__) + '/../../../spec_helper' require 'net/ftp' require File.dirname(__FILE__) + "/fixtures/server.rb" describe "Net::FTP#abort" do
July 22, 2008
5:48AM EDT
by NoKarma
View all 27 lines
require File.dirname(__FILE__) + '/../../../spec_helper' require 'net/ftp' require File.dirname(__FILE__) + "/fixtures/server.rb" describe "Net::FTP#abort" do
July 22, 2008
5:47AM EDT
by NoKarma
View all 75 lines
class DummyFTP def initialize(port = 9921) @server = TCPServer.new("localhost", port) @commands = [] end
July 22, 2008
5:24AM EDT
by NoKarma
View all 73 lines
require "net/ftp" class DummyFTP def initialize(port = 9921)
July 20, 2008
3:03PM EDT
by NoKarma
View all 41 lines
require File.dirname(__FILE__) + '/../../../spec_helper' require 'net/ftp' describe "Net::FTP#retrlines" do before(:each) do
July 19, 2008
7:30AM EDT
by NoKarma
View all 93 lines
<?php /** * CREATE TABLE "articles" ( * "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, * "user_id" integer DEFAULT NULL NULL,
July 19, 2008
7:11AM EDT
by NoKarma
View all 59 lines
<?php class CreateArticle extends ActiveRecord::Migration { static function up()
July 19, 2008
7:11AM EDT
by NoKarma
View all 79 lines
<?php class CreateArticle extends ActiveRecord::Migration { static function up()
July 19, 2008
7:10AM EDT
by NoKarma
View all 59 lines
<?php class CreateArticle extends ActiveRecord::Migration { static function up()
July 17, 2008
3:12PM EDT
by NoKarma
View all 142 lines
<?php namespace FsckUnit; // represents the 'describe'-part
July 17, 2008
2:21PM EDT
by NoKarma
View all 13 lines
describe('Man', function() { before(function($this) { $this->man = new Man(); $this->man->luck = 5 });
July 16, 2008
5:39PM EDT
by NoKarma
View all 39 lines
class Admin::NewsController < ApplicationController layout "admin" before_filter :admin_required def index
July 16, 2008
5:39PM EDT
by NoKarma
View all 91 lines
<?php class News extends Controller { function News() { parent::Controller(); $this->load->library('session');
July 16, 2008
2:24PM EDT
by NoKarma
View all 15 lines
<? class Example { public $x = 4; function printer () { echo "Hello World: $this->x!\n"; }
July 16, 2008
2:23PM EDT
by NoKarma
View all 8 lines
class Example { static function printer () { echo "Hello World!\n"; } } $class = new ReflectionClass ('Example');
