Skip to content

Instantly share code, notes, and snippets.

View azhtom's full-sized avatar
🏠
Working from home

Dani Soria azhtom

🏠
Working from home
View GitHub Profile
@Miuler
Miuler / .vimrc
Created September 21, 2011 13:25
Archivo de configuracion de VIM
" .VIMRC
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" TEMPORAL PARA USAR MIENTRAS USO DARES
au BufWritePost *.js silent! !ctags -R src/main/java src/main/webapp/resources/js/ &
au BufWritePost *.js :TlistUpdate
map ,rr :!rsync -avze ssh /home/miuler/Personal/Clients/Proyectos/gas/ [email protected]:/home1/virtuar0/miuler/www/www/dares/<CR>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@PuKoren
PuKoren / digicert_to_aws.sh
Created January 10, 2015 14:20
Upload Digicert certificate to Amazon Web Services (AWS)
#!/bin/sh
# $1: certificate name on AWS
# $2: certificate file (crt)
# $3: private key file (pem)
# $4: DigicertCA2 path
# $5: TrustedRoot path
# Download certificates on Digicert (Other formats > Individual crt files with a .cer extension)
# Generate intermediate cert for AWS (not an option, many browsers requires it it). Intermediate is concatenation of CA and Root certs
(openssl x509 -inform PEM -in $4; openssl x509 -inform PEM -in $5) > Intermediate.cer