2007/05 30
把数据备份到两张1G的存储卡之后,把整个硬盘全部格式化了,全部用来安装UBUNTU,目前的/etc/fstab是这样的了:
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
# /dev/sda4
UUID=f9cc7bcb-ae5f-4d3c-969d-23ff7af5fdbc / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
UUID=22385150-5e16-4e5e-8cdd-43be2fe77383 /home ext3 defaults 0 2
# /dev/sda2
UUID=9900d126-3846-4410-af38-4737f8eefa60 /var/www ext3 defaults 0 2
# /dev/sda3
UUID=516897a9-486e-451b-94b8-196dc800efe0 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

20G给/home,10G给/var/www做开发,2G给swp,其他剩下43G,全部默认为/
这样设置之后,可以避免重装UBUNTU需要格式化LINUX所有数据,默认的/文件随便格掉就好,一般也是apt-get获得的,不怎么重要。象一些apache的配置文件如site-enable等也被移出来,放在/var/www/中,原先位置放一个软链接就好。
Defined tags for this entry:

Posted by rollenc

Last modified on 2007-05-30 13:12
2007/05 28
源于: UbuntuSir
原文出处:http://old.ubuntu.org.cn/support/documentation/zhfaq/verasansyuanti
原文作者:www.ubuntu.org.cn
授权许可:创作共用协议
转载人员:ShawnLing
适用版本:所有
文章状态:转载
一:下载字体文件压缩包 http://download.ubuntu.org.cn/software/VeraSansYuanTi.tar.gz
二:使用如下命令解压缩:

tar -xzvf VeraSansYuanTi.tar.gz

三:将 VeraSansYuanTi 目录移动到字体文件夹。

sudo mv VeraSansYuanTi /usr/share/fonts/

四:刷新字体缓存

sudo fc-cache -f

五:备份现有的 fonts.conf

sudo cp /etc/fonts/fonts.conf /etc/fonts/fonts.conf.old

六:使用新的 fonts.conf

sudo cp /usr/share/fonts/VeraSansYuanTi/fonts.conf /etc/fonts/

七:重启X
同时按住 Ctrl +Alt + 退格键 重启 X 。 完成美化。
支持所有版本类
Defined tags for this entry: ,

Posted by rollenc

Last modified on 2007-05-28 08:02
2007/05 28
2
Model View Controller
5
Struts,MVC 的一种开放源码实现
Seagull PHP Framework
7
PEAR Coding Standards
11
JotForm
17
诺基亚手机电池真伪辨别-数字码认证 #1 #2
23
职场九大谎言
十大网站设计错误
24
2007年最佳产品Top100 英文, 及其中的网络和软件产品
27
How the WebOS Evolves?
ERP专业词汇
Defined tags for this entry:

Posted by rollenc

Last modified on 2007-05-28 01:35
2007/05 26
  • 安装IES4Linux
    • 安装wine
       sudo apt-get install wine cabextract
      
    • 下载并安装IES4Linux
      wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
       tar zxvf ies4linux-latest.tar.gz
       cd ies4linux-*
       ./ies4linux
      
    • 安装时,会问你是不是安装IE5,FLASH插件和语言等,选择Y or N即可,不过我安装中文时IE菜单会乱码。
  • 在$HOME/bin中打开IE,登录网银,如招行,手动点击下载控件链接,在打开或保存的提示框中选择打开,不是保存。下载完毕之后就会自动安装。完成之后,刷新页面即可登录。
  • 如果刷新没有结果,尝试一下关闭所有的IE,再重新打开
经过这样以来,我可以没有任何顾虑的,跟微软windows说byebye了。
请参考:IES4Linux的支持网站
Defined tags for this entry:

Posted by rollenc

Not modified
2007/05 26
看到一新闻,“谁见董存瑞托炸药”成焦点
其中的一句话:董存瑞喊的是“卧倒,卧倒” 让我想起了大学法律老师说的笑话:
当年到碉堡下面的,除了董存瑞,还有一人。他们发现碉堡四周光溜溜的,没有支撑炸药的地方。于是,那人就跟董存瑞说,你在这里,我去找根树枝。于是,董存瑞就开始傻等,直到冲锋哨响也没见人回来。这,他才狠命举起炸药包,大喊了一句:“不要相信河南人”。没回来的那人,正是河南人。

Posted by rollenc

Last modified on 2007-05-26 06:13
2007/05 24
把他们公用到了同一个drupal,免得每一个module传两遍。
Dreamhost的支持也不错,目录可以随意定制,赞一个:)

Posted by rollenc

Not modified
2007/05 24
Command-line switches
-cp --converterparams dynamic parameters for a converter, separate values with commas
-ct --customtags comma-separated list of non-standard @tags to pass to the converter as valid tags
-d --directory name of a directory(s) to parse directory1,directory2
-dc --defaultcategoryname name to use for the default category. If not specified, uses 'default'
-dh --hidden set equal to on (-dh on) to descend into hidden directories (directories starting with '.'), default is off
-dn --defaultpackagename name to use for the default package. If not specified, uses 'default'
-ed --examplesdir full path of the directory to look for example files from @example tags
-f --filename name of file(s) to parse ',' file1,file2. Can contain complete path and * ? wildcards
-i --ignore file(s) that will be ignored, multiple separated by ','. Wildcards * and ? are ok
-is --ignoresymlinks Explicitly ignore symlinks, both symlinked directories and symlinked files. Valid options are "on" and "offn" default value is "off"
-it --ignore-tags tags to ignore for this parse. @package, @subpackage, @access and @ignore may not be ignored.
-j --javadocdesc use JavaDoc-compliant description (short desc is part of description, and is everything up to first .)
-o --output output information, format:converter:template (HTML:frames:phpedit for example)
-p --pear Parse a PEAR-style repository (package is directory, _members are @access private) on/off default off
-po --packageoutput output documentation only for selected packages. Use a comma-delimited list
-pp --parseprivate parse elements marked private with @access. Valid options are "on" and "off" default value is "off"
-q --quiet do not display parsing/conversion messages. Useful for cron jobs. Valid options are "on" and "off" default value is "off"
-ric --readmeinstallchangelog Specify custom filenames to parse like README, INSTALL or CHANGELOG files
-s --sourcecode generate highlighted sourcecode for every parsed file (PHP 4.3.0+ only) on/off default off
-t --target path where to save the generated files
-ti --title title of generated documentation, default is 'Generated Documentation'
-tb --templatebase base location of all templates for this parse. Note that if -tb /path/to/here, then templates for HTML:frames:default must be in /path/to/here/Converters/HTML/frames/templates/default/templates and the /path/to/here/Converters/HTML/frames/templates/default/templates_c directory must exist, or Smarty will bail on attempting to compile the templates.
-ue --undocumentedelements Enable warnings for undocumented elements. Useful for identifying classes and methods that haven't yet been documented. Valid options are "on" and "offn" default value is "off"


来源于: phpdoc manual
Defined tags for this entry: ,

Posted by rollenc

Last modified on 2007-05-24 06:46
2007/05 24
{@*}” 用于在docblock中表示注释结束符号 */
-, +, #, o” 用来简写<li>, &ul;ul>, 等列表项,但是不支持多层结构,你只能用它们来表示单层列表
#@+and #@-” #@+是模板开始符,在此申明之后的所有申明,都会自动继承此申明的标记。直到出现模板结束符#@-

Defined tags for this entry: ,

Posted by rollenc

Last modified on 2007-05-24 06:43
2007/05 24
  • <b>
  • <code> Use this to surround php code, some converters will highlight it
  • <br>
  • <i>
  • <kbd> denote keyboard input/screen display
  • <li>
  • <ol>
  • <p>
  • <pre>
  • <samp> denote sample or examples (non-php)
  • <ul>
  • <var> denote a variable name
源自 :phpdoc manual
Defined tags for this entry: ,

Posted by rollenc

Last modified on 2007-05-24 06:43
2007/05 23
cnBeta号称是“中文业界网站”,但在很多的方面做得很烂,而且,对用户提出的抗议表现的很痴呆。
我近期在cnBeta上发表回复,发现浏览器有假死现象,猜了一下,估计是xhhpRequest发送ajax请求是,没有使用异步模式造成的。
查看代码:
http://www.cnbeta.com/js/tem.js

if(window.XMLHttpRequest) {
aj.XMLHttpRequest.open('GET', aj.targetUrl);
aj.XMLHttpRequest.send(null);
} else {
aj.XMLHttpRequest.open("GET", targetUrl, true);
aj.XMLHttpRequest.send();
}

请看上面,第2行,当浏览器为非IE浏览器时,使用的ajax请求为非异步请求。
在firefox中这意为着:发布的请求如果没有获得返回,那么浏览器将不能接受其他的任何操作,产生假死现象。

鄙视cnBeta只会ajax都不会的程序员
鄙视cnBeta连操作流程都不理解的用户体验设计员
鄙视cnBeta对数据不会整理的DBA
鄙视cnBeta对用户信息都不能理解的所有人员

不能只有口头鄙视:
1. 删除右侧对cnBeta的链接
2. 将本站所有对cnBeta的链接设置为rel="nofollow"

Posted by rollenc

Last modified on 2007-05-23 08:55
2007/05 23
我确定,我现在遇到了我事业上的瓶颈。另外的关键,是我一直在矛盾。
1. 坚持互联网与互联网职业形式矛盾。 互联网一直以发展速度快为特点,对于绝大部分的公司企业来讲,开发流程管理的混乱,开发文档的缺失,似乎是作为互联网公司理由当然的特点。
2. 管理与经验的矛盾。我确定我想转型,但是目前我不能很确信我能够管理或者建造一个优秀的团队。我缺少管理的经验,也缺少被优秀的管理的经验。因此,我一直在着一个能够被优秀管理的职位。尚未果,于是萌发,尝试去管理的想法。
3. 地域与职业发展的矛盾。我知道,作为职业发展,北京应该是我必须要去的一个城市,但我并不想离开上海,也并不喜欢去北方。

我只知道,现在我要做的,是不停的,快速的提升自己的能力,多方面的:
学习程序的经验,学习管理的理论,还有,最重要的,学习生活的乐趣。
Defined tags for this entry:

Posted by rollenc

Not modified
2007/05 19
每天早上要遇到的问题,Grub Error 18. 系统进入不了。
没有找到什么很好的办法,硬盘太大了,160G。荤菜。下次找机会升级BIOS。
现在临时的办法是用Ubuntu光盘进入系统Live模式, 然后重启之。Grub就可以正常启动了。不知缘由。

Posted by rollenc

Not modified
2007/05 15
意外的,pandora又能够访问了。不过现在在办公室,没耳机,加上,流量控制,暂时上不了。
晚上见。希望可以找到一度熟悉的声音和体验。
愿,好景常在!

==========
回家之后才发现,pandora还是打不开,而又老友在QQ上提醒我,我办公室的IP是美国的。我惊讶,也试探地访问了GreatWF中的几个关键字和维基百科,竟然一切正常,完全不受GreatWF控制。
纳闷了,不过很爽。
Defined tags for this entry:

Posted by rollenc

Last modified on 2007-06-21 13:07
2007/05 11
4月13号申请的Ubuntu光盘到了,速度挺快的。发帖庆祝!

信封正面
Ubuntu
信封的背面
Ubuntu
邮件中的全部内容(少掉一张,送人了)
Ubuntu
Defined tags for this entry:

Posted by rollenc

Last modified on 2007-05-12 02:14
2007/05 9
操作系统
|-- Ubuntu
|-- Windows

编辑器
|--Eclipse 这是我最爱的编辑器。完全集成php环境的发布包可以在EasyEclipse上找到。由于Eclipse优秀的可扩展性,基于Eclipse还使用到了
    |-- phpEclipse
    |-- subclipse
    |-- JSEclipse
|--Dreamweaver: 大概有一年多没有使用了,不过还是可以推荐一下。以及说明一个彩蛋,Dreamweaver的HTML代码缩进功能:保存混乱的html代码页面,用浏览器打开,全选,复制,然后在DreamWeaver的视图中粘贴。再看你的HTML代码视图。一切完好。不过在含有smarty代码的文件中可能会有些损失。

文本比较工具
|-- UltraCompare for Windows

浏览器
|-- Firefox 最爱的浏览器。和Eclipse一样,也是具有高度可扩展的。我常说,Firefox要是不装插件,那就是一坨。。。插件集包括:
     |--Firebug
    |--Google Toolbar
    |-- IE tab (for Windows)
    |-- Super DragAndGo
    |-- Web Developer
    |-- DownThemAll
    |-- clipmarks
|-- IE: 只在上银行网站会用一下。即便是用,也是在firefox中通过IE Tab使用。顺便强烈鄙视一下所有的不支持Firefox的银行网站。

PHP开发工具包
|-- simpleTest
|-- Smarty

JS开发工具包
|-- Prototype

JS 代码美化格式化工具
|-- JavaScript Code Improver

MySQL数据库UI
|-- SQLyog for Windows
|-- MySQL Query Browser for Linux

数据库设计软件
|-- MySQL Workbench

UML编辑器
|-- Poseidon for UML

播放器
|-- xmms for Linux
|-- 千千静听 for Windows

FTP工具
|-- FlashFXP for Windows
|-- Filezilla for Linux && Windows

远程登录工具
|-- PuTTY
|-- SecureCRT

IM
|-- Gaim Gtalk for Linux
|-- Gtalk for Windows
|-- 飘云TM for Windows 目前已经让QQ下岗了,基本不上了
|-- LumaQQ for Linux

字典
|-- StarDic for Linux
|-- 金山词霸 for Windows

输入法
|-- 搜狗拼音输入法 for Windows
|-- SCIM for Linux

线上应用
|-- 搜索 Google
|-- 主页 iGoogle
|-- 邮箱 Gmail
|-- 书签 Google bookmark
|-- RSS Google Reader
|-- 网站流量统计: Google Analytics
|-- Blog: s9y #1
|-- Wiki: MediaWiki #1
|-- CMS Drupal #1 #2
|-- Photo: Flickr && Pisaca
Defined tags for this entry: , ,

Posted by rollenc

Last modified on 2008-02-14 10:13

(Page 1 of 2, totaling 24 entries)