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
class ModalForm { | |
// Atributos o elementos que componen el formulario | |
formContainer: HTMLDivElement; | |
MensajeParagraph: HTMLParagraphElement; | |
usuarioLabel: HTMLLabelElement; | |
usuarioInput: HTMLInputElement; | |
contrasenaLabel: HTMLLabelElement; |
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
const enviarFormulario = async (e: Event) => { | |
e.preventDefault(); | |
if (!ValidaMandatorios()) { | |
return false; | |
} | |
const formulario = e.target as HTMLFormElement; | |
const formData = new FormData(formulario); | |
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
#Codigo para copiar libros de la web | |
import requests | |
iden = 1 | |
url = "" | |
archivo = "" | |
for iden in xrange(1,279): | |
#pass | |
url = "http://libros.conaliteg.gob.mx/javax.faces.resource/dynamiccontent.properties.jsf?ln=primefaces&pfdrid=cBtz4OR0S0m0aSKaAgecJYTJxe9DKt6hnSXrf%2B71DpA%3D&idLibro=177&orden=" + str(iden) + "&pfdrid_c=true" |
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
Select deposito.concepto, referencias.refnumerica1, referencias.refnumerica2, deposito.descripcion, deposito.fecha, CONCAT(apaterno, ' ', amaterno, ' ', nombre)as nombre, matricula, idgrupo_fk, deposito.importe as deposito, referencias.importe1, referencias.importe2, 0 as importe | |
from deposito, referencias, alumnos where alumnos.idalumno = referencias.idalumno_fk1 | |
and (deposito.concepto = referencias.refnumerica1 or deposito.concepto = referencias.refnumerica2) | |
and deposito.fecha = '2012-10-01'; | |
## La versión por mes | |
Select deposito.concepto, referencias.refnumerica1, referencias.refnumerica2, deposito.descripcion, deposito.fecha, CONCAT(apaterno, ' ', amaterno, ' ', nombre)as nombre, matricula, idgrupo_fk, deposito.importe as deposito, referencias.importe1, referencias.importe2, 0 as importe | |
from deposito, referencias, alumnos where alumnos.idalumno = referencias.idalumno_fk1 | |
and (deposito.concepto = referencias.refnumerica1 or deposito.concepto = referencias.refnumerica2) |