原创 Java 動態代理示例

public interface SomeClass {     public abstract void someMethod();     public abstract void someOtherMethod(final Stri

原创 [zt] cglib2 proxy tutorial

http://alexwinston.com/blog/2004/03/23/1080068110000.html  for those that are familiar with aop will have most certainl

原创 Pango programming guide

If you're using any kind of non-default fonts, you'll want to convert your code to use the new PangoFontDescription rat

原创 Konqueror-Embedded之結構分析

  Konqueror-Embedded之結構分析 KIOKIO 是一個網絡使能的文件管理類庫。這個庫包含了幾乎所有的你可能要用到的文件管理的方法。事實上,KDE中的文件管理器、Konqueror瀏覽器

原创 [zt] Codepage簡介

  1. Codepage的定義和歷史 字符內碼(charcter code)指的是用來代表字符的內碼.讀者在輸入和存儲文檔時都要使用內碼,內碼分爲 單字節內碼 -- Single-Byte character sets (SBCS),

原创 Stand alone的Spring示例 (AOP)

Referneces: 1. An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1: http://www.onjava.com/

原创 GtkHTML programming guide

http://primates.ximian.com/~rodo/programing_with_gtkhtml_tutorial/guadec.html Some useful functions of gtkhtml: 1. gtk_

原创 無題

把劍向西風 醉酒高歌危樓東 奈何我生獨自愁 看破前生後世往來同 世間太匆匆 是非成敗轉頭空 十年不悔執一念 苟或一醉豪情慰平生

原创 [zt] The GTK+ Theme Architecture, version 2

http://www.gtk.org/~otaylor/gtk/2.0/theme-engines.html The GTK+ Theme Architecture, version 2 Theming, the ability for

原创 X RECORD extension example

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

原创 Gnome-vfs MIME type example

#include <string.h> /* for strlen() */#include <time.h> /* for ctime() */#include <libgnome/libgnome.h>#include <libgno

原创 [zt] Xft編程文檔

http://www.linuxfans.org/nuke/modules.php?name=News&file=article&op=view&sid=1981  cjacker寫著 'Xft 編程技術一、首先有幾點要說明的:1,字體技

原创 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.<commands

原创 Use nocase string as g_hash_table's key

/* ghashtabledemo.c -- GHashTable demo */ #include <glib.h>#include <string.h> void print_entry(gpointer key, gpointer

原创 [zt] Monty Python & Monty Python Quote

"MONTY PYTHON"(巨蟒)小組成立於60年代後期,成員包括Graham Chapman, John Cleese, Terry Gilliam, Eric Idle, Terry Jones,和Michael Palin。這六位