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
Si es necesario agregar a una configuracion del conectionFactory de Hibernate la propiedad "hibernate.default_schema", y para las pruebas se está usando una bd H2, el default schema de H2 es public. | |
en dao-hibernate, agregar: | |
hibernate.default_schema=public. | |
Asi los tests no fallaran |
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://abcofaix.wordpress.com/2012/08/02/how-to-check-cpu-usage-on-aix-systems/ |
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
#Enabling FTP on with Mountain Lion | |
#If you have Lion or Mountain Lion, you may mention that FTP option is gone from Sharing options. | |
#No worries, FTP server is still there, even if it is a regular installation and not Server one. | |
#No enable FTP server, run from Terminal.app | |
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist | |
#To disable, do unload instead of load. | |
#FTP home directory is a users's home one. |
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
*Debes insertar la unidad USB y esperar a que el sistema la detecte | |
Luego abres la consola (tecla Win + R) , La ventana Ejecutar o en Inicio/buscar, y escribes directamente : cmd (Se abrirá la consola de windows, pantalla negra). | |
Escribe : diskpart, para abrir la aplicación que usaremos | |
Desde de esta aplicación seleccionamos el disco USB, lo "limpiamos", creamos una partición primaria, la activamos, la formateamos y le damos un nombre: | |
Esto se hace de la siguiente manera: | |
DISKPART> list disk (primero escribe List Disk, para que muestre las unidades) | |
———— ————— ———- ———- —- —- | |
Disco 0 En pantall 37 GB 0 B | |
Disco 1 En pantall 4118 MB 4118 MB |
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
#en un terminal logearse al usuario del db2 | |
su - db2user | |
# --> password | |
#si no se está en el home, ejecutar antes | |
# cd $HOME/sqllib | |
#ejecutar el profile | |
#ojo con el primer punto, es SUPER importante | |
. ./db2profile |
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
#login as sysdba on oracle | |
$: sqlplus /nolog | |
SQL> conn as sysdba | |
Enter user-name: ${username} | |
Enter password: | |
Connected | |
SQL> ALTER USER user IDENTIFIED BY password ACCOUNT UNLOCK; | |
User altered. |
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
Seguir todos los pasos de este link. | |
http://avinmathew.com/install-oracle-xe-11g-r2-on-ubuntu-12-04 | |
Enjoy! |
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 wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
sudo yum -y install jenkins | |
sudo yum -y install java-1.7.0-openjdk.x86_64 | |
# Login as the jenkins user and specify shell explicity, | |
# since the default shell is /bin/false for most | |
# jenkins installations. | |
sudo su jenkins -s /bin/bash |
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
# at $filename. i.e: .bash_profile, .bashrc, .zshrc or other file like this | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
#then, at console | |
source $filenname |
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 com.rodrigo.poc.string; | |
import org.junit.Assert; | |
import org.junit.Test; | |
public class StringTest { | |
@Test | |
public void test_prefix() { | |
Assert.assertEquals("la/url/a/buscar", |