自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (2)
  • 收藏
  • 关注

原创 腾讯云CentOS8 搭建图形界面VNC

[root@VM-0-3-centos /]#yum group list[root@VM-0-3-centos /]#yum groupinstall "Server with GUI"[root@VM-0-3-centos /]#systemctl set-default graphical[root@VM-0-3-centos /]#reboot[root@VM-0-3-centos /]#yum install -y tigervnc-server[root@VM-0...

2020-10-16 18:29:37 1398

原创 uri 如何选择 location

如果存在 exact uri 规则与 uri 匹配,至步骤 6 在所有 prefix 规则和 disable regex prefix 规则中进行匹配(与这些规则定义的顺序无关), 如果没有匹配到规则,至步骤 3;如果存在匹配的规则,选择出最长匹配 uri 的规则: 如果规则是 disable regex prefix 类型,至步骤 6 如果规则是 prefix 类型,记住当前匹配的 p...

2019-03-11 18:49:56 246

转载 nginx配置文件中$request_uri到底是指的url里哪部分

在nginx中有几个关于uri的变量,包括$uri $request_uri $document_uri,下面看一下他们的区别 :$request_uri: /stat.php?id=1585378&web_id=1585378$uri /stat.php$document_uri: /stat.php$args #这个变量等于请求行中的参数。$content_length ...

2019-03-11 16:48:40 3930

原创 windows10 sc delete 拒绝访问 失败5

sc delete 拒绝访问,原因是当前用户的权限不足,需要做的是在注册表HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 的值改为0把这个值改成0,这样在自己的电脑上操作才是真正的administration...

2019-03-09 16:01:50 11544 2

原创 install the Zend Debugger V5.2 for ubuntu9.0.4 Desktop

first download the Zend Debugger V5.2 from http://download.csdn.net/source/1712979 or  zend web site.below is the readme content of the Zend Debugger:1. Extract the Zend Debugger package.2.

2009-10-03 17:50:00 860

原创 Ubuntu9.04 desktop下LAMP的安装与配置

工作需要,要建LAMP编程环境。下面是我一边建, 一边写的内容,希望对新手有帮助:LAMPA(Linux+Apache+Mysql+Perl/PHP/Python)是基于Linux,Apache,MySQL和PHP的开放资源网络开发平台,被喻为PHP开发的黄金组合。1.Ubuntu9.04 desktop下安装LAMP组件系统->系统管理->新立得软件包管理器, 打开新

2009-10-02 20:32:00 707

原创 有Linux系统下,Windows XP安装盘不能够启动原因及解决方案(ubuntu9.04 windows xp)

 原因:要在当前安装了 Linux 的计算机上安装 Windows XP(假定您要删除 Linux),您必须手动删除 Linux 操作系统所使用的分区。在安装 Windows XP 的过程中,会自动创建与 Windows 兼容的分区。解决方案(我只介绍我用的方案,带有任何分区工具且可以自启动光盘或U盘,你都可以。参考:http://support.microsoft.com/kb/3144

2009-09-30 14:58:00 1479

原创 Ubuntu Live CD "Root" 密码问题解决

Ubuntu Live CD "Root" 要设定密码之后才能用。下面是密码详细设置过程:如何设定/改变/启用 root 使用者的密码?为了启用 root 帐号 (也就是 设置一个口令) 使用: sudo passwd root当你使用完毕后屏蔽 root 帐号 使用: sudo passwd -l root这个将锁住 root 帐号.  for example:

2009-09-30 11:34:00 6721

原创 gzip 完全理解(0)------写在前面的话

   看linux kernel 断断续续也有几年了,linux 0.11 大部分源代码也看了, linux kernel 是什么也有了一些概念。可是编程时,一个问题一想到指令集级别时,就犯晕。 因此我准备把最新的内核给它扒出来,我感觉大概10万行代码。 计划很宏大,不过没关系,仅仅是为了娱乐,有时间就看一点, 日积月累,我想总会有点收获吧。    内核的一开始就是自解压缩程序,就从gzip开

2009-08-26 17:22:00 457

原创 字符集本地化(locale)与输入法系列讲座-----(6) ubuntu9.04下安装scim 及英文下激活scim

一 首先root@xjl-desktop:~# localeLANG=en_US.UTF-8LC_CTYPE=zh_CN.UTF-8LC_NUMERIC=en_US.UTF-8LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8LC_MONETARY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8LC_PAPE

2009-07-25 17:57:00 892

原创 字符集本地化(locale)与输入法系列讲座-----(5) locale 详解

关于locale的设定,为什么要设定locale 关于locale的设定  locale 是国际化与本土化过程中的一个非常重要的概念,个人认为,对于中文用户来说,通常会涉及到的国际化或者本土化,大致包含三个方面:看中文,写中文,与 window中文系统的兼容和通信。从实际经验上看来,locale的设定与看中文关系不大,但是与写中文,及window分区的挂载方式有很密切的关系。本人认为就像一个纯英文

2009-07-24 09:48:00 1310

原创 字符集本地化(locale)与输入法系列讲座-----(4) Ubuntu Locale配置问题根源解决之道

1. No such file 用locale命令 的时候就会出现locale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Ca

2009-07-23 23:25:00 3160 2

原创 字符集本地化(locale)与输入法系列讲座-----(3) truetype造字程序详解

truetype 介绍见:http://zh.wikipedia.org/wiki/TrueType truetype造字程序图文详解在文字录入工作中,我们经常会碰到有些方言、土语、人名、地名等生僻字或符号无法录入的问题,给工作带来了很多不便,不过没关系,Windows XP所带的“TrueType造字程序”,可以轻松自如的帮我们解决这个问题,现就如何利用该程序创建我们想要的字或符

2009-07-23 11:34:00 1304

原创 字符集本地化(locale)与输入法系列讲座-----(2) linux字体技术原理------X的字体引擎

下面文章参考:http://www.ebok.cn/Operating-System/Linux/Linux-33426.html 我们要理解X的字体引擎. X中支持Truetype字体(一种可放缩字体) 的主要有四种引擎. freetype, xtt, xfs和Xft.     首先, 我们要理解X的字体引擎. X中支持Truetype字体(一种可放缩字体) 的主要有四种引擎. free

2009-07-23 11:22:00 973

原创 字符集本地化(locale)与输入法系列讲座-----(1) UTF-8 and Unicode FAQ

下面文章摘自http://www.linuxforum.net/books/UTF-8-Unicode.html 这篇文章说明了在 POSIX 系统 (Linux,Unix) 上使用 Unicode/UTF-8 所需要的信息. 在将来不远的几年里, Unicode 已经很接近于取代 ASCII 与 Latin-1 编码的位置了. 它不仅允许你处理处理事实上存在于地球上的任何语言文字, 而且

2009-07-21 16:11:00 2503

转载 dpkg的介绍及命令使用

http://ubuntuing.javaeye.com/blog/65650  首先要学习debian的中层包管理dpkg,这是一个基础.简介dpkg是Debian的中级软件包管理器,类似RPM.dpkg是Debian软件包管理系统的中流砥柱,负责安全卸载软件包,配置,以及维护已安装的软件包.也是Debian系统中众多软件包管理工具的后

2009-07-20 16:52:00 636

转载 打开(激活)Ubuntu9.04的root帐号

Ubuntu 中的 root 帐号默认是被禁用了的。在这种情况之下,如果你想要使用 root 的权限来干些事情,就需要 sudo 指令。对某些朋友来说,他们可能需要激活 Ubuntu 中的 root 帐号。在 Ubuntu 中激活 root 帐号的过程如下:1. 在终端执行 sudo passwd root 指令后,系统将会提示你设置一个新的 root 帐号密码。在你没经过当前用户密码验证

2009-07-19 23:50:00 1322

原创 Ubuntu 9.04更新后桌面无法显示问题的解决(输入密码后死机)

更新Ubuntu 9.04后进不了桌面可能有不同情况,以下针对刚解决的问题,把场景和解决的整个过程简单描述,希望对有同样情况的朋友有所帮助.场景:新装完系统,换CN99的源,update和upgrade后重启,登入后只有桌面背景,其他的都显示不了.测试问题(以下带$的为终端命令):1.ctrl+alt+f2,可以进入文字模式.2.$nautilus,能出来文件夹窗口这应该就是gnome

2009-07-19 23:31:00 2037

原创 scim 英文环境下激活 fedora 8

$sudo im-switch -z en_US -s scim im-switch 命令帮你自动设定好在 en_US locale 下使用 scim 的环境变量,重启一下 X 就能看到 scim 的图标和输入中文啦。2、经研究scim的配置文件,发现文件/etc/X11/xinit/xinitrc.d/xinput.sh有一行如此的代码 language_list="as b

2007-12-25 17:46:00 669

the Zend Debugger V5.2 for linux

the Zend Debugger V5.2 for linux

2009-10-03

ajax in action

Dear 'Ajax in Action' Readers,<br><br>This zip file gathers together the source code for the examples in the 'Ajax in Action' book. Code is organized by chapter, and, within each chapter, subfolders for the original and the refactored versions of the example. The folder 'video' contains the code examples created for the 'Ajax in Action' video that can be downloaded from Manning's web site.<br><br>Chapter 1: has no code in it, so nothing to see here!<br><br>Chapter 2: Folder ch02 contains the CSS examples from this chapter. The stylesheet for the minimal 'skeleton' look can be swapped in by changing the commented-out <link> tag.<br><br>Chapter 3: Folder ch03 contains the initial ContentLoader object, and the Rico accordion example<br><br>Chapter 4: Folder ch04 contains both versions of the 'mousemat' example, and both versions ofthe 'musical keys' example.<br><br>Chapter 5: Folder ch05 popups.html is the entry point for the various data retrieval examples. Swap in the commented-out <script> tags in lines 14-18 to run the examples using Content-centric, Script-centric (iframe), script-centric (eval), and Data-centric (XML or JSON) approaches.planets.html shows the Object BRowser in action.<br><br>Chapter 6: ch06/msgtest.html is the entry point for the main notification system example in this chapter. ch06/planets.html revisits the example from chapter 5, with inline notifications added in.<br><br>Chapter 7: ch07/googleSoap.html is the google guessing game example used to illustrate web services and the server-of-origin policy. Noter that you'll need to get your own googfle API license key as described in the book, if you want to run this example, and add it to the html file at line 12.<br><br>Chapter 8: Folder ch08 contains the examples here. domtree_profiled.html, dotnotation_profiled.html and loop_profiled.html are the tests of conventional javascript wisdom. mousemat_profiled.html applies the profiler to the mousemat example from chapter 4. clickbox.html is the performance example.<br><br>AJAX BY EXAMPLE: Chapters 9-13 (Folders ch09 - ch13)<br>We've picked a variety of server technologies - VB.Net, C#, PHP and Java (and the video is backed by some Perl scripts) - and getting all the back-end data feeds working can be a daunting task, as our proof-readers can attest! It may be that you want to get the full example working end-to-end, or it may be that you want to focus on what the client code (i.e. the JavaScript) is doing. To this end, we've provided a set of mock data to run each client against, as well as the live data generation code that runs on the server. The version that uses the mock data has '_static' appended to the filename. So, for example, the double combo example (ch9) has two html files under the 'original' folder:<br> - DoubleCombo.htm points at the VB.Net back end<br> - DoubleCombo_static.htm points at the mock data<br> <br>The htm file in the 'refactored' folder has '_refactored' appended to the title.<br><br>As a bonus, chapter 10 also has a debug version of the refactored code, that uses the debug console described in appendix A. <br><br>We'll be releasing further versions of this zip file as we add more back-end implementations, and improve the documentation. Your feedback is welcome.<br><br>Regards,<br><br>Dave Crane<br>Gloucestershire UK<br>November 2005 <br><br>

2007-12-25

空空如也

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

TA关注的人

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