1.1Implement an algorithm to determine if a
string has all unique characters. What if you cannot use additional data
structures?字符串问题,需要先确定是不是只有ASCII码...
分类:
其他好文 时间:
2014-06-11 12:27:53
阅读次数:
247
问题: cannot find -lnlcollect2: error: ld returned 1 exit statusmake: *** [wpa_supplicant] 错误 1解决方法:[fulinux@ubuntu wpa_supplicant]$ sudo apt-get install libnl-dev libssl-dev...
分类:
其他好文 时间:
2014-06-10 13:35:36
阅读次数:
262
在 Java 7 以前,如果要觀察一個目錄下的檔案是否有異動
(新增、修改、刪除),唯一的辦法就是開啟一個 thread,每隔一段時間去檢查一下,當發現有異動,發出異動的訊息。Java 7 提供了 Watch
Service API 解決了這個問題,現在不需要再這麼麻煩且浪費系統資源了,透過這組 A...
安装完Nginx之后,启动报错。[vagrant@localhost sbin]$ sudo
./nginx./nginx: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No ...
分类:
其他好文 时间:
2014-06-08 19:01:47
阅读次数:
294
设置字体出错:txt.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/luculent"));
然后发现,竟然是因为自己没有加上后缀,改成下面这样就好了
txt.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/luculent.ttf"));
出这个错误了先看看名字...
分类:
编程语言 时间:
2014-06-08 15:03:27
阅读次数:
298
在vm下redhat5下安装oracle 11g后,登录sqlplus 报:
sqlplus: error while loading shared libraries: /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc:...
分类:
数据库 时间:
2014-06-07 12:00:29
阅读次数:
303
Generic.xaml is a particular name, you cannot
rename it.
分类:
其他好文 时间:
2014-06-06 20:47:27
阅读次数:
248
最近,用到了pdfcrop,用来去除pdf中空白的边。但是使用pdfcrop
--margins 0 *.pdf 后,给出了错误:Error: pdfcrop cannot call ghostscript
但是我已经安装了CTEX,里面已经包含Ghostscript,所以就不知道什么错误。在网上针...
分类:
其他好文 时间:
2014-06-06 16:49:28
阅读次数:
179
动态 变量类型在运行期间确定下来静态 在编译期确定下来强类型 类型不会发生自动变换,弱类型
类型会自动变,比如double+int -> double类型安全 类型对数据访问有严格控制类型不安全 ...Well-typed programs
cannot "go wrong" ...
分类:
编程语言 时间:
2014-06-06 15:36:16
阅读次数:
238
由于项目的软件版本会逐渐递增,原来的测试脚本在新版本上执行的时候会出现错误1.“The
"App(1.0.1.0)-T(0.0.0." Dialog object was not found in the Object
Repository.”错误2.“Cannot identify the obj...
分类:
其他好文 时间:
2014-06-06 07:28:11
阅读次数:
227