摘要:
转自知乎 http://www.zhihu.com/question/21050551 有 A,B,C,AB,AC五张表 关系是: A表对B表多对多,关系存放在AB表 A表对C表多对多,关系存放在AC表 操作: 删除A表的数据时,同时删除B,C,AB,AC表与A相关联的数据。 secondary:多 阅读全文
posted @ 2015-10-08 16:29
北京涛子
阅读(1996)
评论(0)
推荐(0)
摘要:
转自知乎 http://www.zhihu.com/question/21050551 有 A,B,C,AB,AC五张表 关系是: A表对B表多对多,关系存放在AB表 A表对C表多对多,关系存放在AC表 操作: 删除A表的数据时,同时删除B,C,AB,AC表与A相关联的数据。 secondary:多 阅读全文
posted @ 2015-10-08 16:29
北京涛子
阅读(1996)
评论(0)
推荐(0)
摘要:
####参考http://miemiedev.github.io/mmGrid/examples/index.html 阅读全文
posted @ 2015-08-28 17:45
北京涛子
阅读(887)
评论(0)
推荐(0)
摘要:
####实例方法```pythonclass Human(object): def __init__(self, weight): self.weight = weight def get_weight(self): return self.weight... 阅读全文
posted @ 2015-08-26 17:12
北京涛子
阅读(224)
评论(0)
推荐(0)
摘要:
####普通继承```pythonclass FooParent(object): def __init__(self): self.parent = 'I\'m the parent.' print 'Parent' def bar(self, messag... 阅读全文
posted @ 2015-08-26 16:20
北京涛子
阅读(174)
评论(0)
推荐(0)
摘要:
https://www.zhihu.com/question/31265857 http://www.cnblogs.com/huxi/archive/2011/03/01/1967600.html 方法装饰器 类装饰器 阅读全文
posted @ 2015-08-26 15:04
北京涛子
阅读(189)
评论(0)
推荐(0)
摘要:
####参考http://openhome.cc/Gossip/Python/Property.htmlhttp://pyiner.com/2014/03/09/Python-property.html```在Python中property()是一个内建函数,创建并返回一个property对象。函数... 阅读全文
posted @ 2015-08-26 11:58
北京涛子
阅读(596)
评论(0)
推荐(0)
摘要:
pdf文档 https://media.readthedocs.org/pdf/ansible/latest/ansible.pdf api介绍 http://blog.csdn.net/python_tty/article/details/51387667 http://blog.itpub.ne 阅读全文
posted @ 2015-08-21 17:19
北京涛子
阅读(1554)
评论(1)
推荐(0)
摘要:
http://clusterlabs.orghttp://corosync.github.io/corosync 阅读全文
posted @ 2015-08-17 15:12
北京涛子
阅读(200)
评论(0)
推荐(0)
摘要:
查看屏幕硬件指标```bash# xrandrScreen 0: minimum 8 x 8, current 2390 x 768, maximum 32767 x 32767LVDS1 connected primary 1366x768+0+0 (normal left inverted ri... 阅读全文
posted @ 2015-08-17 10:30
北京涛子
阅读(993)
评论(0)
推荐(0)
|