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
-- Eliminar o Actualizar de forma masiva | |
SET SQL_SAFE_UPDATES=0; | |
UPDATE tablename SET columnname=1; | |
DELETE FROM tablename; | |
SET SQL_SAFE_UPDATES=1; |
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
-- Obtener el ultimo id insertado | |
select last_insert_id(); |
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
https://www.digitalocean.com/community/questions/how-to-set-no-timeout-to-mysql | |
sudo nano /etc/mysql/my.cnf | |
[mysqlserver] | |
wait_timeout = 28800 | |
interactive_timeout = 28800 | |
O |
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
http://www.counterwise.cl/coleccion-de-web-apis-chilenas/ | |
APIs Abiertas | |
Feriados: https://www.feriadosapp.com/api/ | |
Regiones-Provincias-Comunas: https://apis.digital.gob.cl/dpa/ | |
Farmacias de turno: http://farmanet.minsal.cl/maps/index.php/ws/getLocalesTurnos | |
Código postal correos de chile(devuelve pagina web): http://codigopostal.correos.cl:5004/?calle=NombreCalle%20bello&numero=6667&comuna=nombre%20Comuna | |
Indicadores económicos: http://iframe.lfi-app.cl/indicadores/ |
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
object MainApp { | |
def main(args: Array[String]): Unit = { | |
println("Inicio") | |
println("Probando funciones curryficadas") | |
println(operacion(suma)(2,4)) |
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
https://github.com/sbt/sbt/issues/2295 | |
sudo apt-get install ca-certificates-java |
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
node_modules | |
build | |
*.log | |
.env | |
.DS_Store |