Skip to content

Instantly share code, notes, and snippets.

View aoxu's full-sized avatar

Ao Xu aoxu

View GitHub Profile
@aoxu
aoxu / Douban.md
Created September 11, 2018 06:38 — forked from Expost/Douban.md
豆瓣高评分书籍

爬虫爬了好久,总共从豆瓣爬下来了 16894465 本书,有评分的有 279377 本。

简单统计如下:

  • 评分在9分及以上的有 24038 本,评分在9分及以上且评价人数在1000以上的有 980 本。
  • 评分在8.5分及以上的有 59521 本,评分在8.5及以上且评价人数在1000以上的有 2941 本。
  • 评分在8分及以上的有 112513 本,评分在8及以上且评价人数在1000以上的有 4968 本。
  • 评分在7分及以上的有 244044 本,评分在7及以上且评价人数在1000以上的有 7760 本。
  • 评分在6分及以上的有 276303 本,评分在6及以上且评价人数在1000以上的有 8115 本。
  • 评分在5分及以上的有 279005 本,评分在5及以上且评价人数在1000以上的有 8126 本。
["005201"] = {robotIndex = 52, ignoreGravity = true, ignoreContactSpace = true, updateFixture = true,
basic = { health = 6000, attack = 1, defense = 0, },
arrest = {tapCount = 20, stayTime = 3,},
activate = {delay = 0.1, location = {x = 1.2, y = 0.5, valueType = "float"}, fixDirection = "left"},
statusCount = {[1] = {counter = 1, count = 1,}, [2] = {counter = 1, count = 1,},
[3] = {counter = 1, count = 1,}, [4] = {counter = 1, count = 1,},
[5] = {counter = 1, count = 1,},},
statusHealth = {},
stage1verticalLeaveChase = {
[1] = {
@aoxu
aoxu / Fuckgfw.conf
Created October 12, 2015 06:35 — forked from jason5ng32/surge.conf
Surge Config
[General]
loglevel = notify
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24
[Proxy]
// ADD YOUR PROXY HERE, DON'T FORGET TO REMOVE #
# Proxy = http,$IP,$PORT,$USERNAME,$PASSWORD
# Proxy = https,$IP,$PORT,$USERNAME,$PASSWORD
@aoxu
aoxu / boss.lua
Last active September 7, 2015 13:02 — forked from anonymous/gist:29a1628201e99d963586
副本小怪
[2016] = {id = 2016, robotIndex = 2016, ignoreGravity = true,
basic = { health = 100000, attack = 20, defense = 0, },
activate = {delay = 2, location = {x = 0.9, y = 0.7}},
areaChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
[2044] = {id = 2044, robotIndex = 2007, ignoreGravity = true,
basic = { health = 6, attack = 20, defense = 9999999, },
activate = {delay = 2, location = {x = 0.8, y = 0.7}},
skillConfig = {
fly = {
[1] = {
trigger = {
condition = {"interval"},
interval = 20,
},
@aoxu
aoxu / inject.lua
Last active August 29, 2015 14:15 — forked from cloudwu/inject.lua
local FUNC_TEMP=[[
local $ARGS
return function(...)
$SOURCE
end,
function()
return {$LOCALS}
end
]]
@aoxu
aoxu / mention_rank
Last active August 29, 2015 14:13 — forked from dbbbit/mention_rank
#: http://www.v2ex.com/api/members/show.json?id=1
member_id rank
1 0.021082598720727041552436276106163859367370605468750000000000
17638 0.004677871797238067341773160023876698687672615051269531250000
18119 0.004215808006276704558712431492040195735171437263488769531250
21351 0.003610164228372608492129147705895775288809090852737426757812
33 0.003468028344499850257331985403652652166783809661865234375000
362 0.002998325412711831325363043276865937514230608940124511718750
@aoxu
aoxu / en.strings
Last active January 1, 2016 14:09 — forked from anonymous/en.string
/*--联盟模块--*/
"Message" = "Messages";
"My clan" = "My alliance";
"Search" = "Search";
"Join" = "Join";
"Create" = "Create";
"Anyone can join" = "Anyone can join";
"Invite only" = "Need review";
"Closed" = "Closed";
@aoxu
aoxu / en.strings
Last active January 1, 2016 11:59 — forked from anonymous/wenan.log
/*--联盟模块--*/
"Message" = "Messages";
"My clan" = "My alliance";
"Search" = "Search";
"Join" = "Join";
"Create" = "Create";
"Anyone can join" = "Anyone can join";
"Invite only" = "Need review";
"Closed" = "Closed";
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder