graybull's Blog

VIM安装与配置

定制vim风格、vim配置Ctags、Taglist、代码高亮..........

1. 定制vim

/etc/vimrc文件定制所有用户的vim风格;

拷贝/etc/vimrc到~目录下,重命名为.vimrc,可定制当前用户的vim风格。

 

继续阅读

[Forward]KDE/QT与GNOME/GTK比较

帖子比较旧,但是写得很好,把KDE和GNOME的发展历史和相互关系描写得十分清晰

 

转自:http://bbs.chinaunix.net/thread-1968232-1-1.html

虽然在商业方面存在竞争,GNOME与KDE两大阵营的开发者关系并没有变得更糟,相反他们都意识到支持对方的重要性—如果KDE和GNOME无法实现应用程序的共享,那不仅是巨大的资源浪费,而且将导致Linux出现根本上的分裂。
     KDE 与GNOME是目前Linux/UNIX系统最流行的图形操作环境。从上个世纪九十年代中期至今,KDE和GNOME都经历了将近十年的漫漫历程,两者也都从最初的设计粗糙、功能简陋发展到相对完善的阶段,可用性逼近Windows系统。图形环境的成熟也为Linux的推广起到至关重要的作用,尽管 Linux以内核健壮、节省资源和高质量代码著称,但缺乏出色的图形环境让它一直难以在桌面领域有所作为,导致Linux桌面应用一直处于低潮。如果大家还有印象,一定会记得1999-2001年间Linux发展如火如荼,当时国内涌现出大量的Linux发行版厂商,但当用户发现Linux距离实用化还有十万八千里的时候,Linux热潮迅速冷却。业界也对此一度灰心失望,其中一部分厂商因无法盈利迅速销声匿迹,另一部分厂商则不约而同将重点放在服务器市场—与桌面市场形成鲜明对比的是,Linux以稳定可靠和低成本的优势在服务器领域获得了巨大的成功。

继续阅读

Crack the password on an Excel VBA project/破解Excel VBA密码

 

I worked with Excel 2003 using the method below. If you need to work with Excel 2007,
you could transform .xlsx file into .xls file first, then have a try to follow the method.
 
  1. Create a new simple excel file.
  2. In the VBA part, set a simple password (say - 1234).
  3. Save the file and exit. 
  4. Open the file you just created with a hex editor. (I use HxD Hex Editor, just google and download it)
  5. Copy the lines starting with the following keys:

    CMG=....    
    DPB=...    
    GC=...
    
  6. FIRST BACKUP the excel file you don't know the VBA password for, then open it with your hex editor, and paste the above copied lines from the dummy file.

  7. save the excel file and exit.
  8. Now, open the excel file you need to see the VBA code in. The password for the VBA code will simply be 1234 (as in the example I'm showing here).
 

 

[q&a] 运行Exceed8.0出错: all xServer displays are in use exceed can not run without a display

description: window 7, Exceed8.0, 运行Exceed query报错:

      window 7 all xServer displays are in use exceed can not run without a display.

 

solution:

 

1.Right click on icon. Then select "properties".
 
2. The properties window will be appeared. Then you will see 4 tabs are General, Compatibility, Security and Details respectively.
 
3. Select Compatibility tab. Then see below of this tab. You will see "Privilege Level" then check the small box in front of "Run this program as an administrator"
 
4. Click "Apply" and "OK"
 
5. Back to the desktop and try to open the shortcut again. Then windows will ask you for acception. Please click "Allow..." then the program will start with normally.




Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee