utf-8中文在source insight中显示为乱码,写了一个简单脚本,在linux下将代码转换为GBK格式,然后在source insight下正常查看. #!/bin/sh function conv() { echo "Converting $1" enca -L zh_CN -x GBK $1 } function walk() { for file in `ls $1` do if [ -d $1"/"$file ] then walk $1"
前言 Rxjava是NetFlix出品的Java框架, 官方描述为 a library for composing asynchronous and event-based programs using observable sequences for the Java VM,翻译过来就是"使用可观察序列组成的一个异步地.基于事件的响应式编程框架".一个典型的使用示范如下: Observable.create(new ObservableOnSubscribe<String>
A New Stone Game Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5769 Accepted: 3158 Description Alice and Bob decide to play a new stone game.At the beginning of the game they pick n(1<=n<=10) piles of stones in a line. Alice and Bob
当出现 linker command failed with exit code 1 (use -v to see invocation) 的错误总结,具体内容如下: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_AppDelegate", referenced from: objc-class-ref in main.o ld: symbol(s) not found for architectu
哈哈,看到了一篇我最感兴趣的领域的新闻报导,可以深挖里面的各种细节. Quanta Magazine: Illuminating Science - 原文出处 卡内基·梅隆大学 - Tai Sing Lee 谷歌学术 大学官网(真牛逼,论文多,引用率高) Intelligence Advanced Research Projects Activity (IARPA) 高级智能研究计划 Wiki Wei-Chung Allen Lee - Instructor in Neurobiolog
近日在写js,在myeclipse中没有jquery代码的提示着实不方便,在网上使用度娘搜索添加提示方式,试了多种,现经测试以下方式可取. 1.打开help菜单下的install from site... ,如图 2.在弹出的对话框中点击add按钮,添加name(aptana)及location( http://download.aptana.com/studio3/plugin/install ) 信息 3.去掉group items by category的勾选,然后点击select all