http://www.datypic.com/books/defxmlschema/chapter13.html
http://www.w3schools.com/schema/schema_simple.asp
Wednesday, July 22, 2009
Tuesday, July 21, 2009
Blog Recommendation
java exception handling
- http://tutorials.jenkov.com/
- http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-exception.html?page=5
static Intialiser
- http://www.developer.com/java/other/article.php/2238491
- http://java.sun.com/docs/books/tutorial/java/javaOO/initial.html
- http://tutorials.jenkov.com/
- http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-exception.html?page=5
static Intialiser
- http://www.developer.com/java/other/article.php/2238491
- http://java.sun.com/docs/books/tutorial/java/javaOO/initial.html
Wednesday, July 15, 2009
Netbeans UTF 8 encoding
/etc folder of netbeans directory, called netbeans.conf
-J-Dfile.encoding=UTF-8
-J-Dfile.encoding=UTF-8
Wednesday, June 3, 2009
Java Jar files
jar cvf app.jar MyApp.class
execute jar files
java -jar app.jar
java -classpath app.jar foo.Main
Thursday, May 28, 2009
bouncycastle
Bouncycastle supported Encodings and Algorithm
http://www.bouncycastle.org/specifications.html
http://www.bouncycastle.org/specifications.html
fedora last reboot, poweroff
who command
You need to use who command, to print who is logged on. It also displays the time of last system boot. Use last command to display system reboot and shutdown date and time.
$ who –b
Output:system boot Apr 30 15:08
Use last command to display listing of last logged in users and system last reboot time and date:
$ last reboot lessOr better try:$ last reboot head -1
Output:reboot system boot 2.6.15.4 Sun Apr 30 15:08 - 16:22 (01:13)
last command searches back through the file /var/log/wtmp and displays a list of all users logged in (and out) since that file was created. The pseudo user reboot logs in each time the system is rebooted. Thus last reboot command will show a log of all reboots since the log file was created.
To display last shutdown date and time use following command:
$ last -x grep down
$ last -xgrep shutdown head -1
Output:shutdown system down 2.6.15.4 Sun Apr 30 13:31 - 15:08 (01:37)
Where,
-x: Display the system shutdown entries and run level changes.
You need to use who command, to print who is logged on. It also displays the time of last system boot. Use last command to display system reboot and shutdown date and time.
$ who –b
Output:system boot Apr 30 15:08
Use last command to display listing of last logged in users and system last reboot time and date:
$ last reboot lessOr better try:$ last reboot head -1
Output:reboot system boot 2.6.15.4 Sun Apr 30 15:08 - 16:22 (01:13)
last command searches back through the file /var/log/wtmp and displays a list of all users logged in (and out) since that file was created. The pseudo user reboot logs in each time the system is rebooted. Thus last reboot command will show a log of all reboots since the log file was created.
To display last shutdown date and time use following command:
$ last -x grep down
$ last -xgrep shutdown head -1
Output:shutdown system down 2.6.15.4 Sun Apr 30 13:31 - 15:08 (01:37)
Where,
-x: Display the system shutdown entries and run level changes.
fedora logs
Fedora's /etc/syslog.conf follows a standard logic:
mail logs are stored in /var/log/maillog,
system's logs are in /var/log/messages,
cron jobs activities are in /var/log/cron,
authentication data are in /var/log/secure.
mail logs are stored in /var/log/maillog,
system's logs are in /var/log/messages,
cron jobs activities are in /var/log/cron,
authentication data are in /var/log/secure.
Subscribe to:
Posts (Atom)