Skip to content

Instantly share code, notes, and snippets.

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

Alejandro Jaramillo al3jodev

🏠
Working from home
View GitHub Profile
@al3jodev
al3jodev / openssl_encrypt_decrypt.php
Created April 6, 2021 21:00 — forked from joashp/openssl_encrypt_decrypt.php
Simple PHP encrypt and decrypt using OpenSSL
<?php
/**
* simple method to encrypt or decrypt a plain text string
* initialization vector(IV) has to be the same when encrypting and decrypting
*
* @param string $action: can be 'encrypt' or 'decrypt'
* @param string $string: string to encrypt or decrypt
*
* @return string
*/

Atajos de teclado para Eclipse (y derivados como ZendStudio)

Para editar un comando: Window → Preferences → General → Keys

Edición

Ctrl+D elimina la línea actual (en la que se encuentra el cursor)
Ctrl+Shift+F formatear código (tabulaciones, saltos de línea,…)