Archive for 九月, 2007

勃勃素 與 喬寶寶

bobosu.jpg

Previous | Next

糟糕!我發現我愛上了喬寶寶~

喬寶寶個人資料

喬寶寶部落格

張貼留言

Perl 對於二進位資料的存取

手頭上只有Learning Perl,對於二進位資料存取的相關資料付之厥如,其實很簡單,只要在filehandle前面下binmode的指令就可以了。

下面的範例檔是從網路上抓一個pdf格式的vim reference card,然後存在本機的目錄裡頭…

#! /usr/bin/perl -w
use strict;
use LWP::UserAgent;
use HTML::Parser;
my $http_method = 'GET';
my $http_server = 'tnerual.eriogerg.free.fr';
my $html_page = 'vimqrc.pdf';
my $http_port = 80;
my $wwwb_useragent = new LWP::UserAgent;
my $wwwb_url ='http://' . $http_server . ':' . $http_port . '/' . $html_page;
my $wwwb_request = new HTTP::Request $http_method => $wwwb_url;
my $local_path = "> /home/blackdidi/tmp/" . $html_page;
my $wwwb_response = $wwwb_useragent->request( $wwwb_request );
open OUTPUT, $local_path or die "can't open file $html_page";
binmode OUTPUT;
print OUTPUT $wwwb_response->content;
close OUTPUT;

留言 (4)

隔壁正在算塔羅牌…

一個問題100圓,比色情按摩一節要來的便宜多了。

隔壁的女子透過塔羅牌來判斷未來是否要換工作,紙牌翻來覆去,而身材曼妙的女師嘴巴滔滔不絕,傾聽的女子則心情坎刻,我身處在另一個世界啊!

張貼留言

Edwin Starr – War

原來反戰也可以這麼開心,也難怪申請進入聯合國也可以這麼歡樂了~

What is it good for. Absolutely nothing!

….It ain’t nothing. But heart breaker.

War, huh, yeah
What is it good for
Absolutely nothing
Uh-huh
War, huh, yeah
What is it good for
Absolutely nothing
Say it again, y’all

War, huh, good God
What is it good for
Absolutely nothing
Listen to me

Ohhh, war, I despise
Because it means destruction
Of innocent lives

War means tears
To thousands of mothers eyes
When their sons go to fight
And lose their lives

I said, war, huh
Good God, y’all
What is it good for
Absolutely nothing
Say it again

War, whoa, Lord
What is it good for
Absolutely nothing
Listen to me

War, it ain’t nothing
But a heartbreaker
War, friend only to the undertaker
Ooooh, war
It’s an enemy to all mankind
The point of war blows my mind
War has caused unrest
Within the younger generation
Induction then destruction
Who wants to die
Aaaaah, war-huh
Good God y’all
What is it good for
Absolutely nothing
Say it, say it, say it
War, huh
What is it good for
Absolutely nothing
Listen to me

War, huh, yeah
What is it good for
Absolutely nothing
Uh-huh
War, huh, yeah
What is it good for
Absolutely nothing
Say it again y’all
War, huh, good God
What is it good for
Absolutely nothing
Listen to me

War, it ain’t nothing but a heartbreaker
War, it’s got one friend
That’s the undertaker
Ooooh, war, has shattered
Many a young mans dreams
Made him disabled, bitter and mean
Life is much to short and precious
To spend fighting wars these days
War can’t give life
It can only take it away

Ooooh, war, huh
Good God y’all
What is it good for
Absolutely nothing
Say it again

War, whoa, Lord
What is it good for
Absolutely nothing
Listen to me

War, it ain’t nothing but a heartbreaker
War, friend only to the undertaker
Peace, love and understanding
Tell me, is there no place for them today
They say we must fight to keep our freedom
But Lord knows there’s got to be a better way

Ooooooh, war, huh
Good God y’all
What is it good for
You tell me
Say it, say it, say it, say it

War, huh
Good God y’all
What is it good for
Stand up and shout it
Nothing

張貼留言

巨人隊決定不再續簽 Barry Bonds

相關訊息可以在www.barrybonds.com看到。

Barry Bonds 知道這個消息後,對於球團沒有早點讓他知道感到有點遺憾,因為他錯失了一個機會跟舊金山的球迷道別,他在文章的最終也提到了關於世界大賽的追尋仍未結束,這篇文章寫的很好,有機會大家可以看看。

張貼留言

可愛的威瑪犬

weimaraner-pissed.jpg

留言 (3)

Perl module for SQLite

http://search.cpan.org/dist/DBD-SQLite/lib/DBD/SQLite.pm

http://search.cpan.org/~timb/DBI-1.59/DBI.pm

張貼留言

Unforgiven 殺無赦

unforgiven.jpg

前一陣子跟小K比,在IMDB Top 250中誰看過的片子比較多,無意間發現了殺無赦名列117,這部片我已經不知道看過多少次了,每次看都還覺得很讚,不論是音樂、畫面、選角與演員的演技跟劇情的轉折都非常的傑出。

片中有多說對白都很酷…例如下面這段對話,把字改改,套用在職場上,還蠻貼切的!

Bill Daggett: I don’t deserve this… to die like this. I was building a house.
Will Munny: Deserve’s got nothin’ to do with it.

張貼留言

屎公公的蛋蛋哀愁

smoochy.jpg

今天陪Smoochy去台大動物醫院開刀,Smoochy心臟向來不太靈光,麻醉風險頗大,所以聽從醫生的建議,除了切除乳腺(因為乳頭裡頭有硬塊),也順便拿掉睪丸,以防後患。前幾天一直在想,Smoochy 身為老狗,一定從未想到自己居然也會那麼一天跟公園的其他的公拉拉一樣變成公公,而我身為他的主人也同樣的難以接受。

10點進開刀房,近2點才差不多搞定 ,開刀前林欣怡醫師還跟我說…”Smoochy的最後一個乳頭長在陰莖旁邊,如果要切除的話那部分需要縫合,所以陰莖那邊可能會有一點點歪”,我呆了數秒,感覺有點聽不太懂,就問道 “你的意思是Smoochy未來尿尿的時候都會噴到腳嗎?”,林醫生面露尷尬的笑容說”應該不會那麼嚴重吧”….我說話是不是太直勒!? 本來計畫中要拿掉胸腔旁邊的脂肪瘤,最後因為時間不夠而作罷,不過一切還算順利。

Smoochy回家後因為戴了維多利亞項圈(防止他亂舔傷口),不太習慣,走路開始有一點跌跌撞撞,後來在我房間居然還把我的筆記型電腦撞到桌下,我差一點大爆炸了,不過想起他從未犯過這樣子的錯誤,只是因為戴了那個醜陋的項圈才搞成這樣,也就不跟他計較了。

屎公公現在站在我旁邊,不過我看不到他的表情,因為他的臉完全被面罩給擋住,不過他一直搖尾巴,我有點不太理解,如果我的睪丸被搞掉,我是一定不會搖尾巴的。

留言 (2)

Organizational Culture

“Senior management should identify and encourage fresh ideas from three groups who tend to be underrepresented in strategy making: employees with youthful perspectives; employees who are far removed from company headquarters; and employees who are new to the industry. Each group is capable of challenging company orthodoxy and stimulating new ideas.”

–Kotler Keller Marketing Management 12e, pp.51

留言數(1)

較舊的文章 »