This file contains hidden or 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 llaves y certificado de java | |
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx.key -out nginx.crt | |
keytool -import -trustcacerts -alias root -file nginx.crt -keystore keystore.jks |
This file contains hidden or 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 por artefactos | |
mvn archetype:generate -Dfilter=web |
This file contains hidden or 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
#Ejecutar tareas de subprojectos | |
gradle :subproject:task .. |
This file contains hidden or 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
#Configurar wine para 32 bits | |
WINEARCH=win32 WINEPREFIX=~/.wine winecfg |
This file contains hidden or 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
-Xms128m | |
Tamaño de inicio de la máquina virtual de Java a 128Mb. El valor por defecto son 64Mb. Si se aumenta este valor, se elimina el tiempo que se tardaría en aumentar el tamaño en memoria de la máquina virtual si se llegara el caso de que se necesitara más memoria, por lo que aumentaría el rendimiento en los casos que la aplicación haga uso intensivo de la memoria. | |
-Xmx128m | |
Tamaño máximo de la máquina virtual de Java a 128Mb. El valor por defecto son 128Mb. Si la aplicación supera el tamaño máximo de memoria que marca este parámetro, se lanza la excepción java.lang.OutOfMemoryError. No conviene asignar a este parámetro el máximo de la memoria de la máquina porque si ya no queda memoria física disponible (por la que usa el sistema operativo u otras aplicaciones) se pueden producir escrituras en memoria asignada a otros programas y provocar un auténtico lío. | |
-XX:PermSize=128m | |
Tamaño de inicio de la memoria de tipo PermGen a 128Mb. Arrancar la máquina virtual con un valor superior al por defecto agiliza |
This file contains hidden or 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
# copiar archivo | |
scp file gnu@gnextia.com:~/ | |
# copiar directorio | |
scp -r folder gnu@gnextia.com:~/ |
This file contains hidden or 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 usb boot de ArchLinux | |
#==================================================================== | |
dd bs=4M if=archlinux.iso of=/dev/sdx && sync | |
#==================================================================== | |
# Instalar ArchLinux | |
#==================================================================== | |
loadkeys es |
This file contains hidden or 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
1) Crear un repositorio vacio en github | |
2) Ir a la ruta del proyecto y ejecutar los siguientes comandos | |
3) Para ignorar archivos con git se debe crear el archivo .gitignore | |
git init | |
git add . | |
git commit -m "Crear proyecto" | |
git remote add origin git@github.com:gmomo/cinito.git | |
git push -u origin master |
This file contains hidden or 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 información global | |
npm -g | |
# listado de los paquetes | |
npm ls | |
# crear proyecto vacío | |
npm init | |
# |
This file contains hidden or 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
eclipse.ini | |
--------------------------------------------------------------- | |
-showsplash | |
org.eclipse.platform | |
--launcher.XXMaxPermSize | |
1024m | |
--launcher.defaultAction | |
openFile | |
--launcher.appendVmargs | |
--launcher.GTK_version |
NewerOlder