Author Archives: 杰森

About 杰森

瓷器国非著名程序猿

修改Oracle数据库的字符集

Oracle10G可以采用下面的方法

connect system as sysdba ;
shutdown immediate ;
startup mount ;
alter system enable restricted session ;
alter system set JOB[......]

Read more

Posted in 爱写代码 | Leave a comment

Linux系统中增加Swap分区大小

1、检查当前的分区情况:

[root@localhost]#free -m

2、增加交换分区文件及大小,如果要增加2G大小的交换分区,则命令写法如下,其中的 count 等于想要的块大小。

[root@localhost]# dd if=/dev/zero of=/home/swa[......]

Read more

Posted in 爱写代码 | Leave a comment

markdown maven plugin

因想在自己的maven小项目中用markdown写文档,但没有找到markdown的maven插件,故自己动手造了一个。

maven 中的配置:

<build>
	<pluginManagement>
		<plugins>
			<plugi[......]

Read more

Posted in 爱写代码 | Tagged , | Leave a comment

eclipse中用空格替代制表符

其效果为:按一次制表符,出现“4个空格”,而不是“4个空格长度的制表符”。

设置步骤:窗口(windows)->首选项(preferences…),
在左边选Java->代码样式(code style)->格式化程序(Formatter),
右边点“显示(edit)”[......]

Read more

Posted in 爱写代码 | Tagged | Leave a comment

Windows 7 共享 Wifi 批处理脚本

@echo off
rem SSID广播的名称
set SSID=hotspot.sinobro.com
rem 用户安全密钥应为 8 到 63 个 ASCII 字符组成的字符
set PASS=1234567890

:MENU
set Choice=
cls
echo.
ec[......]

Read more

Posted in 爱上网, 爱写代码 | Leave a comment

【转】iptables配置文件解析

#头两行是注释说明

# Firewall configuration written by system-config-securitylevel # Manual customization of this file is not recommended.
#使用filter表
*filte[......]

Read more

Posted in 爱写代码 | Tagged | Leave a comment

HTML4和HTML5之间的10个主要不同

HTML5是最新的HTML标准,或迟或早,所有的web程序员都会发现需要使用到这个最新的标准,而且,很多人都会感觉到,重新开发一个HTML5的网站,要比把一个网站从HTML4迁移到HTML5上容易的多,这是因为这两个版本之间有很大不同之处。

事实上,HTML5并没有对HTML4做什么重大的修改[......]

Read more

Posted in 爱写代码 | Tagged | Leave a comment

Node.js静态文件服务器实战

请君移步:http://cnodejs.org/blog/?p=3904

Posted in 爱写代码 | Leave a comment

智慧的提问

啄木鸟社区:智慧的提问
http://wiki.woodpecker.org.cn/moin/AskForHelp

Posted in 爱上网, 爱写代码 | Tagged , | Leave a comment

linux下打包及解包命令汇

.tar
解包:tar xvf FileName.tar
打包:tar cvf FileName.tar DirName
(注:tar是打包,不是压缩!)
———————————————
.gz
解压1:gunzip FileName.gz
解压2:gzip -d FileName.g[......]

Read more

Posted in 爱写代码 | Tagged | Leave a comment