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.testing; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.stereotype.Repository; | |
/** | |
* HibernateTestingDao | |
* |
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
/** | |
* Validar rut chileno | |
* | |
* @param rut | |
* @return | |
*/ | |
public static boolean validarRut(String rut) { | |
boolean validacion = false; | |
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.testing.test; | |
import static org.junit.Assert.assertTrue; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.junit.jupiter.api.AfterEach; | |
import org.junit.jupiter.api.BeforeEach; | |
import org.junit.jupiter.api.Test; | |
import org.springframework.beans.factory.annotation.Autowired; |
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
docker run \ | |
--rm \ | |
-u root \ | |
-p 8080:8080 \ | |
-v "$PWD":/var/jenkins_home \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
jenkinsci/blueocean |
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
# CAMBIAR PASS ROOT | |
sudo su | |
passwd | |
# XBOX ONE CONTROLLER BLUETOOTH | |
https://blog.desdelinux.net/como-utilizar-mando-de-xbox-one-en-fedora-31-y-no-morir-en-el-intento/ | |
# WIFI | |
dnf groupinstall "Development Tools" | |
dnf groupinstall "C Development Tools and Libraries" |
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
sudo su - | |
Import the public GPG key of the Opera browser. | |
rpm --import https://rpm.opera.com/rpmrepo.key | |
Add Opera browser repository to the system. | |
tee /etc/yum.repos.d/opera.repo <<REPO | |
[opera] |
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
Corregir tarjeta wifi en fedora - DLINK DWA582 | |
Obtener version de drivers de network: lshw -class network | |
https://github.com/lwfinger/rtlwifi_new.git | |
-- Fedora , Centos | |
1. dnf groupinstall "Development Tools" | |
2. dnf groupinstall "C Development Tools and Libraries" |
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; |
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.bancoconsorcio.apis.helper; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
import org.apache.log4j.Logger; | |
/** | |
* Aes | |
* |
OlderNewer