最近,blog的post越來越多爬蟲回文。
第一篇是寫學習輔導實務的課程,
第二篇是西螺武術的。
感覺看的關鍵字,是關於幸福與學習有關的。
這樣就可以騙取使用者按他們的連結,
反向的增加,他們的點擊率。
非常邪惡的作法,
只不過以前是人做的,到處留言留連結,
現在,這些自動化了。反而覺得邪惡。
PC@Pixnet
PC@NUWeb
PC@Wretch (技術文章 台灣武術 心情)
flashc@blogspot (技術文章)
peicheng5@blogspot (北京日記)
NUWeb
peicheng
flashc about 七崁武術(金鷹拳 太祖拳)介紹
BBS
東海大學資訊傳奇 P_peicheng
telnet://inf.cs.thu.edu.tw
中正築夢園 P_peicheng
telnet://cd.twbbs.org
var json_medal={"medal_chi":"
排名<\/th> | 国家/地区<\/th> | 金<\/th> | 银<\/th> | 铜<\/th> | 总数<\/th><\/tr> | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1<\/td> | 中国<\/a><\/td> | 105<\/a><\/td> | 40<\/a><\/td> | 36<\/a><\/td> | 181<\/a><\/td><\/tr> | ||||||||||||||||||||||||||||||
2<\/td> | 韩国<\/a><\/td> | 29<\/a><\/td> | 23<\/a><\/td> | 36<\/a><\/td> | 88<\/a><\/td><\/tr> | ||||||||||||||||||||||||||||||
3<\/td> | 日本<\/a><\/td> | 18<\/a><\/td> | 42<\/a><\/td> | 37<\/a><\/td> | 97<\/a><\/td><\/tr> | ||||||||||||||||||||||||||||||
4<\/td> | 朝鲜<\/a><\/td> | 5<\/a><\/td> | 7<\/a><\/td> | 10<\/a><\/td> | 22<\/a><\/td><\/tr> | ||||||||||||||||||||||||||||||
5<\/td> | 伊朗<\/a><\/td> | 5<\/a><\/td> | 4<\/a><\/td> | 8<\/a><\/td> | 17<\/a><\/td><\/tr><\/table>"};GameMedal.show_medal();------------------------------- 為了想把它濾的的好看點。 其實應該直接取得json就可以了。 使用土炮法練習。 $mv jmedel.json gz.html $cat gz.html | sed 's/var json_medal={"medal_chi\":\"//' | sed 's/"};GameMedal.show_medal();//' | sed 's/<\\\/th>/<\/th>/g' | sed "s/\\\//\//g" > gz2010.html maybe you can see http://gaislab.cs.ccu.edu.tw/~pcl99/json/gz2010.html 2010 11 18 排名 国家/地区 金 银 铜 总数 1 中国 105 40 36 181 2 韩国 29 23 36 88 3 日本 18 42 37 97 4 朝鲜 5 7 10 22 5 伊朗 5 4 8 17 排名 国家/地区 金 银 铜 总数
2010年11月16日 星期二[Gentoo]awk 在public_html下為資料夾的檔案變成網頁連結awk 在public_html下為資料夾的檔案變成網頁連結 滿有趣簡單實用的小應用。 ls | awk '{print ""$0" "}' > index.html 有些publc_html是不能直接瀏覽的 ,所以這樣可以快速一個html a href list。 2010年11月11日 星期四[佳句]事情跟話作者 peicheng (PC) 看板 peicheng_tran 標題 [佳句]事情跟話 時間 2010/11/11 Thu 22:52:28 事情,總是要做了,才會變少。 話,總是要說了,別人才會明白。 -- Origin: PC AREA(pcarea.twbbs.org) Author: peicheng 從 localhost 發表 焦點新聞 》 四湖參天宮慶祝五年千歲庚寅年聖誕作者 peicheng.bbs@pcarea.twbbs.org (PC) 看板 peicheng 標題 焦點新聞 》 四湖參天宮慶祝五年千歲庚寅年聖誕 時間 PC AREA (2010/11/11 Thu 22:44:27) 【記者蘇智勇/雲林報導】您有多久未曾在鄉下車水馬龍的十字街口上目睹舞獅陣頭精彩\ 演出,今年四湖參天宮在國曆十一月七、八日(農曆十月二、三日)五年千歲庚寅年聖誕\ 時,當地振興社將廣招近百名壯漢分扮六支台灣獅及十組刀盾對打的陣容,讓大家重溫舊時 封街看熱鬧的盛況。 中斷二十年未曾參與廟會活動的振興社,在老師傅今年逝世周年後,眾徒弟提議今年? 要集合至少六十名壯漢參與參天宮五年千歲廟會盛事,社員利用每天晚上七時三十分,在\ 振興社揮汗勤練技藝,涵蓋舞獅、刀劍盾牌對打等項,預計農曆十月五年千歲壽誕遶境時\ ,? H徒眼睛為之一亮,重新刷亮進興社招牌。 振興社負責人陳保僮表示二十年來目睹鄉內廟會舞獅團規模日漸萎縮,舞獅會員年齡? 層老年化,憂心後繼無人產生人才斷層;今年逢家父逝世周年,舊班底有人提議該為振興\ 社未來盡點力,在昔日拳頭師熱情力拱下,集合近百名壯漢夜間流汗勤練,誓言為今年五\ 年? d歲壽誕遶境活動注入新活力、新技藝。 任職於麥寮六輕廠警衛室吳韋毅,從小看慣鄉內神明遶境活動,只見鞭炮震耳欲聾,? 鑼鼓喧天,龍獅隊少有生龍活虎精神,徒見龍頭、獅頭、兵器沉悶靜態展示走遍街頭巷弄\ ,幾十年來少有變化,今年眾師兄利用兩個月時間,工作之餘在振興社內、公園外勤練,\ 有? 謔漎萓韙U每個人練得更起勁。 、繞獅陣拔獅鬚線求平安,更有信徒襁褓未滿周歲嬰兒躦轎底。「繞獅陣好比走迷宮,具趣 味性且富宗教意義」吳姓信徒表示,五年千歲聖誕難得一見盛況,應繼續傳承下去。 無酬 庸,此次得到大家認同,全體社員與有榮焉。 http://www.macrocosm.tw/indexmain.php?mmenu=18000&sid=34326&cateid=10&imp=1 Author: peicheng 從 localhost 發表 2010年11月9日 星期二[Gentoo]一般使用者使用cron /var/spool/cron: Permission deniecrontab -lcannot chdir(/var/spool/cron), bailing out. /var/spool/cron: Permission denie 把一般user pc 加入cron群組 # gpasswd -a bbs cron PC$ crontab -e 成功!!! 2010年11月6日 星期六[Gentoo]BSD 切換locale zh_TW.UTF-8[Gentoo]BSD 切換locale zh_TW.UTF-8 in Linux and BSD $ locale 你可以看到你現在的 LC的相關設定 LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= 在Linux下改變編碼 LC_ALL=zh_TW.UTF-8 有台BSD預設是zh_TW.Big5 setenv LC_ALL zh_TW.UTF-8 2010年11月4日 星期四[DBbase]crawler build people db基于PYTHON的CRAWLER http://www.yeeach.com/2009/05/16/%E5%9F%BA%E4%BA%8Epython%E7%9A%84crawler/ 因為之前老師有提說一個人才DB的建置, 我大概把它分成三部分。 第一爬資料 crawler 第二build db format (parser 第三 how to display 1.我們怎麼去爬 有分特定的web crawler 跟廣域的爬行 2.parser成我們要的format 成為gais db record format 3.display 2010年11月2日 星期二[Gentoo]bind named could not configure root hints from 'named.ca': file not foundbind named could not configure root hints from 'named.ca': file not found /etc/bind/ 下面有沒有named.ca這個file 沒有 dig @a.root-servers.net . ns > named.ca /etc/init.d/named restart 還是error 在/var/bind下 cp named.cache named.ca /etc/init.d/named restart 成功。 2010年11月1日 星期一[Perl]The absolute minimum you need to knowhttp://www.netalive.org/tinkering/serious-perl/ http://www.netalive.org/tinkering/serious-perl/ The absolute minimum you need to know Perl's extremely flexible syntax makes it easy to write code that is harder to read and maintain than it could be. This article describes some very basic practices I consider necessary for a clear and concise style of writing Perl. Table of contents * Namespaces o Rooting a namespace o Exporting symbols * Instant data structures * Classes and objects o Constructors o Multiple constructors o Instance methods o Static methods o Inheritance o Strict instance attributes o A note on the uniform access principle * Imports o Import parameters o Who's calling? o Extending the language * Essential resources * Final words * About the author -- http://www.perlfect.org
訂閱:
文章 (Atom)
|