01 2016 档案

摘要:tools ->build system->new build system... 输入: { "cmd": ["C:\\lua\\lua53.exe","$file"] } 1. 用 killall命令,加进程名重启 [root@localhost objects]# killall -HUP n 阅读全文
posted @ 2016-01-29 17:15 LisPythoniC 阅读(261) 评论(0) 推荐(0)
摘要:记得清理/etc/nginx/sites-enabled/default 阅读全文
posted @ 2016-01-20 22:05 LisPythoniC 阅读(285) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2016-01-18 14:55 LisPythoniC 阅读(205) 评论(0) 推荐(0)
摘要:https://wiki.ewu.edu/oit/Load_balancing_using_nginx 阅读全文
posted @ 2016-01-18 11:18 LisPythoniC 阅读(352) 评论(0) 推荐(0)
摘要:想添加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... 阅读全文
posted @ 2016-01-18 09:10 LisPythoniC 阅读(362) 评论(0) 推荐(0)
摘要:Django session 字典,保存到数据库的时候是要先序列化的(session.encode方法), 读取的时候反序列化(session.decode),这样比较安全. 一 settings.py中间件 MIDDLEWARE_CLASSES = ('django.contrib.session 阅读全文
posted @ 2016-01-16 21:36 LisPythoniC 阅读(2596) 评论(0) 推荐(0)
摘要:linuxapt-get install redis-serverpip install django-redisvim /etc/redis/redis.confmaxmemory 20mbsettings.pyCACHES = { "default": { "BACKEND"... 阅读全文
posted @ 2016-01-15 23:51 LisPythoniC 阅读(212) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2016-01-14 11:17 LisPythoniC 阅读(279) 评论(0) 推荐(0)