会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LisPythoniC
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
23
下一页
2016年2月8日
查看4k对齐,激活.net framework 3.5
摘要: 查看是否4k对齐 Win+R,打开运行窗口,在窗口中输入“msinfo32",组件”--“存储”--“磁盘”。然后可以在右边栏看到“分区起始偏移”,我们图例中有2个数值,分别是:32256字节、80681771520字节。我们用这2个数值分别除以4096,如果得出来的结果为整数,那么就表示已经对齐,
阅读全文
posted @ 2016-02-08 11:24 LisPythoniC
阅读(268)
评论(0)
推荐(0)
2016年2月5日
Openresty 数据共享API.Data Sharing within an Nginx Worker
摘要: 摘要自:https://github.com/openresty/lua-nginx-module/#data-sharing-within-an-nginx-worker 每nginx worker的数据共享 定义一个lua模块,在content_by_lua或者content_by_lua_bl
阅读全文
posted @ 2016-02-05 10:31 LisPythoniC
阅读(563)
评论(0)
推荐(0)
2016年1月29日
Sublime text 添加lua
摘要: 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
阅读(258)
评论(0)
推荐(0)
2016年1月20日
重新安装nginx注意事项
摘要: 记得清理/etc/nginx/sites-enabled/default
阅读全文
posted @ 2016-01-20 22:05 LisPythoniC
阅读(284)
评论(0)
推荐(0)
2016年1月18日
Excel init
摘要: 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
阅读(202)
评论(0)
推荐(0)
load balancer 配置参考
摘要: https://wiki.ewu.edu/oit/Load_balancing_using_nginx
阅读全文
posted @ 2016-01-18 11:18 LisPythoniC
阅读(349)
评论(0)
推荐(0)
阿里云手动安装特定版本的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...
阅读全文
posted @ 2016-01-18 09:10 LisPythoniC
阅读(359)
评论(0)
推荐(0)
2016年1月16日
Django 是如何实现用户登录和登出机制的(默认版本-数据库版本)
摘要: Django session 字典,保存到数据库的时候是要先序列化的(session.encode方法), 读取的时候反序列化(session.decode),这样比较安全. 一 settings.py中间件 MIDDLEWARE_CLASSES = ('django.contrib.session
阅读全文
posted @ 2016-01-16 21:36 LisPythoniC
阅读(2592)
评论(0)
推荐(0)
2016年1月15日
django-redis
摘要: linuxapt-get install redis-serverpip install django-redisvim /etc/redis/redis.confmaxmemory 20mbsettings.pyCACHES = { "default": { "BACKEND"...
阅读全文
posted @ 2016-01-15 23:51 LisPythoniC
阅读(208)
评论(0)
推荐(0)
2016年1月14日
openresty 备忘
摘要: 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
阅读(276)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
23
下一页
公告