Showing latest added snippets.

XHTML 1.0 Transitional - Snippet icon XHTML 1.0 Transitional
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>untitled</title>
  7. </head>
  8.  
  9. </body>
  10. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: Galactic
C Starter - Snippet icon C Starter
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. printf("Hello World");
  5. return 0;
  6. }
See the complete snippet
Language: C
Tags:
Submitted By: Galactic
HTML 4.01 Transitional - Snippet icon HTML 4.01 Transitional
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html lang="en">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>untitled</title>
  6. </head>
  7.  
  8. </body>
  9. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: Galactic
Adidas Tasche - Snippet icon Adidas Tasche
  1. <script language='javascript' src='http://asp.zoomoviewer.com/html/static/js/zoomo07.js'></script>
  2. <script language='javascript'>
  3.  
  4. zv = new ZoomoViewer();
  5. // Mandanten-Id
  6. zv.serverName = "http://asp.zoomoviewer.com";
  7. zv.clientID = 32086;
  8. zv.width = 450;
  9. zv.height = 500;
  10. // Name des Skins
  11. zv.addPlugIn("gui_default");
  12. // Bildname;
  13. zv.addImage("adidas_tasche");
  14. /////////////// watermark /////////////
See the complete snippet
Language: HTML
Tags:
Submitted By: michel.sperlich
Transform a JDBC Type CLOB into String - Snippet icon Transform a JDBC Type CLOB into String
  1. public static String ClobToString(CLOB cl) throws IOException, SQLException
  2. {
  3. if (cl == null)
  4. return "";
  5.  
  6. StringBuffer strOut = new StringBuffer();
  7. String aux;
  8.  
  9. // We access to stream, as this way we don't have to use the CLOB.length() which is slower...
  10. BufferedReader br = new BufferedReader(cl.getCharacterStream());
  11.  
  12. while ((aux=br.r
See the complete snippet
Language: Other
Tags:
Submitted By: rlhatcher
Registration UH Username - Snippet icon Registration UH Username
  1. <?php
  2.  
  3. if (!isset($_POST['submit'])) {
  4.  
  5. echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
  6.  
  7. <html>
  8. <head>
  9. <title>UH Username Request Form</title>
  10.  
  11. <BODY>
  12. <div class=\"title\">
  13. University of Hawai'i Information Technology Services <BR>
  14. Department UH Username Request Form<BR><BR>
  15. </div>
  16.  
  17. <form action=\"/registration.php\" method = \"POST\">
  18.  
  19. <LABEL for=\"Name\">Name: </LABEL>
  20. <I
See the complete snippet
Language: PHP
Tags:
Submitted By: Bassglider
HTML 4.01 Transitional - Snippet icon HTML 4.01 Transitional
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html lang="en">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>untitled</title>
  6. </head>
  7.  
  8. </body>
  9. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: praveen
MySQL Starter - Snippet icon MySQL Starter
  1. sudo /usr/LOCAL/mysql/bin/safe_mysqld –USER=mysql
See the complete snippet
Language: SQL
Tags:
Submitted By: praveen
Java Starter - Snippet icon Java Starter
  1. class HelloWorld {
  2. public static void main(String args[]) {
  3. System.out.print("Hello World");
  4. }
  5. }
See the complete snippet
Language: Java
Tags:
Submitted By: praveen
C Starter - Snippet icon C Starter
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. printf("Hello World");
  5. return 0;
  6. }
See the complete snippet
Language: C
Tags:
Submitted By: praveen
HTML 4.01 Strict - Snippet icon HTML 4.01 Strict
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html lang="en">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>untitled</title>
  6. </head>
  7.  
  8. </body>
  9. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: praveen
Objective-C Starter - Snippet icon Objective-C Starter
  1. #import <Foundation/Foundation.h>
  2.  
  3. int main (int argc, const char * argv[]) {
  4. NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
  5.  
  6. NSLog(@"Hello World");
  7. [pool release];
  8. return 0;
  9. }
See the complete snippet
Language: Objective-C
Tags:
Submitted By: praveen
PHP Starter - Snippet icon PHP Starter
  1. <?php
  2. print "Hello World";
  3. ?>
See the complete snippet
Language: PHP
Tags:
Submitted By: praveen
XHTML 1.0 Transitional - Snippet icon XHTML 1.0 Transitional
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>untitled</title>
  7. </head>
  8.  
  9. </body>
  10. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: praveen
XHTML 1.0 Strict - Snippet icon XHTML 1.0 Strict
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>untitled</title>
  7. </head>
  8.  
  9. </body>
  10. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: praveen
DerbyCar - Snippet icon DerbyCar
  1.  
  2. I can show you the ideas and problems more in detail after class or before, or later online.
  3.  
  4.  
  5. // Your second constructor
  6. public DerbyCar(String DriverName, double Value) {
  7. this (DriverName, "Car 10", Value); // Your idea is you want this.description, more on that below
  8. }
  9.  
  10. Since there are overloaded constructors you need to have two constructors (which you do). The idea
  11. behind overloaded co
See the complete snippet
Language: Java
Tags:
Submitted By: Bassglider
Tibco constructors - Snippet icon Tibco constructors
  1. TibrvListener(
  2. TibrvQueue queue,
  3. TibrvMsgCallback callback,
  4. TibrvTransport transport,
  5. java.lang.String subject,
  6. java.lang.Object closure)
  7. throws TibrvException
  8.  
  9.  
  10. TibrvCmListener(
  11. TibrvQueue queue,
  12. TibrvMsgCallback callback,
  13. TibrvCmTransport cmTransport,
  14. java.lang.String subject,
  15. java.lang.Object closure)
  16. throws TibrvException
  17.  
  18. void onMsg(
  19. TibrvListener listener,
  20. TibrvMsg msg)
See the complete snippet
Language: Other
Tags:
Submitted By: rlhatcher
String getPassword Accessor Method - Snippet icon String getPassword Accessor Method
  1. public String getPassword() {
  2. if (this.password.length() == 0) {
  3. for (int x = 1; x < 8; x ) {
  4. int random = (int) (Math.random() * (10 26 26));
  5. if (random < 10) { //add a digit
  6. password = random;
  7. } else if (random < 36) { //add an uppercase letter
  8. password = (char) ('A' (random - 10));
  9. } else { //add lowercase
  10. password = (char) ('a' (random - 36));
  11. }
  12. }
See the complete snippet
Language: Java
Tags:
Submitted By: Bassglider
Boolean isLetterOrDigit Method - Snippet icon Boolean isLetterOrDigit Method
  1. public boolean setPassword(String newPassword) {
  2. this.password = newPassword;
  3. for (int i=0; i < this.password.length(); i ) {
  4. if (!Character.isLetterOrDigit(this.password.charAt(i))) {
  5. return false;
  6. }
  7. } return true;
  8. }
See the complete snippet
Language: Java
Tags:
Submitted By: Bassglider
skEdit Header Image

Get skEdit the easy to use web/html editor

skEdit is a full featured html & web editor it is easy to use and it helps you create your next website quickly and easily.

  • PHP, SQL, Ruby, and more
  • FTP/SFTP/WebDav Support
  • Code Completion
  • Live Preview
  • Snippets & Scripts
  • Subversion integration
And many more features....

Find out more » Download skEdit 4.1.8

Web Analytics