摘要: 1)nginx反向代理: http { upstream routeadmin { ip_hash; server 127.0.0.1:9201 weight=5; server 127.0.0.1:9202 weight=5; } server { listen 80; server_name l 阅读全文
posted @ 2019-09-28 19:26 紫色物语 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: DevOps 是一个完整的面向IT运维的工作流,以 IT 自动化以及持续集成(CI)、持续部署(CD)为基础,来优化程式开发、测试、系统运维等所有环节。突出重视软件开发人员和运维人员的沟通合作,通过自动化流程使得软件构建、测试、发布更加快捷、频繁和可靠。 --微信小程序系列+docker系列 htt 阅读全文
posted @ 2019-09-28 18:48 紫色物语 阅读(160) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/linxingliang/article/details/52324937 https://www.cnblogs.com/a8457013/p/9074916.html https://www.cnblogs.com/goloving/p/9125948 阅读全文
posted @ 2018-08-28 23:55 紫色物语 阅读(116) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/liubingyu12345/article/category/7389326 https://blog.csdn.net/wsbgmofo/article/details/78121486 阅读全文
posted @ 2018-08-28 23:08 紫色物语 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 3 from functools import wraps 4 from inspect import isfunction 5 6 def beforecalled(*args, **kwargs): 7 print('before call 阅读全文
posted @ 2018-08-24 22:07 紫色物语 阅读(748) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/jeremy_yangt/article/details/46380649 https://www.cnblogs.com/t-road/p/6857368.html 阅读全文
posted @ 2018-02-08 00:47 紫色物语 阅读(4868) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python# coding=utf-8 __metaclass__ = type class StaticMethod: @staticmethod def foo(): print "This is static method foo()." class Class 阅读全文
posted @ 2017-02-07 16:49 紫色物语 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 编程实现:a[0]*b[0] + a[1]*b[1] +...+a[i]*b[j] >>> a=[1,2,3,4,5]>>> b=[6,7,8,9,0] >>> from functools import reduce>>> from operator import add,mul>>> reduc 阅读全文
posted @ 2017-02-05 21:48 紫色物语 阅读(158) 评论(0) 推荐(0) 编辑
摘要: >>>def foo(x,y,z,*args,**kargs): print x print y print z print args print kargs >>> foo(1,2,3,4,5,name="qiwsir",age=37) 1 2 3 (4, 5) {'name': 'qiwsir' 阅读全文
posted @ 2017-02-05 18:28 紫色物语 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # coding=utf-8 阅读全文
posted @ 2017-02-03 18:06 紫色物语 阅读(164) 评论(0) 推荐(0) 编辑
摘要: >>> myinfor = {"name":"qiwsir","site":"qiwsir.github.io","lang":"python"} >>> dict(zip(myinfor.values(),myinfor.keys())) { 'qiwsir': 'name', 'python': 阅读全文
posted @ 2017-02-03 17:11 紫色物语 阅读(230) 评论(0) 推荐(0) 编辑
摘要: >>> a = [1,2,3,4,5] >>> b = [9,8,7,6,5] >>> length = len(a) if len(a)<len(b) else len(b) >>> length 5 >>> c = zip(a,b) >>> c [(1, 9), (2, 8), (3, 7), 阅读全文
posted @ 2017-02-03 16:28 紫色物语 阅读(3240) 评论(0) 推荐(0) 编辑
摘要: --2016 年度最受欢迎中国开源软件评选结果 https://www.oschina.net/question/2886655_2216338 --2016 年度码云热门项目排行榜 TOP 50 https://www.oschina.net/news/80909/2016-oschina-git 阅读全文
posted @ 2017-01-30 10:12 紫色物语 阅读(111) 评论(0) 推荐(0) 编辑
摘要: --Yale CAS SSO http://www.cnblogs.com/zhenyulu/category/447512.html --SSO 解决方案大全 http://blog.csdn.net/lisky119/article/details/3966322 --SSO 集成解决方案 Ke 阅读全文
posted @ 2017-01-08 17:17 紫色物语 阅读(155) 评论(0) 推荐(0) 编辑
摘要: --创建链接服务器 exec sp_addlinkedserver 'ITSV ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址 ' exec sp_addlinkedsrvlogin 'ITSV ', 'false ',null, '用户名 ', '密码 ' --查询示例 sel 阅读全文
posted @ 2016-12-03 19:52 紫色物语 阅读(560) 评论(0) 推荐(0) 编辑
摘要: --满足条件,替换为正式环境的dll if not $(ConfigurationName) == Pro goto endxcopy $(SolutionDir)release $(SolutionDir)debug\bin /E /I /Y:end --web.Pro.config <conne 阅读全文
posted @ 2016-12-01 00:31 紫色物语 阅读(257) 评论(0) 推荐(0) 编辑
摘要: --EF 批量增删改 http://www.cnblogs.com/lori/archive/2013/01/31/2887396.html http://www.cnblogs.com/gzalrj/p/3292074.html --进程守护 http://www.cnblogs.com/tian 阅读全文
posted @ 2016-11-13 22:53 紫色物语 阅读(155) 评论(0) 推荐(0) 编辑
摘要: --实现断点续传 http://www.cnblogs.com/peaceli/archive/2011/04/06/breakpoint_upload.html 阅读全文
posted @ 2016-10-28 23:33 紫色物语 阅读(158) 评论(0) 推荐(0) 编辑
摘要: --gis原理学习 http://group.cnblogs.com/GIS/best-1.html http://www.cnblogs.com/SuperXJ/tag/移动GIS/ --gis坐标系统 http://www.cnblogs.com/gispeng/archive/2008/06/ 阅读全文
posted @ 2016-10-28 22:51 紫色物语 阅读(206) 评论(0) 推荐(0) 编辑
摘要: --EasyUI - datagrid中单元格里编辑控件的单击事件如何获取当前行的index var rowIndex = $(this).parents('.datagrid-row').attr('datagrid-row-index'); 阅读全文
posted @ 2016-09-21 22:36 紫色物语 阅读(155) 评论(0) 推荐(0) 编辑