December 2010 archive

Linux gzip and gunzip commands

gzip: gzip compresses files in linux and unix. If given a file as an argument, gzip compresses the file, adds a “.gz” suffix, and deletes the original file. With no arguments, gzip compresses the standard input and writes the compressed file to standard output( use “>” to redirect to a file). Examples:Compress the file named …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/linux-gzip-and-gunzip-commands/

Passing Parameters to Crystal Report in .Net

Now we are going to see, how we can show report by passing parameters or values. For example, Let us see how to retrieve details of an employee by means of Empid. First Step Create a table like the below structure. Eg: Column name Datatype Name varchar(50) Empid varchar(20) Gender char(10) Designation varchar(30) Second Step …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/passing-parameters-to-crystal-report-in-net/

Java Design Pattern

Design Patterns are recurring solutions to design problems. The 23 design patterns included in Design Patterns all had several known applications and were on a middle level of generality, where they could easily cross application areas and encompass several objects. These patterns are divided into 3 types. Creational Patterns: create objects for you, rather than …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/java-design-pattern/

Who Uses XML?

Introduction XML (eXtensible Markup Language) is self-describing. XML tags act as metadata, describing each element. The main purpose is for information exchange between organizations, applications, services, processes, etc. Who Uses XML? Financial FIXML Financial Information eXchange Protocol http://www.fixprotocol.org FPML Financial Product ML http://www.fpml.org FUNDSML Funds Markup Language http://www.funds-xml.org XBRL eXtensible Business Markup Language http://www.xbrl.org Publication …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/who-uses-xml/

Aptitude question for maths

Six bells commence tolling together and toll at intervals 2,4,6,8,10 and 12 seconds respectively. In 30 minutes how many times they toll together. a) 4 b) 10 c) 15 d) 16 Solution: L.C.M. of 2,4,6,8,10,12 = 120 So they toll together after every 120 seconds i.e. 2 minutes. So in 30 minutes they toll together …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/aptitude-question-for-maths/

Quoting HTML attribute values

The values of attributes can contain text, hexadecimal color codes or numbers. In case of JavaScript event handlers, the values consist of small JavaScript code. A sincere advice for good and clean HTML coding is to always put quotes around attribute values. It is a good habit, will save you many headaches and avoid errors …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/quoting-html-attribute-values/

HTML mailto attribute

The HTML mailto is a quick way to add the facility of receiving feedback from visitor on the web site. when the visitor clicked the HTML mailto, It lanuches their email program with new email window. Note: HTML mailto assumes that the visitor has configured an email client (Outlook Express, Netscape Messenger, Thunderbird or any …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/html-mailto-attribute/