
软件应用
CodeMasterShiller
一个老码农
展开
-
服务端口配置
在windows系统目录下(一般为system32)的/drivers/etc/子目录下,有一文件名为:services 其中,内容大致如下,第一列记录的就是知名服务的名称,而第二列则是其使用的端口和协议类型 # Copyright (c) 1993-1999 Microsoft Corp.## This file contains port numbers for wel原创 2009-06-19 10:04:00 · 836 阅读 · 0 评论 -
vim状态栏设置
<br />set statusline=%F%m%r%h%w/ [FORMAT=%{&ff}]/ [TYPE=%Y]/ [ASCII=/%03.3b]/ [HEX=/%02.2B]/ [POS=%04l,%04v][%p%%]/ [LEN=%L] 上面的设置会在状态栏依次显示文件名、文件格式、文件类型、光标所在字符的ASCII值、16进制值、所在行、列、文件总行数。<br />set laststatus=2 //使得状态栏和命令行分开原创 2010-07-04 21:59:00 · 6321 阅读 · 0 评论 -
没有密码如何卸载卡巴斯基?
http://bbs.cfan.com.cn/thread-537881-1-1.html 如果忘记卡巴斯基6.0的保护密码, (1)进入安全模式下 (2)打开6.0的安装目录 Kaspersky Anti-Virus 6.0: C://Program Files//Kaspersky Lab//Kaspersky Anti-Virus 6.0 (3)将目录中的avp.exe改名为temp转载 2010-05-22 09:41:00 · 10235 阅读 · 0 评论 -
如何用批处理修改系统path环境变量
from http://lizzme.spaces.live.com/blog/cns!93082F2AED057BFF!232.entry如何用批处理修改系统path环境变量目的: 修改或添加系统path环境变量,如果环境变量中有c:/123,则删除之,如果没有%System32%/qqq则添加该路径.我在批处理中用regedit /e 或 reg export 导出注册表的HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Control/Session Manager/En转载 2010-06-08 16:04:00 · 29119 阅读 · 0 评论 -
用 regedit 命令把注册表 .reg 文件导入注册表- -
from http://luluww.bokee.com/2865816.html把 .reg 文件导入注册表的一般方法是用鼠标双击 .reg 的文件名“执行”它。其实 rededit 程序有一个隐藏的参数 /s,带上它就可以在命令行中导入 .reg 文件: regedit /s xxx.reg文章来源:http://www.zskp.cn/article/detail.htm?id=19544==================================================转载 2010-06-08 17:09:00 · 24145 阅读 · 0 评论 -
mercurial版本控制系统常用命令
<br /><br />mercurial 去中心化的分布式的版本控制系统<br /> <br />官方网站: http://mercurial.selenic.com/<br />实现语言: python<br /> <br />创建工程<br />hg init <project-name><br /> <br />添加文件<br />cd <project-name><br /><add some file><br />hg add<br />或者<br />hg add <file1> <file2原创 2010-08-10 17:06:00 · 926 阅读 · 0 评论 -
linux下安装opencv
installsudo apt-get install libcv-dev libcv-docfix bug under ubuntu 10.04: cannot find -lhighguisudo ln /usr/lib/libhighgui.so.4 /usr/lib/libhighgui.sobuildg++ -g -Wall -Wno-unused-function `pkg-config --cflags opencv` `pkg-config --libs opencv` opencv-t原创 2010-08-16 00:13:00 · 875 阅读 · 0 评论 -
swf解码库libswfdec
<br /> <br />swf解码库<br />sudo apt-get install libswfdec-0.8-dev<br /> <br />example from http://swfdec.freedesktop.org/wiki/SwfdecExamples<br /> <br />//Created by : pepsidrinker@hotmail.com// Date : Sept. 15 2008#include <swfdec-gtk/swfdec-gtk.h>/原创 2010-08-18 11:28:00 · 3546 阅读 · 1 评论 -
如何将彩色图片转换成灰白图片
<br /> <br />http://desktoppub.about.com/od/scanninggraphics/ss/color_to_bw_3.htm<br />Corel Photo-Paint: Image > Convert to... > Grayscale (8-bit) <br />Adobe Photoshop: Image > Mode > Grayscale <br />Adobe Photoshop Elements: Image > Mode > Grayscale (sa原创 2010-08-17 11:53:00 · 3447 阅读 · 0 评论 -
介绍一个RFC浏览器qRFCView
<br />官方网址 http://developer.berlios.de/projects/qrfcview/<br /> <br />ubuntu安装<br />sudo apt-get install qrfcview<br /> <br />软件使用qt编写,可以打开本地的rfc文件,也可以根据你输入的rfc编号直接从网上下载<br /> <br />视图左边有根据rfc文档章节生成的文档结构树,双击可以跳转到相应章节原创 2010-08-25 10:09:00 · 3296 阅读 · 0 评论 -
英文环境下svn签出包含中文的文件时失败的处理方法
<br />LANG="en_US"时,如果服务器上的文件名中包含中文,则check out失败<br /> <br />解决方法<br />export LANG="zh_CN"<br />原创 2010-09-09 21:28:00 · 911 阅读 · 0 评论 -
mantis附件图片预览
为mantis系统bug查看页面附件图片预览添加显示隐藏按钮原创 2010-07-01 20:52:00 · 3165 阅读 · 0 评论 -
mantis的多语言支持特性分析
通过设置(在config_inc.php中设置$g_default_language = {lang})使得mantis系统自动加载lang目录下的strings_{lang}.txt文件,将很多$s_{word_id}类型的变量载入。然后,在显示的时候通过lang_get({word_id})获取。从而达到支持多语言的目的。原创 2010-07-01 20:12:00 · 1998 阅读 · 0 评论 -
vim文件跳转
如果使用vim打开了多个文件,如vim file1 file2 ... fileN可以通过:n 或 :prev来跳转到前一个或者后一个文件还可以通过:first或:last来跳转到第一个和最后一个文件如果你只打开一个文件,如vim file1然后在使用过程中,通过:e file2编辑了第二个文件,这时, :prev是不起作用的可以用:e#返回上一个编辑的文件无论哪两种方式都可以用:bN跳转到打开的原创 2010-04-09 20:35:00 · 3117 阅读 · 2 评论 -
cscope使用
要使用全局路径创建cscope数据库,即cscope.out文件步骤如下:1、 find /path/to/project -name "*.h" > cscope.files如果还需要添加其它类型文件,如cpp,可以 find /path/to/project -name "*.cpp" >> cscope.files2、执行 cscope -b可以根据cscope.files文件生原创 2010-04-08 21:18:00 · 515 阅读 · 0 评论 -
tags文件生成及使用
http://www.winu.cn/space-14160-do-blog-id-76086.htmlctags可以分析程序生成tag文件为vim所用,从而在编写程序时实现函数原型、数据结构声明等快速跳转,很是方便。首先确定你的Linux 系统里安装了ctags。没有的话,请先安装ctags。如果是Debian或者Ubuntu系统,直接在终端上运行:sudo apt-get install ct转载 2010-04-08 21:23:00 · 6814 阅读 · 4 评论 -
CSCOPE manual
CSCOPENAMEcscope - interactively examine a C programSYNOPSIScscope[-bCcdehkLlqRTUuV] [-Fsymfile][-freffile][-Iincdir][-inamefile][-numpattern][-pn][-sdir]DESCRIPTIONcscopeis转载 2010-04-08 21:24:00 · 896 阅读 · 0 评论 -
从纯真ip数据库读取ip地址对应的地理信息的程序
这次又贴一个小程序,是根据luma所写的关于纯真ip数据库格式说明文档而完成了。luma的文章链接地址为:http://lumaqq.linuxsir.org/article/qqwry_format_detail.html本代码借鉴了文中已经贴出的部分java代码的片段本程序可以根据输入的ip地址,显示其对应的地理信息,信息来源于纯真ip数据库文件"QQWry.Dat",从网上所搜可以很容易下载原创 2010-04-07 18:58:00 · 1249 阅读 · 0 评论 -
ubuntu9.10 ALi M5455没有声音解决方法
http://ubuntuforums.org/showthread.php?t=317061Re: ALI m5455 no soundheyI got the same onboard soundcardsound ( ADI AD1888 )Code:lspci | grep audioALi Corporation M5455 PCI AC-Link Con转载 2010-04-07 20:01:00 · 639 阅读 · 0 评论 -
xz压缩文件
gnu开始使用xz文件替代gz文件xz是一种新的压缩格式,其主页如下:http://tukaani.org/xz命令xzunxz文档格式介绍如下:http://tukaani.org/xz/xz-file-format.txtThe .xz File Format===================Version 1.0.3 (2009原创 2010-04-08 19:26:00 · 6339 阅读 · 0 评论 -
Taglist manual
Taglist manual** Plugin for browsing source codeAuthor: Yegappan Lakshmanan (yegappan AT yahoo DOT com)For Vim version 6.0 and aboveLast change: 2007 May 241. Overview转载 2010-04-08 21:21:00 · 1091 阅读 · 0 评论 -
如何编写vim脚本
http://blog.youkuaiyun.com/xianfengdesign/archive/2008/04/21/2312315.aspx http://vcd.gro.clinux.org/转载 2010-04-09 20:33:00 · 1320 阅读 · 0 评论 -
显示/隐藏gvim菜单
map :call ToggleMenuBar()function ToggleMenuBar() if stridx(&guioptions, "m") =~ -1 set guioptions+=m else set guioptions-=m endifendfunction原创 2010-04-09 20:37:00 · 956 阅读 · 0 评论 -
vim标签
vim中的mark功能可以在文档中标记位置,然后快速跳转到以前标记的位置。mark在normal模式进行,快捷键是m,标记的名字是一般可以是字母或数字。如ma可以建立一个标记a使用单引号加标记名字可以跳转到之前做的标记,如 a 可以跳转到标记a的位置(前面按下ma的位置)有一点需要注意,当标记名字为小写字母时,标记只在本文件内有效。如果同时编辑多个文件,需要建立标记在多个文件中跳转,则标记名字必原创 2010-04-09 20:38:00 · 641 阅读 · 0 评论 -
cscope使用
要使用全局路径创建cscope数据库,即cscope.out文件步骤如下:1、 find /path/to/project -name "*.h" > cscope.files如果还需要添加其它类型文件,如cpp,可以 find /path/to/project -name "*.cpp" >> cscope.files2、执行 cscope -b可以根据cscope.files文件生原创 2010-04-08 21:20:00 · 461 阅读 · 0 评论 -
vim强大的g命令
<br /><br />http://vim.wikia.com/wiki/Power_of_g<br /> <br />The global command :g is very useful. Here are some examples showing the power of :g.Contents [show]Brief explanation of :g Edit:[range]g/<pattern>/cmd<br />An Ex command is one starting with转载 2010-12-03 08:50:00 · 8592 阅读 · 0 评论