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
#!/bin/bash | |
# Sistema version 0.0.1, ultimo cambio => Almacenar data de los documentos en mongodb | |
# Descargar dependencias | |
sudo apt update ; sudo apt install wget unzip | |
# Descargar repositorio e ingresando al proyecto |
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
package org.oregoom.opeenBootcamp; | |
import java.util.ArrayList; | |
import java.util.function.Function; | |
public class _01_ejercicioExcepciones { | |
private static int number; | |
public static void main(String[] args) { |
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
package org.oregoom; | |
import java.sql.*; | |
public class Conexion { | |
private static String ip = ""; | |
private static String dbname = ""; | |
private static String link = "jdbc:postgresql://" + ip + ":5432/" + dbname; | |
private static String username = ""; | |
private static String password = ""; |