Skip to content

Instantly share code, notes, and snippets.

View grandeto's full-sized avatar

Grandeto grandeto

View GitHub Profile
@plentz
plentz / nginx.conf
Last active June 27, 2024 21:05
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@esthezia
esthezia / php-sanitize-multidimensional-array.php
Created June 18, 2013 11:01
PHP - Sanitize a multidimensional array
<?php
/**
* Sanitize a multidimensional array
*
* @uses htmlspecialchars
*
* @param (array)
* @return (array) the sanitized array
*/