01 2016 档案
摘要:tools ->build system->new build system... 输入: { "cmd": ["C:\\lua\\lua53.exe","$file"] } 1. 用 killall命令,加进程名重启 [root@localhost objects]# killall -HUP n
阅读全文
摘要:记得清理/etc/nginx/sites-enabled/default
阅读全文
摘要:Sub Test() Dim r As Range Dim a As Integer a = 0 For Each r In Range("b1:b6") If r.Font.Bold "True" Then a = a + r.Value...
阅读全文
摘要:https://wiki.ewu.edu/oit/Load_balancing_using_nginx
阅读全文
摘要:想添加nginx的缓存功能, 结果1.4.6还不支持.apt-get remove nginx374 sudo apt-key add nginx_signing.key 375 deb http://nginx.org/packages/ubuntu/ trusty nginx 376 v...
阅读全文
摘要:Django session 字典,保存到数据库的时候是要先序列化的(session.encode方法), 读取的时候反序列化(session.decode),这样比较安全. 一 settings.py中间件 MIDDLEWARE_CLASSES = ('django.contrib.session
阅读全文
摘要:linuxapt-get install redis-serverpip install django-redisvim /etc/redis/redis.confmaxmemory 20mbsettings.pyCACHES = { "default": { "BACKEND"...
阅读全文
摘要:The problem with:apt-get --yes install $somethingis that it will ask for a manual confirmation if the package signature owner's public-key is not in t...
阅读全文

浙公网安备 33010602011771号