首先我们来看一下错误信息:Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 406"{ status code: 406,headers { "Content-Languag...
分类:
Web程序 时间:
2015-10-21 13:51:17
阅读次数:
227
参考文章:
Improving Your Code with lint
lint
使用 lint 增强你的代码
Android Lint简介
gradle lintgradle中有lint任务,可以直接执行lint静态代码检查,但是前提是你的build.gradle设置了lintOptions选项:android {
compileSdkVersion 23...
分类:
移动开发 时间:
2015-10-21 12:40:50
阅读次数:
327
信管131检查汇总信管132检查汇总-----------------------------------------------------1.日期:9月25日内容:音乐商店12.日期:10月10日内容:EF Code First数据迁移3.日期:10月13日内容:音乐商店24.日期:10月16日...
分类:
其他好文 时间:
2015-10-21 10:48:52
阅读次数:
148
=========================== 一、将NDK代码模块化 二、导出一个预编译库===========================一、将NDK代码模块化Android module paths (sharing code made easy): Android模块路径(方便共享代码):===========================================...
分类:
移动开发 时间:
2015-10-21 01:45:54
阅读次数:
299
1 void setup() { 2 // put your setup code here, to run once: 3 int i; 4 for(i = 7;i 12){now = 12;mode = 1;}22 23 }24 else if (mode == 1)...
分类:
其他好文 时间:
2015-10-20 22:51:06
阅读次数:
433
GitHackGitHack is a.gitfolder disclosure exploit.It rebuild source code from .git folder while keep directory structure unchanged.GitHack是一个.git泄露利用脚本...
分类:
其他好文 时间:
2015-10-20 22:41:35
阅读次数:
301
用python -m py_compile file.pypython -m py_compile /root/src/{file1,file2}.py编译成pyc文件。也可以写份脚本来做这事:Code:import py_compile py_compile.compile('path') //p...
分类:
编程语言 时间:
2015-10-20 17:56:40
阅读次数:
192
团队开发中如何共用证书 团队开发中,需要共享证书文件和私钥。若仅从provisioning portal下载证书文件而无私钥,xcode会提示出错:Unable to code design using identities in this team: no private keys availab...
分类:
其他好文 时间:
2015-10-20 17:55:39
阅读次数:
311
前言: 从事网络爬虫三年有余,近期工作稍微有所调整 ,开始倾向于数据分析。之前零零散散的做过些简要的分析【电商数据分析,社交媒体状态分析】。而至于数据分析也算新手,没有系统的学过 。 计划这个方式掌控学习: 为生产环境快速实现case【code by python】--> 补充理论知识【书,下列有书...
分类:
其他好文 时间:
2015-10-20 17:47:18
阅读次数:
214
广度优先算法:# -*- coding: utf-8 -*- import urllibimport urllib.requestfrom bs4 import BeautifulSoupimport threadingmylock = threading.RLock()class Crawler:...
分类:
编程语言 时间:
2015-10-20 17:44:52
阅读次数:
278