# Nginx status server { listen 80; server_name localhost; location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } }
View ntpd clock slewing / stepping offsets > According to www.ntp.org in stanard Linux o.s. (adjtime(2) - http://www.ntp.org/ntpfaq/NTP-s-algo.htm#S-ALGO-BASIC) time adjusting has rate of 0.5ms per second That's the _maximum_ slew rate....Read More
View agregar funciones a la plantilla jinja #—libs/date.py def format_date(value, format=“%d/%m/%Y %H:%M:%S”): return value.strftime(format) #—–settings from libs.filters import format_date from jinja2 import Environment, FileSystemLoader TEMPLATE_ENV.filters = format_date...Read More
View tcl eggdrop : autovoice tlm à retardement dans #chan ##### BINDS ####################### #– JOIN # modifier ci-dessous #chan par le vrai nom du chan bind join – “#chan *!*@*” perso:join_autovoice ##### PROCS ####################...Read More
View Alert PHP function alertPhp($texto){ echo “<script type=’text/javascript’>alert(‘”.$texto.“‘);</script>”; }Read More