直接去:https://packagecontrol.io/installation搜索插件,插件一般会有个git网址(格式化html的插件可以用这个:https://github.com/victorporof/Sublime-HTMLPrettify),下载后放到"Preferences->浏览 ...
分类:
其他好文 时间:
2017-07-03 16:19:38
阅读次数:
112
原因是没即时释放对象,原本的代码是这样 直接看去好像没什么问题,但是每调用一次 (*env)->CallObjectMethod(env,stringbuilder_obj,append_Method,str) ;都会产生个对象,我一开始以为这样没事,改成这样程序就不崩了 ...
分类:
移动开发 时间:
2017-07-03 11:58:33
阅读次数:
380
1.安装pip 下载pip的安装包get-pip.py,下载地址:https://pip.pypa.io/en/latest/installing.html#id7 然后在get-pip.py所在的目录下运行get-pip.py 执行完成后,在python的安装目录下的Scripts子目录下,可以看 ...
分类:
编程语言 时间:
2017-07-02 22:16:23
阅读次数:
221
1、简单数组: 声明: int[] myArray 初始化: 声明了数组后,就必须为数组分配内存来保存数组的全部元素。特别注意的是数组是引用类型。故须要使用new运算符来指定数组中元素的类型和数量来初始化数组的变量。 myArray = new int[4] 声明初始化合并: int [] myAr ...
分类:
编程语言 时间:
2017-07-02 19:44:12
阅读次数:
226
打开xcode->preference->location->derived Data,进入文件夹下,删除里面所以后的文件夹就能够了。 打开xcode->preference->location->derived Data,进入文件夹下,删除里面所以后的文件夹就能够了。 ...
分类:
编程语言 时间:
2017-07-02 13:08:24
阅读次数:
193
一、Android权限列表: 那么,Android中有哪些受限制性访问的特性呢?具体的特性对应所需要的权限名称又是什么呢?具体可以在Android官方文档中查的。 http://developer.android.com/reference/android/Manifest.permission.h ...
分类:
移动开发 时间:
2017-07-01 18:18:14
阅读次数:
339
作者 彭东林 pengdonglin137@163.com 平台 Ubuntu14.04 64 androidstudio 2.3.3 现象 在创建好模拟器后,点击启动时,模拟器界面刚出来就闪退了 解决 由于是在图形界面点击启动的,看不到任何出错的log,所以我们需要使用命令行启动emulator的 ...
分类:
移动开发 时间:
2017-07-01 09:51:49
阅读次数:
799
# python 读写文件 ## 代码 ``` python#! /usr/bin/pythonimport os,sys try: fsock = open("D:/SVNtest/test.py", "r")except IOError: print "The file don't exist, ...
分类:
编程语言 时间:
2017-07-01 01:05:29
阅读次数:
258
CoordinatorLayout https://developer.android.google.cn/reference/android/support/design/widget/CoordinatorLayout.html public class CoordinatorLayoutext ...
分类:
其他好文 时间:
2017-07-01 01:01:57
阅读次数:
254
Change the "System.Drawing" reference of "CoreCompat.System.Drawing"if you throw The type initializer for 'System.Drawing.KnownColors' threw an except ...