This file contains hidden or 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
| port 6379 | |
| timeout 0 | |
| tcp-keepalive 0 | |
| loglevel notice | |
| logfile stdout | |
| databases 16 | |
| save 900 1 | |
| save 300 10 | |
| save 60 10000 | |
| stop-writes-on-bgsave-error yes |
This file contains hidden or 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
| ./configure --prefix=$HOME \ | |
| --sbin-path=$HOME/sbin/nginx \ | |
| --conf-path=$HOME/etc/nginx/nginx.conf \ | |
| --error-log-path=$HOME/var/logs/nginx/error.log \ | |
| --http-log-path=$HOME/var/logs/nginx/access.log \ | |
| --pid-path=$HOME/var/logs/nginx/nginx.pid \ | |
| --lock-path=$HOME/var/logs/nginx/nginx.lock \ | |
| --http-proxy-temp-path=$HOME/tmp/nginx/proxy/ \ | |
| --http-fastcgi-temp-path=$HOME/tmp/nginx/fastcgi/ \ | |
| --http-uwsgi-temp-path=$HOME/tmp/nginx/uwsgi/ \ |
This file contains hidden or 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
| user nginx; | |
| worker_processes auto; | |
| worker_rlimit_nofile 65535; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 4096; |
This file contains hidden or 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
| import xlrd | |
| import json | |
| import sys | |
| import argparse | |
| def convert(workbook): | |
| wb = xlrd.open_workbook(workbook) | |
| year = 2013 | |
| data = [] |
NewerOlder