This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="stylesheet" href="http://cdn.jsdelivr.net/foundation/5.0.2/css/foundation.min.css" /> | |
<script src="http://cdn.jsdelivr.net/foundation/5.0.2/js/modernizr.js"></script> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Ordenar tabla por columnas</title> | |
</head> | |
<BODY style="font-family: Verdana"> | |
<p align="center"><b>Ordenar tabla por columnas</b></center><p> | |
<SCRIPT LANGUAGE="JavaScript"> | |
<!-- Original: Tom Folkes ([email protected]) --> | |
<!-- Begin | |
function dates(datea,dateb){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!--Load the AJAX API--> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
// Load the Visualization API and the piechart package. | |
google.load('visualization', '1.0', {'packages':['corechart']}); | |
// Set a callback to run when the Google Visualization API is loaded. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta content="IE=edge" http-equiv="X-UA-Compatible" /> | |
<meta charset="utf-8" /> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> | |
<link href="http://cdn.jsdelivr.net/foundation/5.0.2/css/foundation.min.css" rel="stylesheet" /> | |
<h3>Post y Caracteres</h3> | |
<div><label for="textPost">Post:</label> <input id="textPost" type="text" value="Escribe aqui" /><br /> | |
<label for="textCaracter">Caracter</label> <input id="textCaracter" type="text" value="Ingresa Caracteres" /></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A download manager application with a simple Java GUI | |
*/ | |
// Import the Swing GUI components and a few other classes | |
importPackage(javax.swing); | |
importClass(javax.swing.border.EmptyBorder); | |
importClass(java.awt.event.ActionListener); | |
importClass(java.net.URL); | |
importClass(java.io.FileOutputStream); | |
importClass(java.lang.Thread); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a simple NodeJS HTTP server that can serve files from the current | |
// directory and also implements two special URLs for testing. | |
// Connect to the server at http://localhost:8000 or http://127.0.0.1:8000 | |
// First, load the modules we'll be using | |
var http = require('http'); // HTTP server API | |
var fs = require('fs'); // For working with local files | |
var server = new http.Server(); // Create a new HTTP server | |
server.listen(8000); // Run it on port 8000. | |
// Node uses the "on()" method to register event handlers. | |
// When the server gets a new request, run this function to handle it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// An "httputils" module for Node. | |
// | |
// Make an asynchronous HTTP GET request for the specified URL and pass the | |
// HTTP status, headers and response body to the specified callback function. | |
// Notice how we export this method through the exports object. | |
exports.get = function(url, callback) { | |
// Parse the URL and get the pieces we need from it | |
url = require('url').parse(url); | |
var hostname = url.hostname, port = url.port || 80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
/* CSS styles for this page */ | |
.reveal * { display: none; } /* Children of class="reveal" are not shown */ | |
.reveal *.handle { display: block;} /* Except for the class="handle" child */ | |
</style> | |
<script> | |
// Don't do anything until the entire document has loaded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> <!-- This is an HTML5 file --> | |
<html> <!-- The root element --> | |
<head> <!-- Title, scripts & styles go here --> | |
<title>Digital Clock</title> | |
<script> // A script of js code | |
// Define a function to display the current time | |
function displayTime() { | |
var elt = document.getElementById("clock"); // Find element with id="clock" | |
var now = new Date(); // Get current time | |
elt.innerHTML = now.toLocaleTimeString(); // Make elt display it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="Java jdk Examples" default="compile" basedir="."> | |
<!-- Set global properties for this build --> | |
<property name="src" value="."/> | |
<property name="build" value="build"/> | |
<!-- Specify the compiler to use.Using jikes is supported but requires rt.jar in classpath. --> | |
<property name="build.compiler" value="modern"/> | |
<target name="init"> | |
<!-- Create the time stamp --> | |
<tstamp/> | |
<!-- Create the build directory structure used by compile --> |
OlderNewer