說謊的技巧在於七分真話三分假話,隨著年齡
與經驗的增長,感覺到說謊愈來愈臉不紅氣不喘了,
道德感日漸低落,雖然說假的事情做久了或許就會
變真的,不過我實在不喜歡這樣,這就是長大嗎?
2009年4月11日 星期六
說謊
張貼者: kinju 於 4/11/2009 12:42:00 上午 0 意見
標籤: 心情隨筆
橫山家之味
這部片子雖然只是描述一個平凡家庭藉由過世長子的忌日而重聚
,在外地生活的大姊(不知道叫啥名字)、二哥(阿部寬)帶著剛結褵
的妻子與兒子返家探親短短兩天一夜所發生的故事,但是導演卻
能深刻刻畫了家中成員每個人的性格:
二哥阿部寬似乎因為從小就要被父親拿來與兄長比較,感受到相當
的壓力,總是想在父親面前證明些什麼.....
大姊雖然看起來散散的,不過卻是努力成為家庭內的黏著劑。
阿部寬的老婆夏川結衣,維持在日劇"不能結婚的男人"中的形象
,是一個很懂得體貼他人的女人。
橫山家的家長(老父親)是一個觀念守舊的男人,沙文主義很重,
但是對他身為醫生的工作感到自豪也非常的執著,甚至把工作
看的比家庭重要。
橫山家的老母親,是一位傳統的女性,一生都奉獻給家庭,甚至
曾隱忍丈夫的出軌,說的話有時辛辣且能命重要害,是印象中傳統
母親的代表。
真是一部描述人性與家庭的好電影。
張貼者: kinju 於 4/11/2009 12:13:00 上午 0 意見
標籤: 生活雜記
2009年4月9日 星期四
SVN + Apache 2.2 Authentication Set Up
I have tried twice to start up a simple svn server with either svnserve daemon or
apache module, even both.
But every time when I want to rebuild a server in different machines, I have to
waste my time looking up Internet resource. Therefore, I determined to write a easy document about the whole procedure just in case I should forget once again.
Platform: winxp sp3 & IBM X31
1.Download SVN binary with apache module from here
2.Download apache package and install it.
After installation, enter localhost to see if apache service works.
3.Copy bin/mod_dav_svn.so and bin/mod_authz_svn.so under svn installed directiry to the Apache modules directory.
4.Set system environment variable "path" to svn insatlled directory
subfolder "bin" and reboot so that svn support dll's are visible to
apache service.
5. Edit the Apache configuration file (httpd.conf) and make the following changes:
5a. Uncomment the following two lines:
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_module modules/mod_dav.so
5b. Add the following two lines to the end of the LoadModule section:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
6. Add the following code snippet in th end of http.conf
# /svn_repos attribute refers to http uri.In
# this example, it should be http://localhost/svn_repos/
#
DAV svn
SVNParentPath D:/svn_repos/
# This indicates the absolute path where your
# respositories reside in your machine
# Apache authentication begins...
AuthType Basic
AuthName "Subversion repository"
AuthUserFile D:/svn_repos/apache_authz
# Generate this "apache_authz" with htpasswd tool under apache installed
# directory "bin" subfolder with following
# command:
# htpasswd -cm path to your file username
# ex. htpasswd -cm D:/svn_repos/apache_authz kinju
# -c option means "create" Next time when you want to
# add a new user, you should omit -c option like that
# htpasswd -m D:/svn_repos/apache_authz kinjuplus
# This program should prompt you to enter password twice.
Require valid-user
### apache auth end
### svn auth begin
# our access control policy
AuthzSVNAccessFile D:/svn_repos/svn_authz
# authentication if necessary
Satisfy Any
### svn auth end
#
7. Edit svn auth policy in configuration file
as you define in http.conf previously
[groups] #define group syntax: groupname = user1,user2,....
test-developers = kinju
[/:] #repository root
*= r
@test-developers = rw
[test:/] # "test repository"
*= r
@test-developers = rw
[test:/test] # A test folder under test repository
@test-developers = rw
[test2:/] #"test2 repository"
*= r
@test-developers = rw
Tips: You must create your repository with svnadmin command line tool like that
"svnadmin create --fs-type fsfs NewRepo."
On the contrary, creating a repository with TortoiseSVN(烏龜), you probably
will encounter a error. This is a bug dued to a compatibility issue in new
version of TortoiseSVN. Refer to here
張貼者: kinju 於 4/09/2009 01:43:00 下午 0 意見
標籤: 筆記