- 博客(58)
- 资源 (17)
- 收藏
- 关注
原创 Ubuntu自带的PDF阅读器无法正确某些含中文的文件
Ubuntu自带有PDF文档阅读器Evince,它体积小,启动速度快,而且功能也比较全,是个很优秀的软件。但对于有些某些没有内嵌中文字体的文档,Evince通常不能正显示出中文。解决的办法当然有很多,如另外安装一个阅读器,如Adobe Reader for Linux,KPDF等,或许能解决这个问题。但问题的根本不是阅读器本身,而是系统缺少某些字体库和配置。evince后台是通过xpdf来进行字串
2008-11-07 15:07:00
680
转载 How To: Manual Network Configuration without the need for Network Manager
In setting up their wireless connection for the first time, Imdiscovering many individuals having problems connecting through NetworkManager or other GUI wireless connection tools. In fact my Netw
2008-11-05 13:45:00
1779
原创 解决: Ubuntu 8.04升级到8.10后,网络连接图标消失
使用Unbuntu的更新管理器自动升级到8.10后,发现任务栏中的网络图标不见了,而直接启动nm-applet会提示:** (nm-applet:7306): WARNING **: applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is alr
2008-11-04 17:04:00
2241
转载 人生八个经典问题
问题一, 如果你家附近有一家餐厅,东西又贵又难吃,桌上还爬着蟑螂,你会因为它很近 很方便,就一而再、再而三地光临吗? 回答:你一定会说,这是什么烂问题,谁那么笨,花钱买罪受? 可同样的情况换个场合,自己或许就做类似的蠢事。 不少男女都曾经抱怨过他们的情人或配偶品性不端,三心二意,不负责任。明知在一起没 什么好的结果,怨恨已经比爱还多,但却“不知道为什么
2008-10-23 14:34:00
462
转载 避免C指针出错的细节
摘自《C++/C编程指南》-林锐--------------发生内存错误是件非常麻烦的事情。编译器不能自动发现这些错误,通常是在程序运行时才能捕捉到。而这些错误大多没有明显的症状,时隐时现,增加了改错的难度。有时用户怒气冲冲地把你找来,程序却没有发生任何问题,你一走,错误又发作了。 常见的内存错误及其对策如下: 内存分配未成功,却使用了它。编程新手常犯这种错误,因为他们没有意识到内存分配会
2008-09-28 11:34:00
533
转载 Re: Greg Kroah-Hartman认为Ubuntu对内核贡献几乎为零
发信站: 水木社区 (Mon Sep 22 21:57:02 2008) Ubuntu根本就是个祸害开源社区发行版。资本家是“无利不起早”的。“新人用Ubuntu系列是最不明智的选择,因为很难利用到别人的经验。Ubuntu修改了太多东西造就了和其它发行版的不兼容。“Ubuntu通过大量散发免费光盘圈走很大一部分初级用户,这部分用户自行解决问题能力相对较差,当遇到问题而又因为系统和别人
2008-09-26 22:03:00
387
转载 Linux基金会: Solaris已穷途末路 Linux将取而代之
2008.09.25 来自:CNBETALinux基金会CEO吉姆·泽默林(JimZemlin)近日指出,Sun Solaris操作系统已是穷途末路,该市场的未来属于Linux和Windows. SunSolaris系统已有16年历史,一度备受企业用户青睐. 随着Linux系统的普及,Solaris似乎有些力不从心.但Sun始终认为,Solaris仍是一款具有重要地位的创新平台.但Lin
2008-09-25 16:31:00
314
转载 Building C/C++ libraries with Automake and Autoconf
Building C/C++ libraries with Automake and AutoconfContents Introduction. libtool Directory structure Installing headers Version numbers Making your library easy to u
2008-06-02 20:01:00
484
转载 Using C/C++ libraries with Automake and Autoconf
Using C/C++ libraries with Automake and AutoconfContents Introduction. CFLAGS and LIBS configure.ac Makefile.am Example Files Recommended ReadingIntroductionI
2008-06-02 19:57:00
574
转载 Learning the GNU development tools
Edition 11998-09-02Eleftherios Gkioulekas @shorttitlepage Learning the GNU development tools Copyright (C) 1998 Eleftherios Gkioulekas. All rights reserved. Permission is granted to
2008-06-02 14:36:00
1457
转载 李开复:21世纪最需要的7种人才
我们都知道21世纪最有价值的是人才,是什么人才呢,就是我今天要演讲的题目。我想我这个演讲有一个很大的假设就是21世纪需要的人才与20世纪、 19世纪有着很大的差别,因为21世纪有几个很重大的革命发生。在21世纪我们更多的工作是靠我们脑力的创造,是靠平等的竞争,已经没有国界的差别,世界 被铲为平地,任何一个国家的人都可以和另外一个国家的人合作或者竞争,而他们都可以接触到、使用到、共享到同样的信息。不
2008-05-20 18:23:00
457
原创 Compiling the GTK+ libraries
Compiling the GTK+ libraries Compiling the GTK+ Libraries — How to compile GTK+ itself Bui
2008-05-19 20:59:00
617
转载 Building GTK apps for MS Windows on Linux
Contents Cross-compiler and binutils Win32 API GTK API for win32 GTK pkgconfig files Configuring and building sources for win32 DLL-building magic Simple makefile example GTK runtime files Message c
2008-05-19 18:55:00
584
原创 VIM 1.7 简明教程
VIM 1.7 简明教程前言1. VIM 是一个文本编辑器,适用于代码编辑。它功能非常强大,这点我逐渐体会到了,但要说用户习惯或方便的话,就因人而异了。2. 本文是我从 Fedora Linux 8 下的 vimtutor 中学习的小结。如果你是使用 VIM 的新手,希望对你有所帮助;高手的话就不必浪费你的时间了。3. VIM 的命令很多,一定要实际使用练习,只记命令是很容易忘记的。4.
2008-05-19 11:37:00
897
转载 RPM 的介绍和应用
本文使用范围: 1、本文是对RPM管理的软件的说明,对通过file.tar.gz 或file.tar.bz2源码包用 make ;make install 安装的软件无效; 2、安装软件时,最好用各自发行版所提供的系统软件包管理工具,对于Fedora/Redhat 您可以参考如下文章;1)Fedora 系统管理软件包工具 system-config-packages,方便的添加和移除系统
2008-05-13 14:28:00
402
原创 My installation of Ubuntu Linux 8.04
It took me quite long time to download the latest version of Unbuntu CD image, that is 8.04, called Hardy Heron internally, from its Chinese homepage.It also took me much time to setup the Ubuntu Li
2008-05-09 19:04:00
373
转载 useful Linux technicals
1更改telnet登录慢的问题:cd /etcvi resolv.conf将里面内容清空2更改root用户不能直接远程登录问题:cd /etccd pam.dvi login注释掉这行#auth required pam_securetty.so //该行注释掉3 挂接USB移动硬盘将移动硬盘挂上. #df 查看Linux下硬盘盘符mount /dev/sda1 /mnt/
2008-05-09 19:02:00
414
原创 C#使用简单方法制作扫雷仿窗体控件
控件及示例源码 MineCtrl说明: 正在学习并使用C#。这周很闲,没什么工作可做,试着写个控件玩玩。 设计得很简单,开发得也很快,但没想到C#做出来的东西确实占内存,而且效率很慢,远比不上C/C++。 这里只做练习使用的,没有进一步做优化。如果真要优化,那改得东西就多了。规格: public const int MINROW = 8; public cons
2008-04-29 13:53:00
1151
原创 C#中读写INI简便方法
1. 首先添加命名空间using System.Runtime.InteropServices; 2. 声明使用的API#region 读写INI文件的API声明 /// /// 添加GetPrivateProfileInt等6个API函数的声明以进行INI文件的读写 /// [DllImport("kernel32")] p
2008-04-03 11:51:00
542
原创 MJD & UTC
所使用的符号:MJD: 修正的儒略日期UTC: 世界协调时Y: 从1900年开始(例如:对于2003年,Y=103)M: 从1到12月D: 从1到31日WY: 从1900 年算起的星期数WN: 根据ISO 8601 规定的星期数WD: 从星期1到星期日(7)K,L,M′,W,Y′: 临时变量×: 乘法int: 取整,忽略了余数Mod 7
2008-03-14 11:59:00
3840
原创 C#线程的基本使用
1,线程的创建与启动using System;using System.Threading;class Test{ static void Main() { // To start a thread using a static thread procedure, use the // class name and method name when y
2008-03-14 11:13:00
549
原创 MSDN: C#编程指南 02
$开发工具和语言 /Visual Studio文档/Visual C#/C#编程指南/对象、类和结构多态性概述当派生类从基类继承时,它会获得基类的所有方法、字段、属性和事件。若要更改基类的数据和行为,您有两种选择:可以使用新的派生成员替换基成员,或者可以重写虚拟的基成员。使用新的派生成员替换基类的成员需要使用 new 关键字。如果基类定义了一个方法、字段或属性,则 new 关键字
2008-01-05 16:22:00
486
原创 MSDN: C#编程指南 01
$开发工具和语言 /Visual Studio文档/Visual C#/C#编程指南/对象、类和结构1. 对象对象具有以下特点: C# 中使用的全都是对象,包括 Windows 窗体和控件。 对象是实例化的;也就是说,对象是从类和结构所定义的模板中创建的。 对象使用属性(C# 编程指南)获取和更改它
2008-01-05 16:17:00
506
转载 几个有关C++的题目
发信人: NetMD (C++ is nothing), 信区: CPlusPlus标 题: 我来出几道C++笔试题,大家仔细想想看发信站: 水木社区 (Sun Oct 22 14:46:01 2006), 站内想了很久才想出这几道题,都是为了说明某些可能碰到的乍一看似乎很合理但是实际上却很灵异的问题,大家仔细想想看,希望能够吸取某些教训在开发中以避免这类问题:)也欢迎其它朋友出题!1。在目前的
2007-08-27 13:37:00
625
转载 Perl regular expressions tutorial - 16 (Pragmas and debugging)
Speaking of debugging, there are several pragmas available to control and debug regexps in Perl. We have already encountered one pragma in the previous section, use re taint; $tainted =
2007-08-20 16:24:00
459
转载 Perl regular expressions tutorial - 15 (A bit of magic: executing Perl code in a regular expression)
Normally, regexps are a part of Perl expressions. Code evaluation expressions turn that around by allowing arbitrary Perl code to be a part of a regexp. A code evaluation expression is denoted (?{co
2007-08-20 16:23:00
504
转载 Perl regular expressions tutorial - 14 (Conditional expressions)
A conditional expression is a form of if-then-else statement that allows one to choose which patterns are to be matched, based on some condition. There are two types of conditional expression: (?(co
2007-08-20 16:22:00
490
转载 Perl regular expressions tutorial - 13 (Using independent subexpressions to prevent backtracking)
The last few extended patterns in this tutorial are experimental as of 5.6.0. Play with them, use them in some code, but dont rely on them just yet for production code.Independent subexpressions
2007-08-20 16:21:00
465
转载 Perl regular expressions tutorial - 12 (Looking ahead and looking behind)
This section concerns the lookahead and lookbehind assertions. First, a little background.In Perl regular expressions, most regexp elements eat up a certain amount of string when they match. For
2007-08-20 16:20:00
450
转载 Perl regular expressions tutorial - 11 (Non-capturing groupings)
We noted in Part 1 that groupings () had two distinct functions: 1) group regexp elements together as a single unit, and 2) extract, or capture, substrings that matched the regexp in the grouping. N
2007-08-20 16:18:00
448
转载 Perl regular expressions tutorial - 10 (Embedding comments and modifiers in a regular expression)
Starting with this section, we will be discussing Perls set of extended patterns. These are extensions to the traditional regular expression syntax that provide powerful new tools for pattern matchi
2007-08-20 16:17:00
498
转载 Perl regular expressions tutorial - 9 (Compiling and saving regular expressions)
Previously, we discussed the //o modifier, which compiles a regexp just once. This suggests that a compiled regexp is some data structure that can be stored once and used again and again. The regex
2007-08-20 16:15:00
400
转载 Perl regular expressions tutorial - 8 (More on characters, strings, and character classes)
There are a number of escape sequences and character classes that we havent covered yet.There are several escape sequences that convert characters or strings between upper and lower case. /l and
2007-08-20 16:12:00
820
转载 Perl regular expressions tutorial - 7 (Using regular expressions in Perl)
The last topic of Part 1 briefly covers how regexps are used in Perl programs. Where do they fit into Perl syntax?We have already introduced the matching operator in its default /regexp/ and arbit
2007-08-20 16:07:00
467
转载 Perl regular expressions tutorial - 6 (Building a regexp)
At this point, we have all the basic regexp concepts covered, so lets give a more involved example of a regular expression. We will build a regexp that matches numbers.The first task in building a
2007-08-20 16:06:00
385
转载 Perl regular expressions tutorial - 5 (Matching repetitions)
The examples in the previous section display an annoying weakness. We were only matching 3-letter words, or syllables of 4 letters or less. Wed like to be able to match words or syllables of any le
2007-08-20 16:02:00
453
转载 Perl regular expressions tutorial - 4 (Extracting matches)
The grouping metacharacters () also serve another completely different function: they allow the extraction of the parts of a string that matched. This is very useful to find out what matched and for
2007-08-20 15:59:00
385
转载 Perl regular expressions tutorial - 3 (Matching this or that)
Sometimes we would like to our regexp to be able to match different possible words or character strings. This is accomplished by using the alternation metacharacter |. To match dog or cat , we form
2007-08-20 15:57:00
418
转载 Perl regular expressions tutorial - 2 (Using character classes)
Although one can already do quite a lot with the literal string regexps above, weve only scratched the surface of regular expression technology. In this and subsequent sections we will introduce reg
2007-08-20 15:56:00
464
Win32 C/C++编写的斗地主游戏程序源码
2010-10-14
LINUX编程白皮书 (上)
2008-05-20
LINUX系统分析与高级编程技术
2008-05-20
linux应用程序开发指南 使用gtk+ gnome库
2008-05-20
LINUX与UNIX SHELL编程指南 (下)
2008-05-20
LINUX与UNIX SHELL编程指南 (上)
2008-05-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人