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
/** | |
* desc: 安卓曝光量统计工具类 | |
*/ | |
public class ViewShowCountUtils { | |
//刚进入列表时统计当前屏幕可见views | |
private boolean isFirstVisible = true; | |
//用于统计曝光量的map | |
private ConcurrentHashMap<String, Integer> hashMap = new ConcurrentHashMap<String, Integer>(); |
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 -*- | |
import os | |
import shutil | |
import subprocess | |
def startJIAGU(): | |
WORKSPACE= os.getenv("WORKSPACE")+"\\" | |
JIAGU_HOME= os.getenv("JIAGU_HOME") | |
isPublish = open(WORKSPACE+"isPublish.txt").readline().strip('\n').rstrip()+"" |
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
@echo off | |
set files=D: | |
set dateStr=%files%%date:~0,4%%date:~5,2%%date:~8,2% | |
set dateStr2=%date:~0,4%%date:~5,2%%date:~8,2% | |
set apkPath=%WORKSPACE%\app\build\outputs\apk\%BuildFlavor%\release\ | |
rem 指定FTP用户(这就是匿名) | |
set ftpUser=anonymous | |
rem 指定FTP密码(任意 | |
set ftpPass=123 | |
rem 指定FTP服务器地址 |
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
rem 指定FTP用户(这就是匿名) | |
set ftpUser=anonymous | |
rem 指定FTP密码(任意 | |
set ftpPass=123 | |
rem 指定FTP服务器地址 | |
set ftpIp=192.168.3.227 | |
echo open %ftpIp% >> ftp.txt | |
echo %ftpUser%>> ftp.txt |
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 -*- | |
import os | |
import re | |
base = '/Users/fushenghua/Documents/Github/' | |
def rename(): | |
file = open(base + "/name.txt") | |
while 1: |