This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
keepalive_timeout 70; | |
server_name otrs.example.com; | |
root /opt/otrs/var/httpd/htdocs; | |
index index.html; | |
# SSL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function deleteContactGroups() { | |
var groups = ContactsApp.getContactGroups(); | |
Logger.log("total: " + groups.length); | |
for (var i = 0; i < groups.length; i++) { | |
if (!groups[i].isSystemGroup()){ | |
groups[i].deleteGroup() | |
Logger.log("deleting: " + groups[i].getName() ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Inplace mode added by Raphaël Doursenaud <[email protected]> | |
PROGNAME=${0##*/} | |
INPUT='' | |
QUIET='0' | |
NOSTATS='0' | |
INPLACE='0' | |
max_input_size=0 | |
max_output_size=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reverse proxy for Shinken 2.0.x on Debian Wheezy | |
# Place this file under /etc/nginx/sites-available | |
# Update your server_name | |
# Don't forget to enable the config and reload nginx | |
# Enjoy ^^ | |
server { | |
# IPv4 support | |
listen 80; | |
# IPv6 support | |
listen [::]:80; |
NewerOlder