Skip to content

Instantly share code, notes, and snippets.

Avatar

Fernando Figaroli FerX FerX

View GitHub Profile
@FerX
FerX / nginx.conf
Created Feb 23, 2019 — forked from nrollr/nginx.conf
NGINX config for SSL with Let's Encrypt certs
View nginx.conf
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@FerX
FerX / province.php
Created Nov 16, 2017 — forked from wgh000/province.php
Province Italia - Array PHP
View province.php
<?php
$province = array(
'AG' => 'Agrigento',
'AL' => 'Alessandria',
'AN' => 'Ancona',
'AO' => 'Aosta',
'AR' => 'Arezzo',
'AP' => 'Ascoli Piceno',
'AT' => 'Asti',
'AV' => 'Avellino',
@FerX
FerX / countries.php
Created Nov 16, 2017 — forked from wgh000/countries.php
Nazioni Mondo - Array PHP
View countries.php
<?php
$countries = array(
'AD' => 'Andorra',
'AE' => 'United Arab Emirates',
'AF' => 'Afghanistan',
'AG' => 'Antigua &amp; Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albania',
'AM' => 'Armenia',
'AN' => 'Netherlands Antilles',
@FerX
FerX / alias_ff.sh
Created May 17, 2013
prova bash alias
View alias_ff.sh
#/bin/bash
alias l='ls -al'