#!/usr/bin/python #coding=utf-8import sys import os import shutil import struct import hashlib import reG_WORK_PATH = "E:\phoneclient" G_TARGET_PATH =...
分类:
编程语言 时间:
2015-02-13 18:19:37
阅读次数:
266
出现错误为 SSLHandshakeException - unable to find valid certification path to requested target在服务器上找到对应的jssecacerts文件或cacerts, 一般在 /lib/security 目录下, 在本地执行...
分类:
编程语言 时间:
2015-02-13 18:02:59
阅读次数:
285
你也许会认为在Target和Snapchat发生严重数据泄露后,人们就会开始警惕自己的密码安全了。但是,事实上却正好相反。 SplashData最近列出了2014年已经泄露的上百万密码,结果却非常令人悲哀。人们竟仍然热衷于使用12345这样最简单的整数组合作为密码。
十大最容易泄露的密码分别是123456,password,12345,12345678,qwer...
分类:
其他好文 时间:
2015-02-13 14:50:31
阅读次数:
140
模拟器华为数通模拟器下载地址安装过程中会涉及内置的wireshark、wincap、以及virtualbox,不用特意去下载。终端配置终端默认地址127.0.0.1,默认端口从2000开始内置的shell相当丑陋缓慢xshell不支持命令行补全,不推荐secureCRT需要注意的是这个选项记得使用方可支持补全。然..
分类:
其他好文 时间:
2015-02-13 01:48:10
阅读次数:
301
第一步:解压缩(ota_from_target_files)
print "unzipping target target-files..."
OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])上面的代码是开始进行解压缩的入口
def UnzipTemp(filename, pattern=None):
"""Unzip...
分类:
移动开发 时间:
2015-02-12 22:49:43
阅读次数:
427
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Two sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbe...
分类:
其他好文 时间:
2015-02-12 18:32:47
阅读次数:
162
一、理论篇1.数学公式圆面积公式:π*r*r,其中π为圆周率,r为圆半径;正方形面积公式:s*s,其中s为边长;勾股定理:a*a+b*b=c*c,其中a/b分别为直角三角形的两个直角边,c为斜边。2.计算方法考虑下图,边长为r的正方形内嵌了一个以r为半径的1/4圆。InsideCircle面积=以r为半..
分类:
编程语言 时间:
2015-02-12 16:27:05
阅读次数:
282
1.Build Numbers 存储在应用程序的Info.plist中,CFBundleVersion (Bundle
version).
2.先在Xcode project中设置agvtool工具可用,target ->Build Settings->combined->Versioning
2.1 Set Current
Project Version to a value o...
分类:
其他好文 时间:
2015-02-12 16:16:20
阅读次数:
385
假设一个project为MRC,当中要加入ARC的文件:选择target -> build phases -> compile sources -> 单击ARC的文件将compiler flags设置为:-fobjc-arc假设一个project为ARC,当中要加入MRC的文件:相同的路径,然后单击...
分类:
移动开发 时间:
2015-02-12 13:58:21
阅读次数:
140