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 lang="es"> | |
<head> | |
<title>File HTML5</title> | |
<meta charset=utf-8> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> | |
<style type="text/css"> | |
#contenedor { | |
width: 360px; | |
} |
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 lang="es"> | |
<head> | |
<title>Agenda de Contactos en LocalStorage</title> | |
<meta charset=utf-8> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> | |
<style> | |
#contenedor { | |
width: 360px; | |
} |
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 lang="es"> | |
<head> | |
<title>Demo: Geolocalizaci贸n</title> | |
<meta charset="utf-8" /> | |
<style> | |
#mapa { | |
width: 100%; | |
height: 300px; | |
margin: 0; |
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 lang="es"> | |
<head> | |
<title>Geo_Watch</title> | |
<meta charset=utf-8> | |
<style> | |
#mapa { | |
width: 400px; | |
height: 300px; |
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
// Modo Debug | |
if (debugMode) { | |
console.log("**************"); | |
console.log("Ask($): " + newChange.ask); | |
console.log("Bid($): " + newChange.bid); | |
console.log("Last($): " + newChange.last); | |
console.log("--------------"); | |
console.log("Conversion Rate: "+euroRate); | |
console.log("Currency selected: "+currency); | |
console.log("--------------"); |
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
/* | |
Arranque y control de la repetici贸n | |
*/ | |
// Intervalo que arranca la funcion RunIt, y la repite cada x milisegundos en funcion del valor de "intervalMS". | |
setInterval(runIt, intervalMS); | |
// Funci贸n que controla la ejecucci贸n de todo lo dem谩s | |
function runIt () { |
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
/** | |
* Split a string into chunks of the given size | |
* @param {String} string is the String to split | |
* @param {Number} size is the size you of the cuts | |
* @return {Array} an Array with the strings | |
*/ | |
function splitString (string, size) { | |
var re = new RegExp('.{1,' + size + '}', 'g'); | |
return string.match(re); | |
} |
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
<form action="" method="POST"> | |
<table class="form-table"> | |
<tr> | |
<th scope="row"><?php _e( 'New customer', 'fictizia' ); ?></th> | |
<td> | |
<input type="text" name="cliente" value=""/> | |
</td> | |
</tr> | |
</table> |
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
<?php | |
add_shortcode( 'posts-list', 'ignacio_posts_list_shortcode' ); | |
function ignacio_posts_list_shortcode( $atts ) { | |
$defaults = array( | |
'items' => 3 | |
); | |
$atts = wp_parse_args( $atts, $defaults ); |
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
// Par谩metros del depurador | |
#define DEBUGMODE | |
// ==== EMPIEZA EL SETUP() ==== | |
void setup() { | |
//Activando la comunicaci贸n Serial | |
Serial.begin(9600); |