Skip to content

Instantly share code, notes, and snippets.

#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal
Mon Oct 19 02:25:17 PDT 2009
Mon Oct 19 02:22:46 PDT 2009
== Welcome to Rails
Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Control pattern.
This pattern splits the view (also called the presentation) into "dumb" templates
that are primarily responsible for inserting pre-built data in between HTML tags.
The model contains the "smart" domain objects (such as Account, Product, Person,
Post) that holds all the business logic and knows how to persist themselves to
a database. The controller handles the incoming requests (such as Save New Account,
Welcome to the Puffin Testing Framework. This extensible (and open source!)
functional/regression testing system allows you to test any web application
as though it were a black box.
Written completely in Python, you have but to configure it to your web
application, write your test plans and go, go, go.
NOTE: When you download Puffin, it comes pre-configured to go against the
demo application. To use it for your own web applications, you need to
customize it completely to your application before you can use it to test
Welcome to the Puffin Testing Framework. This extensible (and open source!)
functional/regression testing system allows you to test any web application
as though it were a black box.
Written completely in Python, you have but to configure it to your web
application, write your test plans and go, go, go.
NOTE: When you download Puffin, it comes pre-configured to go against the
demo application. To use it for your own web applications, you need to
customize it completely to your application before you can use it to test
Welcome to the Puffin Testing Framework. This extensible (and open source!)
functional/regression testing system allows you to test any web application
as though it were a black box.
Written completely in Python, you have but to configure it to your web
application, write your test plans and go, go, go.
NOTE: When you download Puffin, it comes pre-configured to go against the
demo application. To use it for your own web applications, you need to
customize it completely to your application before you can use it to test
Welcome to the Puffin Testing Framework. This extensible (and open source!)
functional/regression testing system allows you to test any web application
as though it were a black box.
Written completely in Python, you have but to configure it to your web
application, write your test plans and go, go, go.
NOTE: When you download Puffin, it comes pre-configured to go against the
demo application. To use it for your own web applications, you need to
customize it completely to your application before you can use it to test