diff --git a/.github/workflows/activities.yml b/.github/workflows/events.yml similarity index 96% rename from .github/workflows/activities.yml rename to .github/workflows/events.yml index 7d4a5d3..ba1ef4f 100644 --- a/.github/workflows/activities.yml +++ b/.github/workflows/events.yml @@ -1,4 +1,4 @@ -name: Convert Activities to JSON +name: Convert Events to JSON on: push: paths: diff --git a/activities.md b/activities.md deleted file mode 100644 index c6911d1..0000000 --- a/activities.md +++ /dev/null @@ -1,15 +0,0 @@ -# Activity Name - -description - -* 2023/10/29 -* Taichung -* Free - -# Another Activity Name - -description yeah - -* 2023/11/25 -* Taichung -* Free \ No newline at end of file diff --git a/convert.js b/convert.js index bb5fade..785dc40 100644 --- a/convert.js +++ b/convert.js @@ -6,7 +6,7 @@ let activities = []; let currentActivity = null; const rl = readline.createInterface({ - input: fs.createReadStream('activities.md'), + input: fs.createReadStream('events.md'), output: process.stdout, terminal: false }); @@ -30,5 +30,5 @@ rl.on('line', (line) => { }); rl.on('close', () => { - fs.writeFileSync('activities.json', JSON.stringify({ activities: activities }, null, 2)); + fs.writeFileSync('events.json', JSON.stringify({ activities: activities }, null, 2)); }); \ No newline at end of file diff --git a/activities.json b/events.json similarity index 100% rename from activities.json rename to events.json diff --git a/events.md b/events.md new file mode 100644 index 0000000..cd7ac68 --- /dev/null +++ b/events.md @@ -0,0 +1,20 @@ + +# 中電會聯合迎新 +* 一年一度中電會的電資社團聯合迎新開始報名了!這次的地點在台中高工。透過這次的聯合迎新,各位可以多多認識其他社團和結交各大電神喔!另外,這次活動包含 Python 基礎和爬蟲,也是個學習 Python 的好機會,快點來報名吧! +* 11/12(日)9:30 ~ 17:00 +* 台中高工 資訊科工廠四 +* 200 元 + +# Misc 教學 + +* 11 月主題課程我們推出了「Misc 教學」,給想要學會資安通靈技巧的你。
本次課程我們將手把手地帶你學習 Linux 指令、Google Hacking 和隱寫術等技巧,我們將藉由親自實作讓你快速掌握。機會難得,手刀報名吧! +* 11/10(五)、11/11(六)、11/17(五) 20 : 00 ~ 21 : 30 +* 線上(Jitsi) +* 免費 + +# 演算法(一) + +* 這次的演算法課程我們榮幸邀請到 Intel 工程師為我們授課!演算法是寫程式的基礎,扮演著簡化問題的角色,透過一些邏輯和技巧,讓程式的運算量減少,達到最高效率。若未來有要報考 APCS 或對資訊領域有興趣的同學,這次的課程一定是你的最佳選擇。快來報名吧! +* 11/11(六)10:00 ~ 16:00 +* 線上(Jitsi) +* 免費 \ No newline at end of file