Social Software
List of Social Softwareshttp://en.wikipedia.org/wiki/List_of_social_software
View ArticleDOM @ XML
The XML Document Object Model (XML DOM) defines a standard way for accessing and manipulating XML documents.The DOM presents an XML document as a tree-structure (a node tree), with the elements,...
View ArticleDelete vs Truncate @ SQL
SQL Server TRUNCATE is a DDL command and cannot be rolled back. All of the memory space is released back to the server. DELETE is a DML command and can be rolled back. Both commands accomplish...
View Articlerails
A Rails scaffold is an autogenerated framework for manipulating a model.When we run the generator, we tell it that we want a scaffold for a particularmodel (which it creates) and that we want to access...
View ArticleMore Rails
Class names are mixed case (each wordstarts with a capital letter, and there are no breaks). Table names (and, aswe’ll see later, variable names and symbols) are lowercase, with an underscorebetween...
View Articlestill more rails
URL routingAn incoming URL always maps to some action within a controller. A controller is simply a Ruby class, and each action implemented by the controller is a public method within the controller...
View ArticleMetaprogramming @ Ruby
Metaprogramming is the writing of programs that write or manipulate other programs (or themselves) as their data or that do part of the work that is otherwise done at run time during compile time. In...
View ArticleActionScript
Some of the differences between ActionScript and JavaScript are as follows:• ActionScript does not support browser-specific objects such as Document, Window,and Anchor.• ActionScript does not...
View ArticleUbiquitous Ubuntu
gconf-editorinstalling make commandhttp://www.linuxforums.org/forum/ubuntu-help/66650-installing-make-command-offline.html
View ArticleFile Handling @ Python
A file object maintains state about the file it has open. The tell method of a file object tells you your current position in the open file. Since you haven't done anything with this file yet, the...
View ArticleLoops @ Ruby
n.times {|i| puts i}Well, the method Integer#times iterate self times (n in this) and for each iteration calls the block, gives it the current value।something do |line| #process something and line...
View Articlecopying data from one table to another @ mysql
insert into tbl (field1,field2) select field1,field2 from users
View ArticleCounting number of lines in a file @ python
f = open(filename)lines = f.readlines()f.close()print "%s has %d lines." % (filename, len(lines))
View ArticleCommands @ FreeBSD
Delete all contents of a directoryrm -f *Download a file from a URLwget URLDelete a directoryrm -r dirnameDelete a filerm -f filenameList Processesps axKilling a processKill -9 PIDFinding a filefind...
View ArticleMore Commands @ FreeBSD
Clearing the Terminal:ClearAdding a User:adduser [-u uid [-o]] [-g group] [-G group,...][-d home] [-s shell] [-c comment] [-m [-k template]][-f inactive] [-e expire mm/dd/yy] [-p passwd] [-n] [-r]...
View ArticleDjango Stuff - 1
Projects vs. appsWhat’s the difference between a project and an app? An app is a Web application that does something — e.g., a weblog system, a database of public records or a simple poll app. A...
View Articlerender_to_response()
render_to_response()Because it’s such a common idiom to load a template, fill a Context and return an HttpResponse object with the result of therendered template, Django provides a shortcut that lets...
View ArticleDjango Forms
Start with this basic Form subclass, which we’ll call ContactForm:from django import newforms as formsclass ContactForm(forms.Form): subject = forms.CharField(max_length=100) message =...
View Article
More Pages to Explore .....