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
<h1>Div refrescado</h1><br> | |
<h2 id="texto123" style="display: none;"> Ahora se muestra </h2><br> | |
<div> | |
<input type="button" value="Mostrar" onClick="mostrar()"> | |
<br> | |
<input type="button" value="Recargar" id="refrescar"> |
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
/*jslint nomen: true, debug: true, evil: true, vars: true, browser: true, | |
devel: true */ | |
/*global */ | |
var CountDown = function(options){ | |
this.button = document.getElementById(options.button); | |
this.counter = document.getElementById(options.counter); | |
this.button.addEventListener('click', this.count_down.bind(this), false); |
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
import os | |
import csv | |
from socios import Socios, SociosIngresados | |
def load_socios(filename, socios): | |
'''carga la lista de socios desde un fichero de extencion csv''' | |
with open(filename, 'rb') as csvfile: |
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> | |
<head> | |
<title>Demo 1 - Menucool Image Slider</title> | |
<link href="themes/1/js-image-slider.css" rel="stylesheet" type="text/css" /> | |
<script src="themes/1/js-image-slider.js" type="text/javascript"></script> | |
<link href="generic.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<div class="div1"><h2>Demo 1 - Menucool Image Slider</h2> |
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
CREATE TABLE tabla_loca( | |
id int PRIMARY KEY AUTO_INCREMENT, | |
a int, | |
b int | |
); | |
INSERT INTO tabla_loca (a, b) VALUES | |
(1, 3), | |
(2, 1), | |
(1, 5), |
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
import os | |
# CAMBIAR CLS POR Cimport os | |
# CAMBIAR CLS POR CLEAR | |
"""agregar, buscar, eliminar, modificar, listar, salir | |
Datos: cedula, nombre, apellido, telefono, correo""" | |
env_msg = { | |
'continue': "Pulse Enter para continuar...", |
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
/*jslint nomen: true, debug: true, evil: true, vars: true, browser: true, | |
devel: true */ | |
/*global _, $ */ | |
var ElementOnView = function(options){ | |
this.options = options; | |
this.items = $(options.item_selector); | |
this.window = $(window); |
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
/*VER SI SE BORRA UN JUGADOR SE TIEN QUE BORRAR | |
LA PARTIDA*/ | |
DROP TABLE IF EXISTS jugador; | |
CREATE TABLE jugador( | |
id int, | |
nick VARCHAR(20), | |
email VARCHAR(20), | |
nombreAPellido VARCHAR(30), |
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
/*jslint nomen: true, debug: true, evil: true, vars: true, browser: true, | |
devel: true */ | |
/*global */ | |
var HeaderSlider = function(){ | |
this.base64EncodeImages(); | |
}; | |
HeaderSlider.prototype = { |
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
/*jslint nomen: true, debug: true, evil: true, vars: true, browser: true, | |
devel: true */ | |
/*global Autocomplete */ | |
(function(){ | |
var main = function(){ | |
var autocomplete = new Autocomplete({ | |
searchInput: 'search_term', | |
searchAutocomplete: 'search_autocomplete', | |
searchUrl: 'search-data.php?q=', |