|
1
on: August 31, 2010, 07:22:40 AM
|
|
Started by Disapamok - Last post by Disapamok
|
AJAX and Java ScriptAjax means Asynchronous JavaScript and XML. Ajax is most popular in now a days because instant page updating can be done in Ajax without refreshing the whole page. Ajax is not a new technology and its only collecting of initial technology levels. Here is some example of AJAX ------------------->>>>>>>> <html> <body>
<script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser broke!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('ajaxDiv'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } var age = document.getElementById('age').value; var wpm = document.getElementById('wpm').value; var sex = document.getElementById('sex').value; var queryString = "?age=" + age + "&wpm=" + wpm + "&sex=" + sex; ajaxRequest.open("GET", "ajax-example.php" + queryString, true); ajaxRequest.send(null); }
//--> </script>
<form name='myForm'> Max Age: <input type='text' id='age' /> <br /> Max WPM: <input type='text' id='wpm' /> <br /> Sex: <select id='sex'> <option value='m'>m</option> <option value='f'>f</option> </select> <input type='button' onclick='ajaxFunction()' value='Query MySQL' /> </form> <div id='ajaxDiv'>Your result will display here</div> </body> </html>
|
|
|
2
on: July 06, 2010, 01:20:42 AM
|
|
Started by guruthuma - Last post by guruthuma
|
|
Photoshop Keyboard Shortcuts
|
|
|
3
on: July 06, 2010, 01:20:02 AM
|
|
Started by guruthuma - Last post by guruthuma
|
|
Shft-press shortcut key (if Use Shft Key for Tool Switch preference is selected) Cycle through tools with the same shortcut key + – Alt-click + tool Cycle through hidden tools (except add anchor point, delete anchor point, and convert point tools) + – V Move tool + – M Rectangular Marquee tool, EllipticalMarquee tool + – L Lasso tool, Polygonal Lasso tool, MagneticLasso tool + – W Magic Wand tool,Quick Selection tool + – C Crop tool + – K Slice tool, Slice Select tool + – J Spot Healing Brush tool, Healing Brushtool, Patch tool, Red Eye tool + – B Brush tool, Pencil tool, ColorReplacement tool + – S Clone Stamp tool, Pattern Stamp tool + – Y History Brush tool, Art History Brushtool + – E Eraser tool, BackgroundEraser tool, Magic Eraser tool (in Photoshop) + – G Gradient tool, Paint Bucket tool + – R Blur tool, Sharpen tool, Smudgetool + – O Dodge tool, Burn tool, Spongetool + – P Pen tool, Freeform Pen tool + – T Horizontal Type tool, Vertical Typetool , Horizontal Type mask tool, Vertical Type mask tool + –
|
|
|
4
on: July 06, 2010, 01:19:24 AM
|
|
Started by guruthuma - Last post by guruthuma
|
|
Keys for working with DICOM files (Photoshop Extended) Adobe Photoshop CS3 Z Zoom tool + – H Hand tool + – W Window Level tool + – Ctrl + A Select all frames + – Ctrl + D Deselect all frames + – Right Arrow/Left Arrow Navigate through frames (Photoshop extended) + – Function keys Adobe Photoshop CS3 F1 Invoke Help + – F2 Cut + – F3 Copy + – F4 Paste + – F5 Show/Hide Brushes palette in Photoshop + – F6 Show/Hide Color palette + – F7 Show/Hide Layers palette + – F8 Show/Hide Info palette in Photoshop + – F9 Show/Hide Actions palette + – F12 Revert + – Shft + F5 Fill + – Shft + F6 Feather Selection + – Shft + F7 Inverse Selection + –
|
|
|
6
on: June 15, 2010, 01:56:06 AM
|
|
Started by Disapamok - Last post by Disapamok
|
|
Project management is the discipline of planning, organizing, and managing resources to bring about the successful completion of specific project goals and objectives. It is sometimes conflated with program management, however technically a program is actually a higher level construct: a group of related and somehow interdependent projects. A project is a temporary endeavor, having a defined beginning and end (usually constrained by date, but can be by funding or deliverables[1]), undertaken to meet unique goals and objectives[2], usually to bring about beneficial change or added value. The temporary nature of projects stands in contrast to business as usual (or operations)[3], which are repetitive, permanent or semi-permanent functional work to produce products or services. In practice, the management of these two systems is often found to be quite different, and as such requires the development of distinct technical skills and the adoption of separate management. The primary challenge of project management is to achieve all of the project goals[4] and objectives while honoring the preconceived project constraints.[5] Typical constraints are scope, time, and budget.[1] The secondary—and more ambitious—challenge is to optimize the allocation and integration of inputs necessary to meet pre-defined objectives.
|
|
|
7
on: June 15, 2010, 01:54:08 AM
|
|
Started by Disapamok - Last post by Disapamok
|
|
Constants of C
\n newline'' character \b backspace \r carriage return (without a line feed) \' single quote (e.g. in a character constant) \" double quote (e.g. in a string constant) \\ single backslash
Variable Declaration in C
DeclarationsInformally, a variable is a place you can store a value. So that you can refer to it unambiguously, avariable needs a name. A declaration tells the compiler the name and type of a variable you'll beusing in your program. In its simplest form, a declaration consists of the type, the name of thevariable, and a terminating semicolon. Here are some sample declarations.char c;int i;float f;You can also declare several variables of the same type in one declaration as shown below. In such cases the variable names are separated with commas.int i1, i2;A declaration for a variable can also contain an initial value. This initializer consists of an equals sign and an expression, which is usually a single constant.int i = 1;int i1 = 10, i2 = 20;
|
|
|
8
on: June 15, 2010, 01:48:44 AM
|
|
Started by Disapamok - Last post by Disapamok
|
How to Start C program, main() { printf( ``I Like C n'' ); exit ( 0 ); }
Main source and running program is implementing inside of the main() function. C program consist several Parts - Header Section
- Variable Declaration
- Main function : main()
- Other functions
C is a relatively small language. A real advantage of C is there is less to learn. A disadvantage is that it doesn't do everything for you. There's a lot you have to do yourself. C is sometimes referred to as a high-level assembly language. If you write a C program simply and succinctly, it is likely to result in a succinct, efficient machine language executable. If you find that the executable program resulting from a C program is not efficient, it's probably because of something silly you did, not because of something the compiler did behind your back which you have no control over. Data Types In CThere are only a few basic data types in C. · char - a character · int - an integer, in the range -32,767 to 32,767 · long int - a larger integer (up to +-2,147,483,647) · float - a floating-point number · double - a floating-point number, with more precision and perhaps greater range than float
|
|
|
10
on: May 25, 2010, 05:46:16 AM
|
|
Started by guruthuma - Last post by guruthuma
|
Linux Hard Disk FormatStep #1 : Partition the new disk using fdisk command # fdisk -l | grep '^Disk' Output Disk /dev/sda: 251.0 GB, 251000193024 bytes Disk /dev/sdb: 251.0 GB, 251000193024 bytes
# fdisk /dev/sdb Step#2 : Format the new disk using mkfs.ext3 command # mkfs.ext3 /dev/sdb1 Step#3 : Mount the new disk using mount command # mkdir /disk1 # mount /dev/sdb1 /disk1 # df -H Step#4 : Update /etc/fstab file # vi /etc/fstab /dev/sdb1 /disk1 ext3 defaults 1 2 Task: Label the partition # e2label /dev/sdb1 /backup
LABEL=/backup /disk1 ext3 defaults 1 2
|
|
|