上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
  2010年2月22日
摘要: 选择:select * from table1 where 范围   插入:insert into table1(field1,field2) values(value1,value2)   删除:delete from table1 where 范围   更新:update table1 set field1=value1 where 范围   查找:select * from table1 w... 阅读全文
posted @ 2010-02-22 12:41 lbsx 阅读(190) 评论(0) 推荐(0)
摘要: select top 10 * from a where id not in (select top 30 id from a order by id) order by id关键字:topreference: http://www.ej38.com/showinfo/sql-113227.html 阅读全文
posted @ 2010-02-22 12:38 lbsx 阅读(572) 评论(0) 推荐(0)
  2009年12月19日
摘要: /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy[代码]改为[代码]参考:http://ubuntuforums.org/showthread.php?t=1299820update 2010/4/20经过更新,现在是/usr/share/polkit-1/actions/org.freedesktop.udisk... 阅读全文
posted @ 2009-12-19 13:04 lbsx 阅读(754) 评论(0) 推荐(0)
  2009年12月14日
摘要: c:[代码]结果:[代码]c++:[代码]结果:[代码]mfc:[代码]程序结束时在Output即输出内存泄漏信息。如果需要检测某一段内存:[代码]参考: 1. 这篇帖子解决在c++中如何显示行号,即覆盖原new操作符http://www.gamedev.net/community/forums/topic.asp?topic_id=4844342. MSDN: Memory Leak Detec... 阅读全文
posted @ 2009-12-14 10:24 lbsx 阅读(359) 评论(0) 推荐(0)
  2009年12月10日
摘要: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558673http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554599sudo link /sbin/mount.ntfs-3g /sbin/mount.ntfs 阅读全文
posted @ 2009-12-10 18:38 lbsx 阅读(284) 评论(0) 推荐(0)
  2009年12月8日
摘要: rm -rf /var/lib/info/adobe-flashplugin* 然后在执行 sudo dpkg --remove --force-remove-reinstreq adobe-flashplugin可以先dpkg -L adobe-flashplugin,将相关的文件删掉。参考:http://bbs2.chinaunix.net/viewthread.php?tid=1525123 阅读全文
posted @ 2009-12-08 21:50 lbsx 阅读(213) 评论(0) 推荐(0)
  2009年12月4日
摘要: A、大O的定义:  如果存在正数c和N,对于所有的n>=N,有f(n)<=c*g(n),则f(n)=O(g(n))B、Big Omega的定义  如果存在正数c和N,对于所有的n>=N,有f(n)>=c*g(n),则f(n)=Omega(g(n))C、Big Theta的定义  如果存在正数c1,c2和N,对于所有的n>=N,有c1*g(n)<=f(n)<... 阅读全文
posted @ 2009-12-04 17:56 lbsx 阅读(4654) 评论(0) 推荐(0)
  2009年11月28日
摘要: sicp 1.26 涉及模运算,需要知道模运算的规律1. 模运算是取余运算(记做 % 或者 mod),具有周期性的特点。m%n的意思是n除m后的余数, 当m递增时m%n呈现周期性特点, 并且n越大,周期越长,周期等于n。 例如 0 % 20 = 0,1 % 20 = 1, 2 % 20 = 2, 3 % 20 = 3, ..., 19 % 20= 19 20 % 20 = 0,21 % 20 = ... 阅读全文
posted @ 2009-11-28 17:53 lbsx 阅读(1725) 评论(0) 推荐(0)
  2009年11月16日
摘要: http://xtalk.msk.su/~ott/en/writings/emacs-vcs/EmacsGit.html翻译:http://kzjeef.yo2.cn/articles/%E5%9C%A8emacs%E4%B8%AD%E4%BD%BF%E7%94%A8git%EF%BC%88%E7%BF%BB%E8%AF%91.html有的功能是在vc里面,比如vc-create-repo,新建仓... 阅读全文
posted @ 2009-11-16 09:26 lbsx 阅读(236) 评论(0) 推荐(0)
  2009年11月15日
摘要: 对apache2不熟,折腾了半天,记录一下,主要就是virtualhost那块比较乱Virtual Hosts Settings Virtual hosts allow you to run different servers for different IP addresses, different host names, or different ports on the sam... 阅读全文
posted @ 2009-11-15 14:44 lbsx 阅读(504) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页