Avatar_small

折腾linux的发行版本

linux的发行般可谓是繁星满天,选择多了,想找个自己中意的那可就难了,挑肥拣瘦的折腾来折腾去,可真是让人头疼的一件事! google一下,似乎是有很多专业的介绍,甚至在http://www.zegeniestudios.net/ldc/还有一个linux distribution chooser(我的测试结果是slackware,似乎有点准头),但是最终的选择还是的自己折腾,...

Avatar_small

更改gridview的列标题

GridViewRow HeaderRow = pumpGV.HeaderRow; HeaderRow.Cells[0].Text = "配注间ID"; HeaderRow.Cells[1].Text = "站库ID"; HeaderRow.Cells[2].Text = "所属水井ID"; HeaderRow...

Avatar_small

gridview数据源绑定

gridview1.DataSource = object; gridview1.DataBind();

Avatar_small

Good Linux tool, Module Assistant

Module Assistant is a powerful tool to build Debian kernel modules without re-compile the whole linux kernel. Module Assitant extramly facilitate the process of building kenerl modules by automa...

Avatar_small

Emacs的搜索和替换

增量搜索 C-s isearch-forward C-s C-w 将光标处到其所在词的词尾之间的字符放入搜索缓冲区 C-s C-y 将光标处所在行的行尾之间的所有内容放入搜索缓冲区 注:增量搜索通常不区分大小写,但是如果搜索内容含有不是小写字母的内容,那么将区分大小写 后向增量搜索(即从光标到缓冲区开头方向) C-r ...

Avatar_small

Good Linux tool, Network Manager.

Network Manager is a GUI application powered by dbus for network configuration. Network Manager provides a user-friendly interface to set up the wired and wireless network interface. Network...

Avatar_small

[原创]用C实现了个大小端检测代码,献丑了=,=

用C实现了个大小端检测代码,并不是最好的检测方法,哈哈

Avatar_small

2011-02 Emacs相关微博

294. [emacs][theme] Naquadah theme http://julien.danjou.info/blog/index.html#Naquadah_theme_for_Emacs [2011-02-01 12:04:07] 295. [emacs][orgmode] 听了...

Avatar_small

Tex初学笔记

\documentclass[12pt,a4paper,twoside,fleqn,leqno]{article} \usepackage{zhfontcfg} \usepackage{verbatim} % fleqn 设置行间公式为左对齐,不是居中 % leqno 设置行间公式的编号为左对齐 % exscale 提供了按比例伸缩的数学扩展库 \author{hoho.sd...

Avatar_small

opengl配置

SC写了使用mingw时的opengl配置。由于我是使用VS,记录一下Windows7 下VS2010的opengl配置。由于图形学刚开始学,了解的不多。 1.安装Glut。GLUT是OpenGL应用工具包的缩写,英文全称为OpenGL Utility Toolkit,是一个和窗口系统无关的软件包,可以给我们的学习带来方便。当然,也可以选择不安装。 ...

Avatar_small

Photoresist

When a positive PR is exposed to UV light, it becomes more soluble to the developer. The developed patten is identical to the mask pattern.

Avatar_small

毕业设计笔记(一)

关于mysql连接的问题 之前安装好了 编译的时候要加 -lmysqlclient -I/usr/include/mysql -L/usr/lib/mysql 不然找不到mysql.h 运行的时候一直提示 Error connecting to database: Can't connect...

Avatar_small

ubuntu Trac的安装设置

Trac简介 Trac是Edgewall公司推出的网页界面专案管理软件,尤其擅长软件BUG跟踪方面。 Trac使用Python编程语言开发。在2005年中以前,Trac以GPL发行;直到 0.9 版开始使用修改过的BSD许可证发布。基本上都是属于自由软件的许可证。该软件集成了增强的Wiki功能和版本控制功能,并可通过插件扩展其功能。 由于其插件众多、功能全面,...

Avatar_small

ubuntu10.10+django+apache2+(mod-python 或 wsgi)

这几天一直在折腾django在apache上的部署,网上的资料鱼龙混杂,特将经验记录下来,希望能帮助更多的人。 mod-python: 1.安装apache,mod-python: sudo apt-get install apache2 libapache2-mod-python 2.在/etc/apache2/available/目录下建立配置文件:m...

Avatar_small

Java 文件IO编码

在处理Java文件IO是经常会出现编码问题,在输入输出流中指定文件编码即可 BufferedReader input = null; InputStreamReader reader=new InputStreamReader(new FileInputStream(input_fileName),"gb2312"); input = new Bu...