Skip to main content

Posts

Open Babel command line options

Open Babel command line options are as follows. Open Babel converts chemical structures from one file format to another Usage: babel <input> <output> [Options] Each spec can be a file whose extension decides the format. Optionally the format can be specified by preceding the file by -i<format-type>&e.g. -icml, for input and -o<format-type> for output See below for available format-types, which are the same as the file extensions and are case independent. If no input or output file is given stdin or stdout are used instead. More than one input file can be specified and their names can contain wildcard chars (* and ?).The molecules are aggregated in the output file. Conversion options -f <#> Start import at molecule # specified -l <#> End import at molecule # specified -e Continue with next object after error, if possible -z Compress the output with gzip -k Attempt to translate keywords -H Outputs this help text -Hxxx (xxx is file format ID e.g. -H

Random Layer using javascript

Display random layer/div in javascript <HTML> <Head> <Script Language="javascript"> //global var var last_index=0; box_len=5; function ret_index() { var ran; do{ ran=Math.floor(Math.random()*box_len); if(ran==0)ran=box_len; }while(ran==last_index); last_index=ran; return ran; } function show_one(){ vBox=ret_index(); for(var i=1;i<=box_len;i++){ if(vBox!=i){ obj=document.getElementById("box_0"+i); obj.style.display="none"; }else{ obj=document.getElementById("box_0"+i); obj.style.display="inline"; } } } </Script> <Body> <a href="javascript:show_one();">show One</a> <div id='box_01' style="position:absolute;left:120;width:100;height:100;border:1px solid red;text-align:center"> <br>Box1 </div> <div id='box_02' style="position:absolute;left:240;width:100;height:100;border:1px solid red;text-align:center"> <br>Box2 </div

Dynamic ArrayCollection Using Flex

Creating Dynamic Array Collection Using Flex. var ob:Object; var n:String = "Name"; var a:String = "Address"; var ar:ArrayCollection = ""; ob = new Object(); ob[n] = "Ar"; ob[a] = "xyz, UK"; ar = new ArrayCollection(); ar.addItem(ob); ArrayCollection filterfunction

HTML Meta Tags

The Meta tags are not compulsory tags for HTML or web pages. Meta tags provide information of web page to the search engines. If you put Meta tags in your web page it should be more briefly, these meta tags is used by search engines to index your web pages into their server. If you put brief & more specific meta tags then search engines put your web pages into accurate indexes. Basic Meta tags are Keywords & Description that content length should be less than & equal to near about 255 characters. Keywords Meta tag is used to define keywords of web page. <meta name="Keywords" content="HTML,PHP,ASP"> Description Meta tag is to used define description of web page. <meta name="Description" content="IT Help Desk"> Revised Meta tag is used to define last update of web page <meta name="revised" content="01/11/08" /> Refresh Meta tag used to update web page every 10 seconds. <meta http-equiv="refr

Microsoft SharePoint

Microsoft SharePoint is product of Microsoft. It's browser based document Management System. You can handle many task in SharePoint such as task list or Discussion pane, Web Parts, Meetings Alert etc. SharedPoint allow users to access SharePoint workspace using web Services. Web Service for Administrative methods such as creating and deleting sites http://server:5966/_vti_adm/Admin.asmx Web Service for working with alerts http://server/_vti_bin/Alerts.asmx Web Service for retrieving schemas and data http://server/_vti_bin/DspSts.asmx Web Service for working with Document Workspaces http://server/_vti_bin/DWS.asmx Web Service for working with user interface forms http://server/_vti_bin/Forms.asmx Web Service for working with picture libraries http://server/_vti_bin/Imaging.asmx Web Service for working with lists. http://server/_vti_bin/Lists.asmx Web Service for working with Meeting Workspaces http://server/_vti_bin/Meetings.asmx Web Service for working with SharePoint Services secu

MYSQL Interview Questions

How can swap same feilds data using Mysql ? Table Name Color ID | Color -------------------- 1 Black 2 Whilte 3 Whilte 4 Black We can swap feilds data using following query. update `test` as i , test as c set i.color='black',c.color = 'white' where i.color='white' and c.color='black' What is MYSQL ? MySQL is an open source relational database management system (RDBMS) which uses Structured Query Language (SQL). MYSQL is the most popular language that is available for both Linux and Windows operating system.

MYSQL Interview Questions

How can swap same feilds data using Mysql ? Table Name Color ID | Color -------------------- 1 Black 2 Whilte 3 Whilte 4 Black We can swap feilds data using following query. update `test` as i , test as c set i.color='black',c.color = 'white' where i.color='white' and c.color='black' What is MYSQL ? MySQL is an open source relational database management system (RDBMS) which uses Structured Query Language (SQL). MYSQL is the most popular language that is available for both Linux and Windows operating system.