随笔:43 文章:6 评论:16 引用:0
C++博客 首页 发新随笔
发新文章 联系 聚合管理

2009年12月11日

     摘要: 公司所經營項目如下︰

代理︰

國際機票、國內機票、航空保險、電子機票、巴士船票、商務簽證、訂房租車、刷卡服務

廣州-深圳-珠海國際機場飛世界各地單程/往返機票

特惠國內機票最低“2”折起

國際機票︰

香港飛台北/人民幣︰1200 香港飛台中/人民幣︰1230

澳門飛台北/高雄︰人民幣︰1480

  阅读全文
posted @ 2009-12-11 17:48 明明 阅读(211) | 评论 (0)编辑 收藏

2009年11月30日

     摘要: 在抓取网页或读取以前写的程序在存储非acsii码时, 经常会遇到得到的字符串变量如
a= "\u6469\u5c14\u5e84\u56ed"
可以用unicode('\u6469\u5c14\u5e84\u56ed','unicode-escape') 或者'\u6469\u5c14\u5e84\u56ed'.decode('unicode_escape') 来解决  阅读全文
posted @ 2009-11-30 15:46 明明 阅读(263) | 评论 (0)编辑 收藏

2009年10月9日

2009年9月10日

     摘要: from lxml import *
import lxml.html
import urllib2
import lxml.html as H
import sys

if __name__ == '__main__':   阅读全文
posted @ 2009-09-10 18:18 明明 阅读(1041) | 评论 (0)编辑 收藏

2009年5月31日

     摘要: 本文主要解决 Vim 在Windows下的各种中文显示乱码问题,如:
文件乱码、菜单乱码、右键菜单乱码、消息提示乱码、文件关联右键菜单乱码等。


方法很简单,在 _vimrc 中加入以下代码即可:
"""""""""""""""""""""""""""""
"解决windows下的中文乱码问题
"""""""""""""""""""""""""""""
set encoding=utf-8
"set termencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,latin-1  阅读全文
posted @ 2009-05-31 14:45 明明 阅读(373) | 评论 (0)编辑 收藏

2009年5月7日

     摘要: ActivePerl PPM的安装包地址有:

针对版本5.8的有
http://www.bribes.org/perl/ppm, for the www.bribes.org Perl 5.8 repository
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 (ActivePerl Build < 819) / http://theoryx5.uwinnipeg.ca/ppms/ (ActivePerl Build >= 819), for the uwinnipeg Perl 5.8 repository
http://trouchelle.com/ppm/, for the trouchelle Perl 5.8 repository
http://ppm.tcool.org/archives/, for the ppm.tcool.org Perl 5.8 repository
  阅读全文
posted @ 2009-05-07 16:11 明明 阅读(2303) | 评论 (0)编辑 收藏

2009年3月2日

     摘要: 晚上在家正在吃饭, 居然有客户电话.
哎, 没办法, 谁让哪敬业呢.

马上电脑远程
问题: apache 启动后, 进程启动不正常, error日志中报错(child pid 26286 exit signal Segmentation fault (11))

那边的管理员已经自己安装了一个新的apache 问题依旧.

后来还原, 再修改配置文件, 重启服务器等多种尝试后, 无解. 郁闷

最后我们通电话, 他告诉我是不是配置启动8个进程, 但只启动了2个, 再启动就杀掉, 难道是因为?
果然, df 硬盘一看, 可用空间为0...

汗啊.. 又一次载在了这种小问题上.
忙活了一个多小时. 哎.

记录在案, 希望对以后可以有个提醒.  阅读全文
posted @ 2009-03-02 21:48 明明 阅读(155) | 评论 (0)编辑 收藏

2009年2月9日

posted @ 2009-02-09 17:53 明明 阅读(157) | 评论 (0)编辑 收藏

2009年1月7日

     摘要: 在XP下是可以查看进程命令行参数的。使用下面的命令。  阅读全文
posted @ 2009-01-07 09:47 明明 阅读(3118) | 评论 (0)编辑 收藏

2009年1月4日

     摘要: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

这个地址中是微软官方的一些小工具, 可以对系统的一些UI接口做调整.  阅读全文
posted @ 2009-01-04 16:26 明明 阅读(229) | 评论 (0)编辑 收藏
CALENDER
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(3)

随笔档案(43)

文章档案(6)

相册

收藏夹(1)

精彩网站

优秀博客

搜索

  •  

最新评论

阅读排行榜

评论排行榜


Powered By: 博客园
模板提供沪江博客