- 用法:拼接url @permalink def get_absolur_url(self): return "cms-story", {}, {'slug': self.slug} 函数返回三个参数:第一个参数是url映射name,第二个一般为空,第三个参数是一个dict- 源码 def per... ...
分类:
其他好文 时间:
2017-06-26 10:26:05
阅读次数:
154
Storyline Computer hackers are being portrayed as the newest brand of terrorists. This is a story of a hacker named Kevin Mitnick, imprisoned without ...
分类:
其他好文 时间:
2017-06-25 14:16:37
阅读次数:
117
错误的写法:(in_story_num-out_story_num) as story_num 正确的写法:(nvl(in_story_num,0)-nvl(out_story_num,0)) as story_num (注:利用nvl函数) 错误的写法:(in_story_num-out_stor ...
分类:
数据库 时间:
2017-06-24 09:53:55
阅读次数:
171
转载自AlloyTeam:http://www.alloyteam.com/2017/06/the-story-of-png-deinterlacing-algorithm/前言前文已经讲解过如何解析一张png图片,然而对于扫描算法里只是说明了逐行扫描的方式。其实png还支持一种隔行扫描技术,即Ad... ...
分类:
编程语言 时间:
2017-06-23 20:57:19
阅读次数:
250
POJ 3207 Ikki's Story IV - Panda's Trick 题目链接 题意:一个圆上顺序n个点,然后有m组连线,连接两点,要求这两点能够往圆内或圆外。问能否构造出使得满足全部线段不相交 思路:2-sat,推断相交的建边,一个在内。一个在外,然后跑一下2-sat就可以 代码: # ...
分类:
其他好文 时间:
2017-06-21 14:10:21
阅读次数:
136
ENGINEERING How Basic Performance Analysis Saved Us Millions Michael Malis May 19, 2017 9 min read This is the story of how I applied basic performanc ...
分类:
其他好文 时间:
2017-06-19 13:04:14
阅读次数:
231
http://daily.zhihu.com/story/3603866?utm_campaign=in_app_share&utm_medium=Android 先看看上面的那个文章 Evi1m0大牛破解了路由器的连接密码之后,又破解了路由器的管理登陆密码,这个过程就是一笔带过,在这里详细的说一下 ...
分类:
其他好文 时间:
2017-06-14 22:33:35
阅读次数:
278
子线程中不能操作js的对象, 线程中能做的事:1.能使用setTimeout(), clearTimeout(), setInterval(),clearInterval()等函数。2.能使用navigator对象。3.能使用XMLHttpRequest来发送请求。4.可以在线程中使用Web Sto ...
分类:
编程语言 时间:
2017-06-11 14:15:16
阅读次数:
200
Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you can make one s ...
分类:
其他好文 时间:
2017-06-06 20:46:08
阅读次数:
264
C# 内存模型 This is the first of a two-part series that will tell the long story of the C# memory model. The first part explains the guarantees the C# mem ...