- http://java.sun.com/docs/books/tutorial/2d/basic2d/index.html
- http://www.realapplets.com/tutorial/DrawExample.html
- http://java.sun.com/docs/books/tutorial/2d/basic2d/index.html
image processing
mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.22.32
Type 'help' for help.
mysql>
create database employees;
GRANT ALL ON employees.* TO manish@localhost IDENTIFIED BY "eagle"
mysql -u user_name -p
[manish@localhost manish]$ mysql -u manish -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 3.22.32
Type 'help' for help.
mysql>
mysql> SHOW DATABASES;
+----------------+
| Database |
+----------------+
| employees |
| mysql |
| test |
+----------------+
3 rows in set (0.00 sec)
SELECT *
FROM sys.tables
SELECT *
FROM sysobjects
WHERE xtype = 'U'
SELECT *
FROM all_tables;
SELECT *
FROM all_objects
WHERE object_type = 'TABLE';
Below is some javascript code that will automatically expand the iframes that we currently use to embed forms.
(1) Paste The blow to the head
<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;
//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>(2)Paste the code below to the body and replace "your page here" with your url
<iframe width="100%" id="the_iframe"
onLoad="calcHeight();"
src="your page here"
scrolling="NO"
frameborder="0"
height="1">
An iframe capable browser is
required to view this web site.
</iframe>