12 2015 档案

摘要:在mac下,直接在termial 输入: adb shell 直接就可以连到模拟器或者真机,好方便,但是一定要主要,同时只能打开一个设备或者模拟器http://blog.csdn.net/xiebaochun/article/details/29558417 阅读全文
posted @ 2015-12-30 21:14 terryc 阅读(190) 评论(0) 推荐(0)
摘要:http://www.arao.me/2015/hexo-next-theme-optimize-seo/http://ibruce.info/2013/11/22/hexo-your-blog/http://m.blog.csdn.net/blog/xd314697475/42226923 阅读全文
posted @ 2015-12-27 15:43 terryc 阅读(162) 评论(0) 推荐(0)
摘要:在github上创建仓库:Create a new repository on the command linetouch README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin http... 阅读全文
posted @ 2015-12-27 14:08 terryc 阅读(298) 评论(0) 推荐(0)
摘要:可参考:http://wingjay.com/2015/12/07/%E5%A6%82%E4%BD%95%E5%9C%A8%E4%B8%80%E5%A4%A9%E4%B9%8B%E5%86%85%E6%90%AD%E5%BB%BA%E4%BB%A5%E4%BD%A0%E8%87%AA%E5%B7%B... 阅读全文
posted @ 2015-12-27 14:07 terryc 阅读(142) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/PythonHome/archive/2011/11/19/2255459.htmlhttp://www.cnblogs.com/huxi/archive/2010/07/04/1771073.htmlhttp://outofmemory.cn/code... 阅读全文
posted @ 2015-12-21 16:37 terryc 阅读(312) 评论(0) 推荐(0)
摘要:在terminal输入:hi = 'name'dir(hi) # 会返回 hi 对象所有的相关方法,属性http://isilic.iteye.com/blog/1733560 阅读全文
posted @ 2015-12-21 15:55 terryc 阅读(199) 评论(0) 推荐(0)
摘要:在ternimal输入:curlhttp://www.crummy.com/software/BeautifulSoup/bs4/download/4.1/beautifulsoup4-4.4.1.tar.gz>>beautifulsoup4-4.4.1.tar.gz tarzxvfbeautifu... 阅读全文
posted @ 2015-12-21 15:22 terryc 阅读(180) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/codingmylife/archive/2013/05/31/3110656.html 阅读全文
posted @ 2015-12-20 23:19 terryc 阅读(197) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/xiaoxiaoniaoer1/article/details/8542834 阅读全文
posted @ 2015-12-20 23:02 terryc 阅读(173) 评论(0) 推荐(0)
摘要:以0开始,有负下标的使用0第一个元素,-1最后一个元素,-len第一个元 素,len-1最后一个元素 阅读全文
posted @ 2015-12-19 18:07 terryc 阅读(6434) 评论(0) 推荐(1)
摘要:原来匿名函数http://blog.sina.com.cn/s/blog_709475a10100yu91.htmlhttp://www.cnblogs.com/BeginMan/p/3178103.html 阅读全文
posted @ 2015-12-19 18:01 terryc 阅读(197) 评论(0) 推荐(0)
摘要:how to install:sudo python3.5 -m pip install bplisthttps://bitbucket.org/wooster/biplist 阅读全文
posted @ 2015-12-19 14:01 terryc 阅读(1187) 评论(0) 推荐(0)
摘要:通过os中的os.path.basename获取路径中的文件名 阅读全文
posted @ 2015-12-19 13:35 terryc 阅读(2527) 评论(0) 推荐(1)
摘要:使用os库1. 使用os.lisdir ,isdir,isfile 来完成2.使用os.walk来做http://blog.csdn.net/yizhizouxiaqu/article/details/9372541 阅读全文
posted @ 2015-12-19 12:21 terryc 阅读(501) 评论(0) 推荐(0)
摘要:坑爹啊,官方网站上也没有找到怎么调用,让我等入门的搞不懂啊,google,baidu下,找到了。。直接在terminal 输入:python3.5就可以了. 就是自己新装的【主】版本号。https://docs.python.org/3/using/mac.html#getting-and-inst... 阅读全文
posted @ 2015-12-19 11:52 terryc 阅读(323) 评论(0) 推荐(0)
摘要:PyPI - Python Packet Indexhttp://www.cnblogs.com/haython/p/3970426.html 阅读全文
posted @ 2015-12-19 11:22 terryc 阅读(232) 评论(0) 推荐(0)
摘要:Pillow >= 2.0.0 supports Python versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5https://pillow.readthedocs.org/en/latest/installation.html在mac下,用python3.5.1 安装方法... 阅读全文
posted @ 2015-12-19 11:11 terryc 阅读(329) 评论(0) 推荐(1)
摘要:compileSdkVersionis the API version of Android that you compile against.buildToolsVersionis the version of the compilers (aapt, dx, renderscript compi... 阅读全文
posted @ 2015-12-17 14:31 terryc 阅读(270) 评论(0) 推荐(0)
摘要:http://www.kuqin.com/shuoit/20150728/347238.html 阅读全文
posted @ 2015-12-17 13:04 terryc 阅读(403) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/33947081/android-studio-java-lang-noclassdeffounderrorI have found out a solution for NoClassDefFoundException in A... 阅读全文
posted @ 2015-12-17 12:12 terryc 阅读(2385) 评论(0) 推荐(0)
摘要:Gradle是可以用于Android开发的新一代的Build System, 也是 Android Studio默认的build工具。Gradle脚本是基于一种JVM语言 -- Groovy,再加上DSL(领域特定语言)组成的。因为Groovy是JVM语言,所以可以使用大部分的Java语言库。所谓D... 阅读全文
posted @ 2015-12-17 11:24 terryc 阅读(338) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/chb2000/article/details/6598361Android 开发文档中说明Log.d和Log.v只有在开发版本中输出,在Release版本中无输出。那么这个功能是如何实现的呢?Android中Log.d和Log.v在Java和Native ... 阅读全文
posted @ 2015-12-16 20:22 terryc 阅读(332) 评论(0) 推荐(0)
摘要:Android的版本可以在androidmainfest.xml中定义,主要有android:versionCode和android:versionNameandroid:versionCode:主要是用于版本升级所用,是INT类型的,第一个版本定义为1,以后递增,这样只要判断该值就能确定是否需要升... 阅读全文
posted @ 2015-12-16 20:01 terryc 阅读(222) 评论(0) 推荐(0)
摘要:1、-injars //表示要进行混淆的class文件或jar、war等,可用文件目录表示,例如:2、-injar ../jar(**.class) 或者-injar ../jar/in.jar3、-outjars 表示要生成的jar包,后跟jar包名字,如:-outjars ../out.jar4... 阅读全文
posted @ 2015-12-16 19:59 terryc 阅读(363) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/zhaoweikid/article/details/1633526quopri模块和base64模块有点象,都是用来编码和解码的,且base64和quoted-printable这两种编码都是在电子邮件中常见的编码。quoted-printable的编码方... 阅读全文
posted @ 2015-12-15 17:08 terryc 阅读(630) 评论(0) 推荐(0)