自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

daveztong

Trying to be a developer!

  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

转载 关于JAVA字符编码:Unicode,ISO-8859-1,GBK,UTF-8编码及相互转换

因为url传送默认编码是容器的编码,tomcat默认是iso-8859-1.所以,request.gerParameter()获得的值必须转码,除非设置tocmat的默认url编码。   这个是涉及到字符编码的问题   一个字符在网页间传递要经过编/解码的问题     我来具体解释一下这个语句username=new   String(username.getBytes("ISO8859_1

2013-03-14 09:49:33 1132

原创 解决Realplayer在Fedora中播放rmvb没声音的问题

由于mplayer不能播放.rmvb和.rm文件,使用rpm包安装了realplayer,但是播放时,画面和生音相当卡,那是因为内核默认的oss驱动对某些声卡支持的不好,而RealPlayer又默认使用oss 所以我们使用alsa模拟的oss就好了。   只需要安装yum install alsa-oss就行了。

2013-01-06 00:55:31 1006

翻译 Find

Find Table of Contents Introduction to findProblems with other methodsThe Simplest ExampleUsing find with other commandsUsing xargs with findLooking for files with particular namesLooking for file

2012-12-29 23:21:53 931

翻译 Sed - An Introduction and Tutorial

Sed - An Introduction and Tutorial  Quick Links - NEW Sed Commands : label # comment {....} Block = - print line number a \ - Append b label - Branch c \ - change d and D -

2012-12-29 22:08:18 974

转载 Learn Sed

1.简介 sed是非交互式的编辑器。它不会修改文件,除非使用shell重定向来保存结果。默认情况下,所有的输出行都被打印到屏幕上。 sed编辑器逐行处理文件(或输入),并将结果发送到屏幕。具体过程如下:首先sed把当前正在处理的行保存在一个临时缓存区中(也称为模式空间),然后处理临时缓冲区中的行,完成后把该行发送到屏幕上。sed每处理完一行就将其从临时缓冲区删除,然后将下一行读入,进行处理和显

2012-12-29 17:33:51 571

转载 Sed命令的用法

1. Sed简介 sed是一种流编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾。文件内容并没有 改变,除非你使用重定向存储输出。Sed主要用来自动编辑一个或多个文件;简化对文件的反复操作;编写转换程序等。以下介绍

2012-12-29 12:09:27 637

翻译 Linux文件系统结构

Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin

2012-12-29 10:50:54 620

原创 linux下常用维护命令

系统 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -tv

2012-12-27 22:04:50 724

翻译 Bourne Shell Programming

Bourne Shell Programming This document is also available inLaTeX2e andgzipped PostScript formats.The slides that accompanied the original talk are also available inLaTeX2e andgzipped PostScript for

2012-12-27 16:30:48 1219

翻译 UNIX SHELL学习Day1——Quote

部分特殊字符意义列表 Character Where Meaning csh, sh Execute command # csh, sh, ASCII files Start a comment csh, sh Argument separator ` csh, sh Command substitution

2012-12-27 12:25:00 1263

java language specification 7.0

最新java语言规范 Specification: JSR-000901 Java™ Language Specification ("Specification") Version: 7 Status: Final Release Release: July 2011 Copyright © 2011 Oracle America, Inc. and/or its affiliates. All rights reserved. 500 Oracle Parkway M/S 5op7, California 94065, U.S.A.

2012-04-11

空空如也

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

TA关注的人

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