Introduction
Course activities
※完整閱讀本課程全部章節,並通過課後測驗,可獲得通識自主學習點數3點※
※點數核發:
→ 108-2學期線上閱讀截止日期: 109年5月31日,次日起,通識中心開始查核閱讀進度
→ 合格者自主學習點數統一於109年6月5日核發
→ 興通識online點數可與其他自主學習演講或活動的點數合併計算,獲得通識學分喔
※如有疑問,請至「課程介紹」點選助教信箱,告知課程名稱、學生姓名、學號、手機號碼、待處理狀況,通識中心會盡快回覆※
-
1.Regular Expressions 試車Regular Expressions 是什麼?以「假面通訊錄」示範如何用 regexp 撈出所有的星座,或撈出所有的手機號碼、 所有的 e-mail 等等資訊。參考連結:字串樣板 Regexp: 兼談長線學習投資、簡報。
-
Read more than 6 minutes 1.1 intro
06:40
-
Read more than 8 minutes 1.2 intro-phone
08:26
-
Read more than 6 minutes 1.3 intro-email
06:25
-
Read more than 6 minutes 1.4 intro-zodiac-city-name
06:09
-
-
-
Read more than 11 minutes 2.1 linux-gregslab
11:27
-
Read more than 9 minutes 2.2 linux-nextsteps
09:14
-
-
3.範例: 網路爬蟲一口氣下載很多圖檔或 pdf 檔一頁網頁上有很多圖片或很多 pdf 檔的連結,一個一個手動下載很辛苦啊!這不是在用電腦,而是被電腦用。改用 regexp 加上一點指令,可以一口氣下載頁面上所有的圖片或所有的 pdf,這才是正確使用電腦的方法啊!
-
Read more than 7 minutes 3.1 cr-wget
07:07
-
Read more than 6 minutes 3.2 cr-perl
06:59
-
Read more than 11 minutes 3.3 cr-3dsurf
11:22
-
Read more than 5 minutes 3.4 cr-etiquette
05:48
-
Read more than 5 minutes 3.5 cr-other-tools
05:53
-
Score > 50 3.6 測驗: 網路爬蟲一口氣下載很多圖檔或pdf檔
-
-
4.範例: 從相片的 exif 資料抓文字描述、 貼到相片上jpg相片檔裡面可以用 exif 欄位存放一些文字資訊。regexp可以幫你把這些文字資訊撈出來、用 ImageMagick 指令貼到相片上。當然,重點是一口氣處理很多張。
-
Read more than 15 minutes 4.1 im-prepare
15:38
-
Read more than 8 minutes 4.2 im-aspect-ratio
08:14
-
Read more than 10 minutes 4.3 im-resize
10:51
-
Read more than 7 minutes 4.4 im-annotate
07:07
-
Read more than 8 minutes 4.5 im-exif
08:26
-
Read more than 12 minutes 4.6 im-finish
12:21
-
Score > 50 4.7 測驗: 從相片的exif資料抓文字描述、貼到相片上
-
-
-
Read more than 13 minutes 5.1 apache
13:08
-
Read more than 13 minutes 5.2 map
13:15
-
-
-
Read more than 16 minutes 6.1 rules-3classes
16:39
-
Read more than 7 minutes 6.2 rules-parentheses
07:25
-
Read more than 9 minutes 6.3 rules-perl
09:04
-
Score > 50 6.4 測驗: 綜合練習 [請先下載「測驗說明」內的附檔]
-
-
7.結語結語
-
Read more than 5 minutes 7.1 conclusion
05:42
-