linux auto logout setting
$> cd
$> vi .profile
# user will be auto logout after 300 seconds.
export TMOUT=300
如果是针对所有用户,则修改/etc/profile文件。
$> cd
$> vi .profile
# user will be auto logout after 300 seconds.
export TMOUT=300
如果是针对所有用户,则修改/etc/profile文件。
发表者
俞 伟军
位置在:
12/27/2008 02:53:00 PM
0
评论
" set the screen width and height, the same as set columns and lines
win 80 25
" columns width of the display
" set co=80
" lines number of lines in the display
" set lines=24
" For Mac OS X you can use something like this: >
set guifont=Monaco:h12
Added utf-8 as the default charset for all renders. You can change this default using:
ActionController::Base.default_charset=(encoding) [DHH]
...now:
config.action_controller.default_charset="utf-8"
Added proper getters and setters for content type and charset [DHH]. Example of what we used to do:
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
...now:
response.content_type = Mime::ATOM
response.charset = "utf-8"
发表者
俞 伟军
位置在:
4/01/2008 10:01:00 PM
0
评论
标签: charset , Parameters , Rails , setting