This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a=[[1492],[6656],[8759],[63166],[9287],[4369],[8811],[7556],[6262],[14399],[64357],[64353],[10546],[6450],[63794],[61408],[60467,60463,30321,30325,5103,9471,8510,30243,5103,9471,8510,30321,30325,60467,60463],[63413,878,10006,64901],[57367,10006,64901,14548,14505],[10006,64901,30321,30325,6877,9480,30243,6877,9480,30321,30325,10006,64901],[57367,10006,64901,30321,30325,14624,61401,30243,14624,61401,30321,30325,57367,10006,64901],[62995,4015,62638,64946,30321,30325,3339,7703, | |
30243,3339,7703,30321,30325,62995,4015,62638,64946],[10035,9470,8711,30321,30325,3339,7703,30243,3339,7703,30321,30325,10035,9470,8711],[62427,643,643],[6952,14674,10728],[10851,10827,14674,10728],[30263,30266,30246,30248,30256,30256,30267],[30257,30266,30262,30259,30321,30325,30248,30256,30256,30267,30243,30248,30256,30256,30267,30321,30325,30257,30266,30262,30259],[12150,2272,11714,11714,30321,30325,10472,10327,9946,30243,10472,10327,9946,30321,30325,12150,2272,11714,11714],[12150,2272,11714,11714, | |
30321,30325,5094,14816,57661,30243, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-- 修改布局 --*/ | |
.W_main {width:735px;} | |
.W_main_l {float:right;} | |
.W_main_bg {background-position-x: 585px;} | |
/*-- 隐藏广告 --*/ | |
.tips_player {display:none;} | |
.declist {display:none;} | |
#pl_leftNav_game {display:none;} | |
#pl_leftNav_app {display:none;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 0px; | |
margin: 0px; | |
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "STHeiti", "Monaco"; | |
background-color: #D6D5D2; | |
background-image: url("/static/img/bg.png"); | |
min-width: 900px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 0px; | |
margin: 0px; | |
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "STHeiti", "Monaco"; | |
background-color: #D6D5D2; | |
background-image: url("/static/img/bg.png"); | |
min-width: 900px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 0px; | |
margin: 0px; | |
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "STHeiti", "Monaco"; | |
background-color: #D6D5D2; | |
background-image: url("/static/img/bg.png"); | |
min-width: 900px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 0px; | |
margin: 0px; | |
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "STHeiti", "Monaco"; | |
background-color: #D6D4D2; | |
background-image: url("/static/img/bg.png"); | |
min-width: 900px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Queue import Queue | |
from threading import Thread | |
import time | |
import feedparser | |
num_fetch_threads = 2 | |
enclosure_queue = Queue() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python2.7 | |
#encoding:utf-8 | |
#@description:一个python守护进程的例子 | |
#@tags:python,daemon | |
import sys | |
import os | |
import time | |
import atexit | |
from signal import SIGTERM | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 代码段A | |
try: | |
statement_A | |
except ...: | |
... | |
else: | |
statement_B | |
## 代码段B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CallbackBase: | |
def __init__(self): | |
self.__callbackMap = {} | |
for k in (getattr(self, x) for x in dir(self)): | |
if hasattr(k, "bind_to_event"): | |
self.__callbackMap.setdefault(k.bind_to_event, []).append(k) | |
elif hasattr(k, "bind_to_event_list"): | |
for j in k.bind_to_event_list: | |
self.__callbackMap.setdefault(j, []).append(k) | |
## staticmethod is only used to create a namespace |
OlderNewer