Skip to content

Instantly share code, notes, and snippets.

View aoxu's full-sized avatar

Ao Xu aoxu

View GitHub Profile
@aoxu
aoxu / blacklist.txt
Created June 18, 2023 09:18
8度机器人 违禁词列表
数字货币招商
咨询请联系
24小时对接返款
出四件套
采集群成员
查开房
找人定位
接私人定制
日赚
日结
#Provider: https://www.rixcloud.com
#Powered by rixCloud
#Version 20190814
# rixCloud, Inc.
# !! Service Warning !!
# Modifying Managed Configuration or using a third-party profile means voluntarily giving up rixCloud support services and Service Level Agreements(SLA).
# !! Service Warning !!
[General]
@aoxu
aoxu / NDIS-20190617-2027.dmp
Created June 17, 2019 13:56
windbg analyze -v 分析结果
Microsoft (R) Windows Debugger Version 10.0.18869.1002 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Windows\LiveKernelReports\NDIS-20190617-2027.dmp]
Kernel Bitmap Dump File: Kernel address space is available, User address space may not be available.
Symbol search path is: srv*
Executable search path is:
Windows 10 Kernel Version 17763 MP (16 procs) Free x64
@aoxu
aoxu / IAP_new_users.sql
Last active November 19, 2018 09:00
[查询注册用户在指定日期范围内的IAP数据] #BigQuery
SELECT
user_id, event_params.value.int_value/1000000 as price_in_usd, event_value_in_usd as exchanged_revenue_in_usd
FROM
`analytics_168921341.events_*` AS T,
T.event_params
WHERE
event_name = 'in_app_purchase'
AND event_params.key = 'value'
/* AND event_params.value.int_value = 51 */
AND _TABLE_SUFFIX BETWEEN '20181117' AND '20181118' /* 修改为付费日期范围 */
@aoxu
aoxu / layer_progress_of_lost_users.sql
Last active November 21, 2018 08:56
[查询流失用户的矿层进度人数分布]#BigQuery
SELECT
max_layer,
COUNT(user_id) as user_count
FROM (
SELECT
user_id,
max(event_params.value.int_value) as max_layer /* 只要已解锁的最大矿层数 */
FROM
`analytics_168921341.events_*` AS T,
T.event_params
@aoxu
aoxu / all_events_by_user_id.sql
Last active November 15, 2018 09:26
[查询指定用户id在指定日期范围内的所有数据]#BigQuery
SELECT
*
FROM
`analytics_168921341.events_*` AS T,
T.event_params
WHERE
/* event_name = 'sign_up' */
/* AND event_params.key = 'guide_id'
AND event_params.value.int_value = 51 */
/* AND geo.country = 'United States'*/ /* 修改为指定国家 */
@aoxu
aoxu / all_users_max_layer.sql
Created November 15, 2018 06:53
[查询所有用户的最高矿层进度]BigQuery #BigQuery
SELECT
user_id,
max(event_params.value.int_value) /* 只要已解锁的最大矿层数 */
FROM
`analytics_168921341.events_*` AS T,
T.event_params
WHERE
event_name = 'activate_manto'
AND event_params.key = 'manto_id'
AND _TABLE_SUFFIX BETWEEN '20181108' AND '20181109'
@aoxu
aoxu / signup_layers_progress.sql
Last active November 15, 2018 09:26
[注册用户的矿层进度分布]#BigQuery
SELECT
max_layer,
COUNT(user_id) as user_count
FROM (
SELECT
user_id,
max(event_params.value.int_value) as max_layer /* 只要已解锁的最大矿层数 */
FROM
`analytics_168921341.events_*` AS T,
T.event_params
SELECT
user_id,
max(event_params.value.int_value) as max_layer /* 只要已解锁的最大矿层数 */
FROM
`analytics_168921341.events_*` AS T,
T.event_params
WHERE
event_name = 'activate_manto'
AND event_params.key = 'manto_id'
AND user_id IN (
SELECT
max_layer,
COUNT(user_id) as user_count
FROM (
SELECT
user_id,
max(event_params.value.int_value) as max_layer /* 只要已解锁的最大矿层数 */
FROM
`analytics_168921341.events_*` AS T,
T.event_params