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
//Copy in clipboard | |
xclip -sel clip < ~/.ssh/id_rsa.pub |
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
//POST jugoterapia josdem.io | |
http --form POST http://jugoterapia.josdem.io/jugoterapia-server/beverage/beverages categoryId=1 | |
//GET with query params | |
http GET http://localhost:8080/sepomex/show cp==01270 |
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
//Search and replace a word in a directory | |
Ctrl + Shift + f | |
//Delete a line | |
Ctrl + Shift + k | |
//Move a line up | |
Ctrl + Shift + UP | |
//Replace a word in a text |
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
[Desktop Entry] | |
Type=Application | |
Name=sts | |
Comment=Spring Tool Suite | |
Icon=/home/josdem/STS/sts-3.7.3.RELEASE/icon.xpm | |
Exec=/home/josdem/STS/sts-3.7.3.RELEASE/STS | |
Terminal=false | |
Categories=Development;IDE;Java; | |
StartupWMClass=STS |
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
set -g prefix C-a ### Cambiando prefijos | |
set -sg escape-time 1 ### Cambiando el delay de los commandos | |
set -g base-index 1 ### Cambiando la numeracion de las ventanas | |
setw -g pane-base-index 1 ### Cambiando la numeracion de los paneles | |
bind C-a send-prefix ### Compartiendo el prefijo con otras aplicaciones | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" ### Asignando comando para la recarga del archivo de configuracion | |
bind | split-window -h ### Asignando comando para dividir el panel de manera vertical | |
bind - split-window -v ### Asignando comando para dividir el panel de manera horizontal |
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
// Run hugo as localhost with hugo-artist-theme and automatic reload | |
hugo server --theme=hugo-artists-theme --buildDrafts | |
// Creating new markdown content | |
hugo new jmetadata/tutorials.md | |
or | |
hugo new techtalk/java/executors.md | |
// Build hugo in the server | |
hugo --baseUrl=http://josdem.io/ --theme=hugo-artists-theme --buildDrafts |
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
// Saving file as root | |
w !sudo tee % | |
// Setting look and feel | |
:set syntax=apache | |
//Move NERDTree vertical panel to the left | |
Ctrl w | |
> |
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
1. Export 465 key from thunderbird (trama.crt) | |
2. Upload trama.crt to development@192.168.0.122 | |
3. `keytool -keystore /opt/jdk1.7.0_25/jre/lib/security/cacerts -importcert -alias trama -file /home/tomcat/trama.crt` | |
4. Password is changeit | |
5. restart tomcat |
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
1. Baja el Zip standalone de aquí. http://archiva.apache.org/ | |
2. unzip y cambia el puerto a 8082 in ARCHIVA_HOME/conf/jetty.xml | |
3. Renombra apache-archiva-1.3.6 to archiva | |
4. Crea user archiva and setea owner to archiva directory (chown -R archiva.archiva .) | |
5. Setea JAVA_HOME al usuario archiva | |
6. Corre archiva: ARCHIVA_HOME/bin/archiva start & (como usuario archiva) | |
7. Abre http://server:8082/archiva | |
8. Setea admin información |
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
Create a rDNS in your ISP server provider | |
Create an MX record in your DNS service | |
Create an A record in your DNS service | |
Edit your /etc/hosts file, and add the ip_address and smtp.domain.com. | |
then type hostname smtp.aydew.com in your command line | |
Download zimbra from here: http://www.zimbra.com/downloads/os-downloads.html | |
Untar and run ./install.sh | |
Go to: servername:7071 |