Skip to content

Instantly share code, notes, and snippets.

@ngi
ngi / Pat.groovy
Created September 19, 2012 13:36
Crea nomi paziente casuali
def maleNames = [ 'Andrea',
'Luca',
'Marco',
'Francesco',
'Matteo',
'Alessandro',
'Davide',
'Simone',
'Federico',
'Lorenzo',
@ngi
ngi / install-fonts.bash
Created November 23, 2012 20:01
Bash script for installing fonts on ubuntu
#!/bin/bash
# Credit to http://ubuntuforums.org/member.php?u=126210
# This script helps to install fonts
#
# Set your default font storage directory here
##DEFAULT_DIR="$HOME/fonts"
DEFAULT_DIR=`pwd`
# Set the default font installation directory here
DEFAULT_DEST="/usr/share/fonts/truetype/font-install"
sudo nano /usr/share/tomcat7/bin/setenv.sh
sudo chown tomcat7:tomcat7 /usr/share/tomcat7/bin/setenv.sh
@ngi
ngi / tomcat.conf
Last active August 29, 2015 14:22 — forked from witscher/tomcat.conf
description "Tomcat Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
# run as non privileged user
# add user with this command:
## adduser --system --ingroup www-data --home /opt/apache-tomcat apache-tomcat
@ngi
ngi / otrs_config_nginx.conf
Created September 4, 2017 09:54
OTRS Config nginx
server {
listen 80;
listen 443 ssl;
server_name support.itsimplycom.it;
ssl_protocols TLSv1.2;
ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers On;
ssl_certificate /etc/letsencrypt/live/support.itsimplycom.it/fullchain.pem;
@ngi
ngi / Grails_Groovy_Versions.txt
Created June 7, 2024 09:42 — forked from ishults/Grails_Groovy_Versions.txt
List of Groovy versions for Grails
// Compiled by Igor Shults
// Last Updated: July 23, 2020
GRAILS GROOVY SOURCE
4.1.0 2.5.14 https://github.com/grails/grails-core/blob/v4.1.0/gradle.properties
4.0.4 2.5.6
4.0.3 2.5.6
4.0.2 2.5.6
4.0.1 2.5.6
4.0.0 2.5.6 https://github.com/grails/grails-core/blob/v4.0.0/build.gradle