Skip to content

Instantly share code, notes, and snippets.

View ricardosiri68's full-sized avatar

Ricardo Agustin Siri ricardosiri68

  • Nubi
  • Capital Federal
View GitHub Profile
<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">
/*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);
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:
<!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>
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),
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...",
/*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);
/*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),
/*jslint nomen: true, debug: true, evil: true, vars: true, browser: true,
devel: true */
/*global */
var HeaderSlider = function(){
this.base64EncodeImages();
};
HeaderSlider.prototype = {
/*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=',