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
{ | |
"eventKey" : "clickChapterTheme", //PC | |
"category" : "learn", //PC | |
"platform" : "app", //PC | |
"os" : "ios", //PC - pc | |
"eventTime" : 1472453191804.8, // PC in ms | |
"channel" : "AppStore", //PC -> q | |
"netConfig": "wifi", //埋点发生时的网络状况 | |
"device" : "EB4E0C44-7E60-41BE-AF40-4234536BA0A1", //PC | |
"user" : "57c3ca4f89abde94259b46a9", //PC |
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
--11-- | |
WARNING: point missed - enterHome | |
WARNING: point missed - clickHomeToLogin | |
WARNING: point missed - clickHomeToSignup | |
--12a-- | |
WARNING: point missed - enterLoginPage | |
WARNING: point missed - clickLPForgetPassword | |
INFO: duplicated points sent: ['loginFailure'] - clickLPLogin(failed) | |
WARNING: point missed - clickLPSignupNow | |
ISSUE: field 'loginSuccess' expected to be 'True', but 'False' tested - clickLPLogin(success) |
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
{ | |
"_id" : ObjectId("57a1b5040d1bce971242995a"), | |
"videos" : { | |
"201629" : { | |
"list" : [ | |
"54cc7835abc5bbb971f99be0", | |
"54cc783eabc5bbb971f99be1", | |
"54d300a49ca3a7f10f5e84ad", | |
"54d1ee8393ada5bf333e9e8b", | |
"54d304139ca3a7f10f5e868b", |
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
{ | |
"issued_date": datetime.datetime.now(), | |
"client": "TIAN Linxi", | |
"tag": "3.6-0A", | |
"items": [ | |
{ | |
"action": "funnel", | |
"userType": "device", | |
"sequence": [ | |
"enterPeriodTest", |
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
def ec(x): | |
return 0.2411508 + 0.7584302*(math.exp(-2.005557*x)) | |
# Different Strength TABLE | |
# Strength - 1day 2days 3days 7days 14days 31days | |
# 1 - 0.368, 0.135, 0.050, 0.001, 0.000, 0.000 | |
# 2 - 0.607, 0.368, 0.223, 0.030, 0.001, 0.000 | |
# 5 - 0.819, 0.670, 0.549, 0.247, 0.061, 0.002 | |
# 10 - 0.905, 0.819, 0.741, 0.497, 0.247, 0.045 |
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
{ | |
"title": String, | |
"category": String, enum: ["self", "check"], | |
"agent": String, | |
"createTime": ISODate, | |
"updateTime": ISODate, | |
"finishTime": ISODate, | |
"deadline": ISODate, | |
"method": String, enum: ["mail", "dingtalk", "face2face", "meeting"], | |
"initiator": String, |
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 http = require("http"); | |
var url = require("url"); | |
var fs = require("fs"); | |
var server = http.createServer(function (request, response) { | |
var ua = request.headers['user-agent']; | |
console.log(ua); | |
var urlObj = url.parse(request.url, true); | |
var pathname = urlObj.pathname; |
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": "enterChapter", "to": "clickChapterChapter", "id": "53e037116a3401fd615bd75c", "user": "57372f1b9ff23d053cd61ace"} |
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
# _*_ coding:utf-8 _*_ | |
from pymongo import MongoClient | |
import datetime | |
from bson.code import Code | |
# 上线时间 | |
START = datetime.datetime(2016, 5, 8, 16) | |
END = datetime.datetime.now() | |
WEEK_DIFF = datetime.timedelta(weeks = 1) |
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
*Tunnelblick: OS X 10.11.4; Tunnelblick 3.5.7 (build 4270.4517); Admin user | |
Configuration client | |
"Sanitized" condensed configuration file for /Users/jihongfei/Library/Application Support/Tunnelblick/Configurations/client.tblk: | |
client | |
dev tun |