This file contains 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> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function ajaxCall(url, parameters, successCallback) { | |
$.ajax({ | |
type: 'POST', | |
datatype: 'json', | |
url: url, |
This file contains 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 | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); | |
include_once('includeDataphone.php'); | |
mysql_set_charset("utf8"); | |
$phone=$_POST['numero']; | |
$qry_fecha = "SELECT now() as fechaHoy,fechaExp FROM android WHERE phone='$phone'"; | |
$qry_exe=mysql_query($qry_fecha) or die( mysql_error()); |
This file contains 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> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function ajaxCall(url, parameters, successCallback) { | |
$.ajax({ | |
type: 'POST', | |
datatype: 'json', | |
url: url, |
This file contains 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
function openStore(obj, id, choice){ | |
for(i=0;i<obj.length;i++){ | |
if(obj[i].id===id){ | |
localStorage.setItem('storesObject', JSON.stringify(obj[i])); | |
} | |
} | |
switch (choice) { | |
case "desc": | |
storeDescPage(); | |
break; |
This file contains 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
var db; | |
function initializeDB() { | |
if (window.indexedDB) { | |
console.log("IndexedDB support is there"); | |
} | |
else { | |
alert("Indexed DB is not supported. Where are you trying to run this ? "); | |
} | |
This file contains 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
function browser(){ | |
if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion > 9){ | |
//acción para navegadores superiores a IE9 | |
}else { | |
//acción para navegadores inferiores a IE9 | |
alert("Lo sentimos tienes una version de tu navegador desactualizada"); | |
} | |
} |
This file contains 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> | |
<body> | |
<p id="out"></p> | |
<button onclick="geoFind()">¿Donde estoy?</button> | |
<div id="mapa"></div> |
This file contains 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
// Eduardo Valencia | |
// Script para leer y guardar temperatura utilizando un LM35 | |
#include <SPI.h> | |
#include <SD.h> | |
//Objeto de tipo archivo | |
File SDFile; | |
// Declaracion de variables para los sensores | |
float tempC; | |
float tempA; |
This file contains 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
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-72197478-1', 'auto'); | |
ga('send', 'pageview'); | |
</script> |
This file contains 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
fn main() { | |
println!("Hola, Mozilleros de EL salvador!!"); | |
} |
OlderNewer