自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

findsun的专栏

--素心如何天上月

  • 博客(22)
  • 收藏
  • 关注

原创 How to add a menuitem in Nautilus context menu.

1. In src/file-manager/ directory, add command section and menuitem section in nautilus-directory-view-ui.xml.    ...             _label=”Name _Convert”        _tip=”Convert the file name”/>    ...   

2004-11-26 19:23:00 2614

原创 X RECORD extension example

 /*  * To enable record extension in Xorg/XFree86, add the following  line in * Section "Module" *     Load         "record" */#include #include #include #include #include #include #include #include #

2004-11-19 18:33:00 4866 1

原创 Gnome-vfs MIME type example

#include /* for strlen() */#include /* for ctime() */#include #include #include #ifdef LINUX# include /* for MAJOR() und MINOR() */#endif /* LINUX */int main (int argc, char **argv) { if (!gnom

2004-09-06 23:24:00 2606

转载 [zt] Codepage简介

 1. Codepage的定义和历史字符内码(charcter code)指的是用来代表字符的内码.读者在输入和存储文档时都要使用内码,内码分为 单字节内码 -- Single-Byte character sets (SBCS),可以支持256个字符编码.双字节内码 -- Double-Byte character sets)(DBCS),可以支持65000个字符编码.主要用

2004-09-01 22:52:00 3461

原创 Use nocase string as g_hash_table's key

/* ghashtabledemo.c -- GHashTable demo */#include #include void print_entry(gpointer key, gpointer data, gpointer user_data){  /* user_data not used */  g_print("key: %-10s     value: %-10s/n", (g

2004-08-24 22:14:00 2581

原创 How to debug shared librarys with gdb?

The simplest method (maybe the only method) is:1. set a break point in main()2. list the source code or symbol name of the shared library, and set the break point. You could use add-symbol-fil

2004-08-05 07:21:00 2705

原创 GtkHTML programming guide

http://primates.ximian.com/~rodo/programing_with_gtkhtml_tutorial/guadec.htmlSome useful functions of gtkhtml:1. gtk_html_begin_content(), then gtk_html_write(), at last gtk_html_end().2. gtk_ht

2004-08-05 01:51:00 2894

原创 Pango programming guide

If youre using any kind of non-default fonts, youll want to convert your code to use the new PangoFontDescription rather than GdkFont. PangoFontDescription is much, much easier to use; to load a Gdk

2004-08-04 07:16:00 5803 1

转载 [zt] Xft编程文档

http://www.linuxfans.org/nuke/modules.php?name=News&file=article&op=view&sid=1981 cjacker写著 Xft 编程技术一、首先有几点要说明的:1,字体技术已经越发的用户透明。两大UI及其衍生套间都已经还好的彻底封装了字体技术比如,GTK2 采用了pango字体引擎,Qt也很好的封装了Xft及X核心字体实现,所以

2004-08-04 06:52:00 3485

转载 [zt] Creating your own GTK+ widget & adding it to Glade Palette

http://wingtk.sourceforge.net/ishan/widget.html Creating your own GTK+ widget & adding it to Glade PaletteTutorial By: Ishan ChattopadhyayaIntroductionIn this tutorial we would be creating a

2004-08-04 06:49:00 3183

转载 [zt] The GTK+ Theme Architecture, version 2

http://www.gtk.org/~otaylor/gtk/2.0/theme-engines.htmlThe GTK+ Theme Architecture, version 2Theming, the ability for the user to choose different appearances for their applications, was added to G

2004-08-04 06:38:00 3775

原创 培训案例: 一个项目经理的工作日志

  一个项目经理的工作日志: 这一天,我们的部门研发经理把我叫了过去,告诉我我们小组要接手一个新的项目,这个项目已经经过客户和公司两方高层的确认了,最后要求完成的时间是2个月,也就是在6月5日之前必须完成,合同都签署了。然后,研发经理把客户fax过来的需求交给了我。我拿过需求来一看,上面写着: 【XXX机顶盒系统需求】 需要支持HTML4.0的浏览器,支持JavaScript和Flash 支

2004-07-31 09:26:00 8190 5

原创 Konqueror-Embedded之结构分析

  Konqueror-Embedded之结构分析 KIO KIO 是一个网络使能的文件管理类库。这个库包含了几乎所有的你可能要用到的文件管理的方法。事实上,KDE中的文件管理器、Konqueror浏览器都使用KIO来提供它们网络使能的文件管理。。 把网络透明性移入到一个库文件中解决了在KDE1.x中曾经遇到的一个主要问题:应用程序通常依赖一个正在运行的kfm去为它们处理下载任务。显然,使

2004-07-31 09:17:00 4810 4

原创 Stand alone的Spring示例 (AOP)

Referneces: 1. An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1: http://www.onjava.com/lpt/a/4994 2. http://www.springframework.org/docs/wiki/Spring_AOP_Framework.html

2004-07-30 02:42:00 2504

原创 On-Line Rich Text Editor.

FreeTextBox 2.0: Supports Mozilla & IE. Need fee to download source code. FreeTextBox 1.6 and below: GPL project, you can find in SourceForge, but not supports Mozilla. Cross-Browser Rich Text Editor:

2004-07-29 06:33:00 2527

原创 无题

把剑向西风 醉酒高歌危楼东 奈何我生独自愁 看破前生后世往来同 世间太匆匆 是非成败转头空 十年不悔执一念 苟或一醉豪情慰平生

2004-07-29 04:08:00 2106

原创 Add library (classpath) in IDEA 4

Right click the java module item in the project view, the popup menu shows, and click the “Module Settings ...”, then select “Library (Classpath)” tab, then click “Jar/Dir...” button. But you can only

2004-07-29 03:53:00 5421

原创 Stand alone的Spring示例 (IoC)

Reference: 1. 60秒入门教程: http://gabriel.jarchitect.org/spring/index.html   必需的jar文件包括: spring-core.jar, common-logging.jar, 在IDEA中, 运行Java虚拟机的目录并不是classes目录, 因此它在当前目录中无法找到"bean.xml"文件, 使用下面的代码:   import

2004-07-29 03:44:00 2437

转载 [zt] Monty Python & Monty Python Quote

"MONTY PYTHON"(巨蟒)小组成立于60年代后期,成员包括Graham Chapman, John Cleese, Terry Gilliam, Eric Idle, Terry Jones,和Michael Palin。这六位成员在组团之前已经彼此熟识,首先是在大学时代-Graham,John和Eric同在剑桥就读,Terry J和Michael则是在牛津;后来他们又在一些电视喜剧节目

2004-07-29 03:43:00 2367

原创 J2EE without EJB 读书笔记 -- Light weight Container & IoC

容器所应提供的服务包括:1. 生命周期管理2. 查找: 查找被管理对象的引用3. 配置: 使用一致的方法, 来配置被管理的对象4. 依赖性解析: IoC的策略有两种:1. 依赖性查找: 传统的类似JNDI的方法2. 依赖性注入: 使用JavaBean property的方法叫做Setter注入或者type 2,                使用构造函数参数的叫做构造函数注入或者type 3.

2004-07-29 03:43:00 4250 8

原创 Java 动态代理示例

public interface SomeClass {     public abstract void someMethod();     public abstract void someOtherMethod(final String text);}   public class SomeClassImpl implements SomeClass{     private String

2004-07-29 03:40:00 1011

转载 [zt] cglib2 proxy tutorial

http://alexwinston.com/blog/2004/03/23/1080068110000.html  for those that are familiar with aop will have most certainly heard of cglib. for those that have not, cglib provides the ability instrument

2004-07-29 03:38:00 1704

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除