Skip to content

Commit

Permalink
add event
Browse files Browse the repository at this point in the history
  • Loading branch information
Edit-Mr committed Nov 8, 2023
1 parent 313cd90 commit 4ca6bb5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Convert Activities to JSON
name: Convert Events to JSON
on:
push:
paths:
Expand Down
15 changes: 0 additions & 15 deletions activities.md

This file was deleted.

4 changes: 2 additions & 2 deletions convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand All @@ -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));
});
File renamed without changes.
20 changes: 20 additions & 0 deletions events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# 中電會聯合迎新
* 一年一度中電會的電資社團聯合迎新開始報名了!這次的地點在台中高工。透過這次的聯合迎新,各位可以多多認識其他社團和結交各大電神喔!另外,這次活動包含 Python 基礎和爬蟲,也是個學習 Python 的好機會,快點來報名吧!
* 11/12(日)9:30 ~ 17:00
* 台中高工 資訊科工廠四
* 200 元

# Misc 教學

* 11 月主題課程我們推出了「Misc 教學」,給想要學會資安通靈技巧的你。<br>本次課程我們將手把手地帶你學習 Linux 指令、Google Hacking 和隱寫術等技巧,我們將藉由親自實作讓你快速掌握。機會難得,手刀報名吧!
* 11/10(五)、11/11(六)、11/17(五) 20 : 00 ~ 21 : 30
* 線上(Jitsi)
* 免費

# 演算法(一)

* 這次的演算法課程我們榮幸邀請到 Intel 工程師為我們授課!演算法是寫程式的基礎,扮演著簡化問題的角色,透過一些邏輯和技巧,讓程式的運算量減少,達到最高效率。若未來有要報考 APCS 或對資訊領域有興趣的同學,這次的課程一定是你的最佳選擇。快來報名吧!
* 11/11(六)10:00 ~ 16:00
* 線上(Jitsi)
* 免費

0 comments on commit 4ca6bb5

Please sign in to comment.