2007/06
6
2007/06
1
昨天不小心,在管理服务时误点击了System communication bus (dbus)服务。结果,service管理立刻退出,再也进不去了。每次启动,都会弹出一个ERROR警告:
在http://ubuntuforums.org/archive/index.php/t-75328.html这里找到了答案:
既然取消掉了,就使用命令加进去。
failed to initialize HAL
在http://ubuntuforums.org/archive/index.php/t-75328.html这里找到了答案:
cd /etc/rc2.d/
ln -s ../init.d/dbus S12dbus
既然取消掉了,就使用命令加进去。
Last modified on 2007-06-02 08:09
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/中,原先位置放一个软链接就好。
# /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: Ubuntu
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
二:使用如下命令解压缩:
三:将 VeraSansYuanTi 目录移动到字体文件夹。
四:刷新字体缓存
五:备份现有的 fonts.conf
六:使用新的 fonts.conf
七:重启X
同时按住 Ctrl +Alt + 退格键 重启 X 。 完成美化。
支持所有版本类
原文出处: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 。 完成美化。
支持所有版本类
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专业词汇
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: links
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菜单会乱码。
- 安装wine
- 在$HOME/bin中打开IE,登录网银,如招行,手动点击下载控件链接,在打开或保存的提示框中选择打开,不是保存。下载完毕之后就会自动安装。完成之后,刷新页面即可登录。
- 如果刷新没有结果,尝试一下关闭所有的IE,再重新打开
请参考:IES4Linux的支持网站
Defined tags for this entry: Ubuntu
Not modified
2007/05
26
看到一新闻,“谁见董存瑞托炸药”成焦点
其中的一句话:董存瑞喊的是“卧倒,卧倒” 让我想起了大学法律老师说的笑话:
其中的一句话:董存瑞喊的是“卧倒,卧倒” 让我想起了大学法律老师说的笑话:
当年到碉堡下面的,除了董存瑞,还有一人。他们发现碉堡四周光溜溜的,没有支撑炸药的地方。于是,那人就跟董存瑞说,你在这里,我去找根树枝。于是,董存瑞就开始傻等,直到冲锋哨响也没见人回来。这,他才狠命举起炸药包,大喊了一句:“不要相信河南人”。没回来的那人,正是河南人。
Last modified on 2007-05-26 06:13
2007/05
24
2007/05
24
Command-line switches
来源于: phpdoc manual
-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
Last modified on 2007-05-24 06:46
2007/05
24
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
Last modified on 2007-05-24 06:43
2007/05
23
cnBeta号称是“中文业界网站”,但在很多的方面做得很烂,而且,对用户提出的抗议表现的很痴呆。
我近期在cnBeta上发表回复,发现浏览器有假死现象,猜了一下,估计是xhhpRequest发送ajax请求是,没有使用异步模式造成的。
查看代码:
见http://www.cnbeta.com/js/tem.js
请看上面,第2行,当浏览器为非IE浏览器时,使用的ajax请求为非异步请求。
在firefox中这意为着:发布的请求如果没有获得返回,那么浏览器将不能接受其他的任何操作,产生假死现象。
鄙视cnBeta只会ajax都不会的程序员
鄙视cnBeta连操作流程都不理解的用户体验设计员
鄙视cnBeta对数据不会整理的DBA
鄙视cnBeta对用户信息都不能理解的所有人员
不能只有口头鄙视:
1. 删除右侧对cnBeta的链接
2. 将本站所有对cnBeta的链接设置为rel="nofollow"
我近期在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"
Last modified on 2007-05-23 08:55
2007/05
23
我确定,我现在遇到了我事业上的瓶颈。另外的关键,是我一直在矛盾。
1. 坚持互联网与互联网职业形式矛盾。 互联网一直以发展速度快为特点,对于绝大部分的公司企业来讲,开发流程管理的混乱,开发文档的缺失,似乎是作为互联网公司理由当然的特点。
2. 管理与经验的矛盾。我确定我想转型,但是目前我不能很确信我能够管理或者建造一个优秀的团队。我缺少管理的经验,也缺少被优秀的管理的经验。因此,我一直在着一个能够被优秀管理的职位。尚未果,于是萌发,尝试去管理的想法。
3. 地域与职业发展的矛盾。我知道,作为职业发展,北京应该是我必须要去的一个城市,但我并不想离开上海,也并不喜欢去北方。
我只知道,现在我要做的,是不停的,快速的提升自己的能力,多方面的:
学习程序的经验,学习管理的理论,还有,最重要的,学习生活的乐趣。
1. 坚持互联网与互联网职业形式矛盾。 互联网一直以发展速度快为特点,对于绝大部分的公司企业来讲,开发流程管理的混乱,开发文档的缺失,似乎是作为互联网公司理由当然的特点。
2. 管理与经验的矛盾。我确定我想转型,但是目前我不能很确信我能够管理或者建造一个优秀的团队。我缺少管理的经验,也缺少被优秀的管理的经验。因此,我一直在着一个能够被优秀管理的职位。尚未果,于是萌发,尝试去管理的想法。
3. 地域与职业发展的矛盾。我知道,作为职业发展,北京应该是我必须要去的一个城市,但我并不想离开上海,也并不喜欢去北方。
我只知道,现在我要做的,是不停的,快速的提升自己的能力,多方面的:
学习程序的经验,学习管理的理论,还有,最重要的,学习生活的乐趣。
Defined tags for this entry: 事业
Not modified
(Page 16 of 34, totaling 497 entries)















