1:UIWebView加载本地的HTML 注意:如何创建工程内的Css,js,html文件,创建iOS -other-Empty 如果Css 则以.css结尾,Js则以.js结尾,Html则是以.html结尾 2:JSPatch的运用 a:OC转JSPatch的地址:http://bang590.g ...
分类:
移动开发 时间:
2016-06-17 00:27:51
阅读次数:
246
In data structure Hash, hash function is used to convert a string(or any other type) into an integer smaller than hash size and bigger or equal to zer ...
分类:
其他好文 时间:
2016-06-15 23:54:18
阅读次数:
199
Given a non-empty string str and an integer k, rearrange the string such that the same characters are at least distance k from each other. All input s ...
分类:
其他好文 时间:
2016-06-15 01:46:08
阅读次数:
298
有些类我们要看他的返回结果。那么就可以用下面的办法。 点击wndow——Show View——other然后如图所示 Active是要测试的这个类所在的工程,log category是默认的。 页面三部分组成,1写测试方法的地方。2 测试过程。3测试结果。常用system。debug();来显示测试 ...
分类:
其他好文 时间:
2016-06-14 15:56:17
阅读次数:
159
Eclipse下Tomcat常用设置 1,Eclipse建立Tomcat服务 1.1 新建Server 首先这里是指,jee版的Eclipse。Eclipse是没有像MyEclipse那样集成Tomcat的,需要我们自己设置。 New -> Other -> Server ,然后选择Apache下的 ...
分类:
系统相关 时间:
2016-06-12 09:31:26
阅读次数:
323
class Other{ public int i; } class Something{ public static oivd main(String[]args){ Other o = new Other(); new Something().addOne(o); } public void a ...
分类:
编程语言 时间:
2016-06-11 13:16:05
阅读次数:
168
1.错误修正提示列表(类似 Eclipse中的Ctrl+1)Keymap->Other->Show Intention Action:默认是Alt+Enter 2.代码提示列表(类似Eclipse中的Alt+/)Keymap->Main Menu->Code->Completion->Basic:默 ...
分类:
其他好文 时间:
2016-06-10 21:39:36
阅读次数:
155
最近用Unity3D导出Apk到手机上出现的问题,开始可以正常安装到手机上。然而在我将导出的Apk在电脑的模拟机运行了几次之后,再次将应用复杂到手机上安装却一直安装失败了。后来在Player Settings中改了一下设置,问题解决。
解决方法:
把Player Settings面板中Other Settings下的Configuration下的Install Loaction选...
分类:
编程语言 时间:
2016-06-10 16:29:31
阅读次数:
552
蜂鸣器是S3C6410开发板上带的一个硬件设备,可以通过向寄存器写入特定的值来控制蜂鸣器发出尖叫。 (1)前提是eclipse中安装了CDT插件。 (2)在eclipse中单击File-New-Other,选择C Project项,单击next进行相应的设置,例如工程名为word_count,然后F ...
分类:
其他好文 时间:
2016-06-06 20:34:04
阅读次数:
159
Logcat打印日志 使用方法Log.i(tag, msg);参数tag: 标签。用于识别Logcat的分类(一般可以使用类名作为标签)数msg: 打印的内容 在eclipse中打开logcat标签Windows -- Show View -- Other -- Android -- Logcat可 ...
分类:
移动开发 时间:
2016-06-06 09:09:05
阅读次数:
214