Friday, 6 July 2007

Good Job Videos

In this site you can find a lot of small videos regarding placement tips

http://www.gethirednow.tv/

CollegeGrad.com - The #1 Entry Level Job Site

This is the great job site which gives so many features including videos.
Please have a look at

http://www.collegegrad.com/

Know the SQL Queries of diiferrent DB Technologies

This is the good website which gives the difference of SQL queries between all available Database Technologies like

SQLite
DB2
MySQL
PostgreSQL
Oracle
SQLserver
Sybase
Mimer
Access


http://sqlzoo.net/howto/source/z.dir/tip241028/i02create.xml

Wednesday, 4 July 2007

Ajax in CherryPy - A simple Example



import cherrypy

_header = """

Define your Validate function in Ajax

"""

class Start(object):
@cherrypy.expose
def index(self):
page=[_header]
page.append("""your Code here to call the function...""")
return page

@cherrypy.expose
def ajax(self,w):
return str(w)


if __name__ == '__main__':
global_conf = {
'global': { 'engine.autoreload.on': True,
'server.socket_host': 'localhost',
'server.socket_port': 8080,
}}
cherrypy.config.update(global_conf)
note_app = Start()
cherrypy.tree.mount(note_app, '/')


cherrypy.server.quickstart()
cherrypy.engine.start()

FireBug

The Firebug extension for Firefox allows the debugging, editing, and modifying of any website's CSS, HTML, DOM, and JavaScript, and provides other web development tools. Download it from the following URL.

https://addons.mozilla.org/en-US/firefox/addon/1843

strace and ltrace

"strace" and "ltrace" are the coolest utilities which will give the the
trace of system calls and library calls (respectively) for any application.
can be very useful while debugging any user application.


To trace the Library calls

# ltrace Application_Name

To trace the System calls

# strace Application_Name

Monday, 2 July 2007

Commands to List the Hardware Information in Linux

dmidcode

lsusb

dmesg

usbview

lshw

lspci

lspcmcia