上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页
  2012年7月10日
摘要: TODO:sudo.cmd:@echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs@echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs@echo objShell.ShellExecute "%1", args, "", "runas" >> 阅读全文
posted @ 2012-07-10 09:25 eshizhan 阅读(704) 评论(0) 推荐(0) 编辑
  2012年7月5日
摘要: 1.vim忘了sudo,怎么保存:w !sudo tee %2.bash快速输入上一次命令最后一个参数快捷键: Alt + .Or$ ls $_3.参数为同一目录多个文件$ cp filename{,.bak}4.替换上一条命令中的一个短语$ ^foo^bar^ 阅读全文
posted @ 2012-07-05 16:40 eshizhan 阅读(191) 评论(0) 推荐(0) 编辑
  2012年6月30日
摘要: VNC 简介VNC 的全称是 Virtual Network Computing,是一种图形桌面系统共享协议。VNC使用 RFB(Remote FrameBuffer)来控制远程计算机。它将键盘和鼠标的时间从一台计算机传输到另外一台计算机上,并更新相关的屏幕背景。VNC 是平台独立的,一个 VNC 标准客户端可以连接到任何一个操作系统架构上的服务器端。除了标准的客户端外,VNC 还提供了 JAVA 客户端和 WEB 客户端。多个客户端可以同时连接到同一个服务器。VNC 最早由 AT&T 提出并开发,VNC的代码按照 GNU 协议发行并已经有了多个不同的发行版本,比较著名的有RealVN 阅读全文
posted @ 2012-06-30 12:34 eshizhan 阅读(14219) 评论(0) 推荐(0) 编辑
  2012年6月3日
摘要: Q:When you iconify and restore a window, cpu is very high, and the window not to show.The cosole show error message like this:error 8: BadMatch (invalid paramter attributes) request 156 minor 6 serial 2325error 9: BadDrawable (invalid Pixmap or Window parmater) request 153 minor 4 serial 2326error 4 阅读全文
posted @ 2012-06-03 22:21 eshizhan 阅读(477) 评论(0) 推荐(0) 编辑
  2012年5月30日
摘要: Q:$ sudo echo 'some' > test-bash: test: Permission deniedA:$ sudo sh -c "echo 'some' > test"Or$ echo 'some' | sudo tee [-a] testtee -a = append 阅读全文
posted @ 2012-05-30 09:30 eshizhan 阅读(920) 评论(0) 推荐(0) 编辑
  2012年5月9日
摘要: Q:当前没有活动的视觉样式,因此与视觉样式相关的操作导致错误。Visual Styles-related operation resulted in an error because no visual style is currently active.A:If you use VisualStyleRenderer,please check Application.RenderWithVisualStyles,because may be OS disable Visual Styles.if (Application.RenderWithVisualStyles){ TODO.... 阅读全文
posted @ 2012-05-09 10:24 eshizhan 阅读(2260) 评论(0) 推荐(0) 编辑
  2012年5月3日
摘要: Q:无法将类型“XXX”隐式转换为“XXX[]”orCannot implicitly convert type 'XXX' to 'XXX[]'只有当Release调试时才出现的,由于没有具体报错位置信息,搁置大半年一直没有解决,今天无意搜到解决方案,大喜,分享之。A:主要原因和引用WebService有关,搜索该关键字"XmlArrayItemAttribute",将typeof(XXX)改成typeof(XXX[]),OK。[via1][via2] 阅读全文
posted @ 2012-05-03 16:56 eshizhan 阅读(2849) 评论(0) 推荐(1) 编辑
摘要: 在VS2010中,当为Windows窗体应用程序添加一个安装项目后,如果项目生成时出现以下错误:验证时发生错误。HRESULT = '8000000A“解决的办法是:使用记事本或其他文本编辑器打开Setup.vdproj文件,删除以下行:"SccProjectName" = "8:""SccLoca... 阅读全文
posted @ 2012-05-03 16:23 eshizhan 阅读(7699) 评论(1) 推荐(1) 编辑
摘要: dig, nslookup, host tools in bind package# apt-get install bind# cat > /etc/resolv.confnameserver 8.8.8.8^Dif you don't need bind server, try following:# cp /usr/bin/dig /usr/bin/dig_# cp /usr/bin/nslookup /usr/bin/nslookup_# cp /usr/bin/host /usr/bin/host_# apt-get remove bind# mv /usr/bin/d 阅读全文
posted @ 2012-05-03 09:16 eshizhan 阅读(891) 评论(0) 推荐(0) 编辑
  2012年4月28日
摘要: s = SELECT t.* FROM tw = WHEREb = BETWEEN ANDl = LIKE '%%'o = ORDER BYinsw = IN (SELECT a FROM a WHERE a )sw = SELECT t.* FROM t WHERE tsc* = SELECT COUNT(*) FROM tst = SELECT t.* ,t.ROWID FROM tf = FOR UPDATEu = UPDATE t SET t. WHERE t1.将以上内容存为shortcuts.txt,复制到X:\Program Files\PLSQL Develop 阅读全文
posted @ 2012-04-28 16:24 eshizhan 阅读(22001) 评论(2) 推荐(2) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页