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 quilmes.com.ar.pdo.matcherpdo; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.util.List; | |
import lombok.extern.slf4j.Slf4j; | |
import org.apache.poi.ss.usermodel.BorderStyle; | |
import org.apache.poi.ss.usermodel.Cell; | |
import org.apache.poi.ss.usermodel.CellStyle; |
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
Instalar bootstrap en el proyecto | |
npm install bootstrap jquery @popperjs/core | |
Estos comandos instalaran las dependencias del bootatrap, jquery y el @popperjs/core que son necesarios para darle | |
mejor potencial al funcionamiento del framework. | |
Luego de eso nos dirigimos al archivo “angular.json” y colocamos las siguientes instrucciones en los objetos “styles” | |
y “scripts” en donde llamaremos a las propiedades css del bootstrap y las dependencias scripts correspondientes a | |
las interacciones de cada uno |
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
Crear nuevo proyecto | |
ng new "proyecto" | |
Crear un nuevo componente | |
ng generate component "componente" | |
Crear un nuevo servicio | |
ng generate service "servicio" | |
Generar modulo de routing |
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
git config --global core.compression 0 | |
git clone --depth 1 <repo_URI> | |
# cd to your newly created directory | |
git fetch --unshallow | |
git pull --all |
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
/* | |
* Instanciar el rest para obtener los detalles de la llamada | |
*/ | |
RestTemplate restTemplate = new RestTemplate(new BufferingClientHttpRequestFactory(new SimpleClientHttpRequestFactory())); | |
List<ClientHttpRequestInterceptor> interceptors = new ArrayList<>(); | |
interceptors.add(new LoggingRequestInterceptor()); | |
restTemplate.setInterceptors(interceptors); |
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
function encriptarAes() { | |
const key = "z|8v2,.B'%CyH9%{_~='2.|+;`z>^4{N"; | |
const keyutf = CryptoJS.enc.Utf8.parse(key); | |
var plaintext = ("16625261K"); | |
var output = CryptoJS.AES.encrypt(plaintext, keyutf, { | |
mode : CryptoJS.mode.ECB | |
}); |
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
/** | |
* Invocar Consulta Abono Periodico | |
*/ | |
public ResponseConsultaAbonoPeriodico consultaAbonoPeriodico(DtoConsultaAbonoPeriodico request, DtoRequestDatosContextoHttp contexto) { | |
log.info(MENSAJE_INICIO_DAO + "[consultaAbonoPeriodico]"); | |
log.info("Endpoint: " + Constantes.ENDPOINT_CCB_CONSULTA_ABONO); | |
ResponseConsultaAbonoPeriodico res = null; | |
try { |
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 cl.bancoconsorcio.apis.helper; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
import org.apache.log4j.Logger; | |
/** | |
* Aes | |
* |
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
AXIS2 - MAVEN | |
<!-- Axis2 --> | |
<dependency> | |
<groupId>org.apache.axis2</groupId> | |
<artifactId>axis2-kernel</artifactId> | |
<version>${axis2.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.axis2</groupId> | |
<artifactId>axis2-transport-http</artifactId> |
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 cl.poc.scheduler.batch; | |
import java.util.List; | |
import javax.sql.DataSource; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.springframework.batch.core.Job; | |
import org.springframework.batch.core.Step; |
NewerOlder