Posts

Showing posts with the label 電腦網路

自訂 plurk css 之 老闆看不見 版

上班噗浪很危險,如何在老闆出現的時候,只要移動一下滑鼠,就可以即時隱藏所有畫面呢?試看看下面幾招吧!河道從上到下依序為: /* 左上方bar */ #top_bar a {opacity:0; filter:alpha(opacity=0);} #top_bar a:hover{opacity:1; filter:alpha(opacity=1);} /* 右上方bar */ #top_login a {opacity:0; filter:alpha(opacity=0);} #top_login a:hover{opacity:1; filter:alpha(opacity=1);} /* 河道 */ #timeline_holder {opacity:0; filter:alpha(opacity=0);} #timeline_holder:hover{opacity:1; filter:alpha(opacity=1);} /* 所有、我的、私人、回應過的plurk */ #filter_tab {opacity:0; filter:alpha(opacity=0);} #filter_tab:hover{opacity:1; filter:alpha(opacity=1);} /* search 區 */ #pane_search {opacity:0; filter:alpha(opacity=0);} #pane_search:hover{opacity:1; filter:alpha(opacity=1);} /* plurk 區 */ #pane_plurk {opacity:0; filter:alpha(opacity=0);} #pane_plurk:hover{opacity:1; filter:alpha(opacity=1);} /* 發新噗區 */ #main_poster {opacity:0; filter:alpha(opacity=0);} #main_poster:hover{opacity:1; filter:alpha(opacity=1);} /* 打字輸入區塊 */ textarea {opacity:0; filter:alpha(opacity=0);} textarea:hover{opacity:1; filt...

如何自訂 xterm color

在 tcsh/csh shell 的語法 (vi .tcshrc/.cshrc) alias ls 'ls --color' setenv LS_COLORS 'di=94:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=5;41:mi=0:ex=32:*.rpm=31:*.gz=31:*.png=35:*.jpg=35:*.JPG=35:*.rar=31:*.xcf=35' (以上請併為一行) 在 bsh shell 的語法 (vi .bashrc) alias ls='ls --color' LS_COLORS='di=94:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=5;41:mi=0:ex=32:*.rpm=31:*.gz=31:*.png=35:*.jpg=35:*.JPG=35:*.rar=31:*.xcf=35' (以上請併為一行) export LS_COLORS 縮寫代碼如下: di = directory fi = file ln = symbolic link pi = fifo file so = socket file bd = block (buffered) special file cd = character (unbuffered) special file or = symbolic link pointing to a non-existent file (orphan) mi = non-existent file pointed to by a symbolic link (visible when you type ls -l) ex = file which is executable (ie. has 'x' set in permissions). 顏色代碼如下: 0 = default colour 1 = bold 4 = underlined 5 = flashing text 7 = reverse field 31 = red 32 = green 33 = orange 34 = blue 35 = purple 36 = cyan 37 = gr...

在 BSD update source code 奮戰筆記

問題:想要更新 source code 電腦系統:NetBSD 解決辦法:很簡單 > cd /usr/pkgsrc/ > make update 就這樣! 但是我的電腦很慢,要放一個晚上才更新完畢! 參考資料: 1. 雄的 FreeBSD 筆記:系統升級 make world 2. 阿駕零零壹 © 學習筆記:[FreeBSD] make 的相關設定

在 BSD 灌 firefox 奮戰筆記

問題: > cd /usr/pkgsrc/www/firefox > make install => Required installed package digest>=20010302: digest-20060826 found ===> Checking for vulnerabilities in firefox-1.5.0.9 ERROR: remote-information-exposure vulnerability in firefox-1.5.0.9 - see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2894 for more information firefox{,-bin,-gtk1} ...... ERROR: Define ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/firefox 解釋:firefox 灌不起來 電腦系統:NetBSD 解決辦法:修改 Makefile > vi Makefile 最後加上一行 ALLOW_VULNERABLE_PACKAGES=YES 儲存離開,然後 > make install OK!開始灌了!不過要灌很久就是了...... 參考資料: 1. Subject : Re: 'define ALLOW_VULNERABLE_PACKAGES' 2. Re: README.html: cannot find vulnerability list

Stop Plurking!! 噗浪上癮了,怎麼辦?

以下公開我成功戒除噗浪的方法,大家可以如法炮製喔! 編輯>個人設定>自訂外觀>改CSS 找到 /* Main Body and Background of Body */ 最後面加上一行 opacity: 0; filter: alpha(opacity=0); 然後,儲存並更新 就可以啦! 各位噗浪噗得太兇的人,相信這個方法可以阻止你過度噗浪喔!

.tw. 請逃命吧!

Image
今天看到這篇文章: 有在台灣架站/email的朋友,請移到國外去 美台人發函來信: 根據K內部傳來消息,馬政權的思想控制已經上路。他正在學習中國網路上的管制。任何有 .tw. 的網站,帳戶,這些IP都會透過中華電訊集中起來管理,當然內容也會加以審查,而後背後個一個依循IP找上使用者。 還是要再貼一次這張圖 請大家趕快搬家吧!台灣的言論自由,在陳雲林來台之後,就蕩然無存了! 這裡有 免費部落格服務(國外137個,國內19個) ,請自行參考選用

我之所以選擇 blogger 的原因

Image
今天從比利潘大的部落格看到這篇文章: Mobile01公文無碼版 ,裡面有一個連結是 mobile01 詠勝科技有限公司被內政部警政署刑事警察局要求提供數名網友的基本資料以及近一個月的發文 Ip 位址。 當初決定離該某大論壇網站,開始物色 blog 的時候,明知道國內有數個比較知名的 blog 網站,像是無名 wretch、痞客邦 pixnet、中華電信 xuite、樂多 roodo、雅虎 yahoo、天空 yam ...... ,但我選擇了 blogger。 為什麼?不是聽說 blogger 很陽春,什麼都要自己來,介面又不好用嗎?如果考慮人氣、中文環境、功能性、簡易、以及多數已認識網友的棲身之地,國內網站不應該才是首選嗎? 只有一個原因,讓我選擇了 blogger: 『因為他是國外網站,國民黨政府的黑手,伸不進去。』

在 blogger 安裝 feedburner 奮戰筆記

Image
問題: Your feed filesize is larger than 512K. You need to reduce its size in order for FeedBurner to process it. Tips for controlling feed file size with Blogger can be found in Tech Tips on FeedBurner Forums, our support site. 解釋: 我按照 FeedBurner 上面的步驟,結果燒失敗。 錯誤訊息是說,我的 feed filesize 不可以大於 512k,必需要縮小我的檔案大小才行。 試作: (1) 第一步我先確認一下我的檔案是不是真的太大。先到: 自訂(資訊主頁)-> 版面配置 -> 修改HTML -> 下載完整模版 結果檔案沒有超過 512k。 也許我搞錯了,因此我再到: 自訂(資訊主頁)-> 版面配置 -> 修改HTML -> 展開小裝置範本 -> ctrl + a 全選 copy 後另存新檔 結果檔案還是沒有超過 512k,看來問題不在這裡。 (2) FeedBurner 有提供一個解決辦法: How did my feed become invalid? 這裡大概是說,我可能直接把 word 格式的檔案直接 copy 到網站,造成燒錄失敗。 不過我也沒有這麼做,所以問題也不在這裡。 (3) 網路上找到這篇文章: Feedburner feed filesize is larger than 512K ,裡面有提到,首頁的文章數最好不要超過 5 篇,所以要去: 自訂(資訊主頁) -> 設定 -> 格式 -> 顯示 -> 5 (4) 但是這樣還是不行,於是我把這裡也順便改了: 自訂(資訊主頁) -> 設定 -> 網站提供 -> 允許網誌資訊提供 -> 簡短 這樣就可以了! 接下來重新到 FeedBurner 網址登錄,先在首頁輸入自己的 blog 網址: 接下來依照你的 blog 選擇,我用 blogspot,所以選第一行的 atom。 如果要用 rss,請選第二行: 結果就 OK 啦! 接下來要按「Activate Feed」啟動這個 Fee...

20080928

Image

非 root 手動安裝 stardict dictionaries 奮戰筆記

問題: 空有字典殼,沒有字典肉 解決辦法: 超簡單!把字典檔存在家目錄下就可以 電腦系統: Scientific Linux 5.0 要下載的檔案: 1. 21 century bidirectional dictionary 21世紀英漢漢英雙向詞典 2. JMDict-en-ja dictionary 3. JMDict-ja-en dictionary 4. JEDict dictionary(ja-en) 5. EDICT (Japanese/English electronic dictionary) 6. ENAMDICT (Proper name dictionary) 安裝: > cd $HOME > mkdir .stardict > mkdir .stardict/dic > mkdir .stardict/treedict > cd .stardict/ > mv stardict-21shijishuangxiangcidian-big5-2.4.2.tar.bz2 ./ > tar xjvf stardict-21shijishuangxiangcidian-big5-2.4.2.tar.bz2 把想用的字典全部解壓縮在這個目錄下 重開 StarDict 參考網址: 1. dapper 安裝星際譯王(stardict) 2. StarDict Dictionaries

非 root 手動安裝 stardict @ x86_64 奮戰筆記

問題: ./configure --prefix={有安裝權限的目錄} checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool 解釋: 下載檔案: 1. XML-Parser-2.36.tar.gz 2. 安裝: > perl -MCPAN -e shell 一直按 enter cpan> install XML::Parser cpan> exit > tar xzvf XML-Parser-2.36.tar.gz > cd XML-Parser-2.36 > perl Makefile.PL > perl Makefile.PL PREFIX={有安裝權限的目錄}/bin/perl INSTALLDIRS=perl > make > make test > make install 參考文章: 1. Parser perl module is required for intltool

bash / csh 奮戰筆記

寫法上有點不同 > vi .bashrc umask 022 alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias ll='ls -l' alias lm='ls -al|more' alias h='history' >vi .cshrc umask 022 alias rm 'rm -i' alias cp 'cp -i' alias mv 'mv -i' alias ll 'ls -l' alias lm 'ls -al|more' alias h 'history' 參考文章: 1. Bash的環境設定 2. 新增你的慣用指令~/.bashrc 3. Appendix K. A Sample .bashrc File 4. bash, tcsh shell variable experience

非 root 手動安裝 java @ x86_64 奮戰筆記

問題: firefox 出現 需要安裝 java 訊息 解釋: 只裝給 64 bit 的檔案還是不能跑 解決辦法: 缺少 plugins,所以連 32 bit 的檔案也要裝進去 電腦系統: Scientific Linux 5.0 要下載的軟體有: 1. Linux x64 * 2. Linux (自我解壓縮檔) 安裝: > chmod 755 jre-6u7-linux-x64.bin > ./jre-6u7-linux-x64.bin 按 yes 安裝 > cd {有安裝權限的目錄} > mkdir {有安裝權限的目錄}/usr/java > mv jre1.6.0_07/ {有安裝權限的目錄}/usr/java/ > chmod 755 jre-6u7-linux-i586.bin > ./jre-6u7-linux-i586.bin 按 yes 安裝 > cd {有安裝權限的目錄} > mv jre1.6.0_07/ {有安裝權限的目錄}/usr/java/ 按 大寫 N 不覆蓋已存在檔案 > cd $HOME/.mozilla/plugins/ > ln -s {有安裝權限的目錄}/usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so 最後重開 firefox 參考網址: 1. Linux x64 自我解壓縮二進位檔安裝說明 - 1.5.0 2. Linux 手動下載與安裝說明 - 1.5.0, 6.0

非 root 手動安裝 shockwave flash @ x86_64 奮戰筆記

問題: ./flashplayer-installer ERROR: Your architecture, \'x86_64\', is not supported by the Adobe Flash Player installer. 解釋: 直接把 Adobe Flash Player 9 的安裝檔拿來裝是不行的 shockwave flash 在64位元的電腦,還沒有出可以相容的安裝程式,所以要換個方法 解決辦法: 把 32 位元的flash player拿來用 電腦系統: Scientific Linux 5.0 要下載的軟體有: 1. nspluginwrapper 1.0.0 2. Adobe Flash Player 9 ,選擇.tar.gz for linux 安裝: > tar xjvf nspluginwrapper-1.0.0.tar.bz2 > cd nspluginwrapper-1.0.0 > ./configure --prefix={有安裝權限的目錄} > make > make install > make clean > tar xzvf install_flash_player_9_linux.tar.gz > cd install_flash_player_9_linux > mv libflashplayer.so {有安裝權限的目錄}/lib/ # install .so > cd {有安裝權限的目錄}/bin > nspluginwrapper -i {有安裝權限的目錄}/lib/libflashplayer.so # update nspluginwrapper -v -a -u 最後重開 firefox 參考網址: 1. AmJet IT Blog » Fedora 7 x64 上 flash player 的解決方案 2. nspluginwrapper [Web > Gwenole Beauchesne] 3. x86_64 flash 9 plugin on ubuntu 7.04:工作小錦囊:Xuite日誌

一些免費字型

王漢宗自由字型 王漢宗自由字型+螢火蟲字型 自動安裝檔 for windows 王漢宗自由字型與檔名對照說明檔 王漢宗自由字型長相 (原文: http://www.socialforce.tw/phpBB/post_519731.html#519731 )

哪裡可以上傳檔案?

那哪裡可以上傳檔案? 這兩個問題已經是媒抗的 FAQ 了,下面幫大家整理一下,可以免費上傳照片、短片、檔案的網站,其中藍色的連結表示有語法可以貼圖的。 上傳照片: http://photobucket.com/ http://www.webshots.com/ http://flickr.com/ http://www.wretch.cc/ http://www.pixnet.net/ http://photo.xuite.net/ 上傳短片: http://photobucket.com/ http://www.veoh.com/ http://youtube.com/ http://www.metacafe.com/ http://cliplife.jp/ http://www.im.tv/vlog/ http://www.putfile.com/ http://www.jumpcut.com/ http://grouper.com/ http://www.vsocial.com/ http://video.google.com/ http://www.wretch.cc/ 有剪接功能的: http://www.motionbox.com/ http://www.eyespot.com/ 可以下載 youtube 的檔案 http://kej.tw/flvretriever/ 上傳檔案: http://www.yousendit.com/ http://storeandserve.com/ (上傳速度較快) http://nano.sharebig.com/ http://takayuki.badongo.com/ (下載速度較快) http://w12.easy-share.com/ 不定時更新。 (原文發表於:09/20/2006 13:47 http://www.socialforce.tw/blog/blog_10461__8639.html )