2009/03
26
2009/03
25
1. sudo apt-get install vsftpd
2. vi /etc/vsftpd.conf
修改以下设置:
2. vi /etc/vsftpd.conf
修改以下设置:
anonymous_enable=NO #拒绝匿名用户
local_enable=YES #使用本地用户
write_enable=YES
local_umask=022
Not modified
2009/03
21
近期在重新学习音标,发现上面的写法大变,和自己以前的写法变化很大.
找了一下资料, 发现以下表格:

特别在新老音标中, 有一些音标形同音不同, 长音也不再有:后缀标示. 头大!
也了解到, 之前我们使用的是英语音标,即Jones音标; 新音标方式是美国音标,即KK音标.
也记起来, 目前我小弟的小学课本使用的也是KK音标.
找了一下资料, 发现以下表格:

特别在新老音标中, 有一些音标形同音不同, 长音也不再有:后缀标示. 头大!
也了解到, 之前我们使用的是英语音标,即Jones音标; 新音标方式是美国音标,即KK音标.
也记起来, 目前我小弟的小学课本使用的也是KK音标.
Last modified on 2009-03-21 23:11
2009/03
19
1. 安装依赖的包
sudo apt-get install libboost-dev automake libtool flex bison
2. 安装ruby, gem
sudo apt-get install ruby rubygem ruby1.8-dev
3.下面make时需要require mkmf,需要sys-proctable
sudo gem install sys-proctable
4. 下载thrift,解压
wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz"
tar -xzf thrift.tgz
cd thrift
4. 安装
./bootstrap.sh
CONFIG_SHELL=/bin/bash ./configure --pref-x=/opt
make && sudo make install
sudo apt-get install libboost-dev automake libtool flex bison
2. 安装ruby, gem
sudo apt-get install ruby rubygem ruby1.8-dev
3.下面make时需要require mkmf,需要sys-proctable
sudo gem install sys-proctable
4. 下载thrift,解压
wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz"
tar -xzf thrift.tgz
cd thrift
4. 安装
./bootstrap.sh
CONFIG_SHELL=/bin/bash ./configure --pref-x=/opt
make && sudo make install
Not modified
2009/03
19
vim的确是个好东西。 简单又快捷。针对在Vim编辑PHP文件,以下是在Ubuntu中的Vim安装及配置:
1. sudo apt-get install vim
2. sudo vi /etc/vim/vimrc
根据vimrc中的提示,Uncommenting一些需要的配置。 支持PHP主要需要解除注释的有以下几处:
1. sudo apt-get install vim
2. sudo vi /etc/vim/vimrc
根据vimrc中的提示,Uncommenting一些需要的配置。 支持PHP主要需要解除注释的有以下几处:
'打开语法高亮
syntax on
'记录上次文件的编辑位置
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif
'自动识别文件类型
if has("autocmd")
filetype indent on
endif
Last modified on 2009-03-19 10:14
2009/03
10
Chromium: Google’s Browser on Linux and Mac! 这个是wine版本, 能用,但不太理想。
如果浏览器是女人……
如果浏览器是女人……
Last modified on 2009-03-10 19:10
2009/03
10
PHP全球聚会在加拿大举行, 目前已经有一些PPT和文档出来了。
先睹为快:
先睹为快:
- Objects for the Masses
- Marcus Borger - Worst PHP Practice 糟糕的PHP实践
- Chris Hartjes - Deployment is not a 4 Letter Word 部署并不是一句话就能搞定的问题
- Fabien Potencier - Symfony 2
- Ilia Alshanetsky - Common optimization MistakesPHP优化误区 优化可以先从硬件,系统, PHP扩展,数据库方面依次展开,而不仅仅只是优化PHP代码
- Marcus Borger - Objects for the Masses
- PHP Extension Writing, PHP扩展编写
- Stefan Priebsch - Managing the Software Life Cycle of PHP Applications PHP软件开发的生命周期
Defined tags for this entry: php
Last modified on 2009-03-10 14:51
2009/03
6
Xfce is a lightweight desktop environment for various *NIX systems. Designed for productivity, it loads and executes applications fast, while conserving system resources." - Olivier Fourdan, creator of Xfce
Xfce 是一款适用于多种 *NIX 系统的轻量级桌面环境。它被设计用来提高您的效率,在节省系统资源的同时,能够快速加载和执行应用程序。 - Olivier Fourdan, Xfce 创始人
Xfce 4.6 embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that together provide the full functionality of the desktop environment. They are packaged separately and you can pick and choose from the available packages to create the best personal working environment.
Xfce 4.6 体现了传统 UNIX 哲学中的模块化和可复用性。它包含一系列的组件,这些组件一起提供了一个桌面环境的全部功能。所有组件都被独立打包,您可以自行选择安装各组件来构件一个属于您自己的最佳工作环境。
XFCE的最大优势是速度快, 占用资源少。
了解更多关于XFCE的内容, 请访问XFCE中文站。
Xfce 是一款适用于多种 *NIX 系统的轻量级桌面环境。它被设计用来提高您的效率,在节省系统资源的同时,能够快速加载和执行应用程序。 - Olivier Fourdan, Xfce 创始人
Xfce 4.6 embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that together provide the full functionality of the desktop environment. They are packaged separately and you can pick and choose from the available packages to create the best personal working environment.
Xfce 4.6 体现了传统 UNIX 哲学中的模块化和可复用性。它包含一系列的组件,这些组件一起提供了一个桌面环境的全部功能。所有组件都被独立打包,您可以自行选择安装各组件来构件一个属于您自己的最佳工作环境。
XFCE的最大优势是速度快, 占用资源少。
了解更多关于XFCE的内容, 请访问XFCE中文站。
Defined tags for this entry: linux
Last modified on 2009-03-05 16:23
2009/03
5
发现看RSS很占时间。特别是在无聊或者比较烦躁的时候,会努力去找点时间来消磨时间。
对我而言,RSS是最好的消磨时间的东西。
一天只看一次RSS, 时间定在晚餐后。 相对与一天阅读3~4次,预计可以省下来半个小时~1个小时的时间。
同时, RSS的订阅需要作一些修改。 一天一次RSS,按照现在的订阅, 那么将导致每次打开Reader,数量都会超过2000. 数据量大了以后, 读RSS的目的就会慢慢变成“消灭数据”, 而不是真正的获取信息。通过几天的阅读之后, 渐渐的精简自己的RSS列表。
感谢Google, 有RSS Trend, 可以让我很容易的过滤掉我阅读率低的Feed。
对我而言,RSS是最好的消磨时间的东西。
一天只看一次RSS, 时间定在晚餐后。 相对与一天阅读3~4次,预计可以省下来半个小时~1个小时的时间。
同时, RSS的订阅需要作一些修改。 一天一次RSS,按照现在的订阅, 那么将导致每次打开Reader,数量都会超过2000. 数据量大了以后, 读RSS的目的就会慢慢变成“消灭数据”, 而不是真正的获取信息。通过几天的阅读之后, 渐渐的精简自己的RSS列表。
感谢Google, 有RSS Trend, 可以让我很容易的过滤掉我阅读率低的Feed。
Not modified















