- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 centos emacs build gsettings error
见http://comments.gmane.org/gmane.emacs.help/96723
2014-03-29 18:28:31 405
转载 set mysql to utf8 encoding
70 down vote For recent version of MySQLdefault-character-set = utf8causes a problem, it's deprecated I think.as Justin Ball says in "Upgrade to MySQL 5.5.12 and now MySQL won’t start,
2013-05-31 23:18:15 899
转载 eclipse the import javax.servlet cannot be resolved ''''
---------------http://stackoverflow.com/questions/4076601/how-do-i-import-the-javax-servlet-api-in-my-eclipse-projectEnsure that you're using at least Eclipse IDE for Java EE developers (with th
2013-05-21 13:41:55 1344
原创 Could not locate a suitable jar utility
卸载了openjdk,换用了oracle jdk1.7 之后 装glassfish。。。。.sh javaee.....sh 时提示 Could not locate a suitable jar utility.。。。。。。上网找了找,感觉JAVA_HOME,PATH,CLASSPATH 都设置的挺对的,参考http://www.nitinkatkam.com/blog/?p=53
2013-05-20 20:41:03 1904
转载 Install Oracle java sdk on ubuntu(wiki how)
http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux
2013-05-01 13:34:03 559
转载 ubuntu 12.10 安装 MyEclipse 10.7
参考:http://www.lihuoqing.cn/code/689.html ps:“我说一句,ubuntu12.10现在Icon=/usr/MyEclipse/MyEclipse\ 10/icon.xpm是找不到图标了,我是把图标移动到上一级目录去了,改成了Icon=/usr/MyEclipse/icon.xpm,这样才找到了图标,现在它貌似\ 不支持了,加了双引号还是不支持。
2013-04-30 23:53:36 1088
原创 ubuntu 下使用ndiswrapper驱动无线网卡
Ndiswrapper is a Linux module which allows Ubuntu to use the Windows driver for wireless cards,--xp??参考网上做法,acer 4752g 上的确可以,但要选择xp的驱动:1.安装ndiswrapperhttp://sourceforge.net/projects/ndiswrappe
2013-04-20 17:55:43 2954
转载 ubuntu 12.04 安装 mariadb
sudo nano /etc/apt/sources.list.d/mariadb.list # 添加以下两句 deb http://mirror.yongbok.net/mariadb/repo/5.5/ubuntu precise maindeb-src http://mirror.yongbok.net/mariadb/repo/5.5/ubuntu precise ma
2013-04-04 00:43:57 2549
原创 .h和.cpp
c++a.h //a.hvoid fun1(); 头文件中只放声明b.cpp //放a.h中fun1的定义#includevoid fun1(){cout<<“hello world!"<<endl;}c.cpp//main函数#include"a.h"//预处理指令把a.h里的代码插入int main{fun1();}c
2012-10-21 17:06:09 296
转载 Recursion http://www.cs.umd.edu/class/spring2002/cmsc214/Tutorial/recursion.html
Recursion Introduction The joke goes that in order to understand recursion, you must understand recursion. The humor in this seems to lie in two places. First, a recursive function is a func
2012-09-11 22:11:31 1130
转载 键盘扫描码
定义 键盘上的每一个键都有两个唯一的数值进行标志。为什么要用两个数值而不是一个数值呢?这是因为一个键可以被按下,也可以被释放。当一个键按下时,它们产生一个唯一的数值,当一个键被释放时,它也会产生一个唯一的数值,我们把这些数值都保存在一张表里面,到时候通过查表就可以知道是哪一个键被敲击,并且可以知道是它是被按下还是被释放了。这些数值在系统中被称为键盘扫描码扫描码大全 扫描码 键
2012-08-27 22:56:38 565
转载 10->2
十进制整数转二进制 如:255=(11111111)B 255/2=127=====余1 127/2=63======余1 63/2=31=======余1 31/2=15=======余1 15/2=7========余1 7/2=3=========余1 3/2=1=========余1 1/2=0===
2012-08-15 09:28:47 349
转载 ASCII码10 和 13
10是换行键,13是回车键。我个人认为这两个概念是从打字机沿用过来的。换行只是表示宽度已经到达显示的终点了,需要换一行显示,接下来还是上文的延续。回车则表示一个段落已经结束,需要开启新的段落。比如在Windows里,记事本有个自动换行的功能,起始就是在需要换行的地方添加了换行符。(没有验证)还比如,在QQ或其他即时通讯软件里,总是存在回车或是Ctrl+回车的操作,这里就是一个换行一个直
2012-08-15 09:27:32 744
转载 转VC中char *name 与 char name[]的区别(基础知识)
#includestdio.h>#includestring.h>main()...{ char*c1="abc"; char c2[]= "abc"; char*c3= (char* )malloc(3); c3="abc"; printf("%d %d %s",&c1,c1,c1); printf("%d %d
2012-08-15 09:16:04 545
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人