Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SITCON: 我只是個學生,架個網站不想花錢。
Search
tyze
August 08, 2020
Technology
0
190
SITCON: 我只是個學生,架個網站不想花錢。
SITCON 2020
tyze
August 08, 2020
Tweet
Share
Other Decks in Technology
See All in Technology
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
130
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
250
Claude Code for NOT Programming
kawaguti
PRO
1
110
今こそ学びたいKubernetesネットワーク ~CNIが繋ぐNWとプラットフォームの「フラッと」な対話
logica0419
5
550
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
1.1k
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
220
GitHub Copilot CLI を使いやすくしよう
tsubakimoto_s
0
110
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
230
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.6k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
250
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
猫でもわかるKiro CLI(セキュリティ編)
kentapapa
0
130
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Rails Girls Zürich Keynote
gr2m
96
14k
Writing Fast Ruby
sferik
630
62k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
440
Transcript
你短短 我只是個學⽣生,架個網站不想花錢
Bio ➤ Yen-Cheng, Zhang (Tyze) ➤ Yuan Ze University ➤
Dept. Computer Science & Engineering ➤ C#, C/C++, Node.js, Python ➤ Chatbot BetaGo ➤ SITCON 2019 speaker ➤ TWCSA 2019 community speaker
Slido https://app.sli.do/event/qcxrh4zq
None
⼀一般來來說 • 使⽤用者訪問縮網址 https://reurl.cc/exjz2K • 伺服端回傳 HTTP status code (301
or 302) 轉換網址到另外的地⽅方
架台主機花⼤大把⼤大把銀⼦子
才不給你勒勒
實現⽅方法 Web page Database
GAS - database
None
None
使⽤用 GAS
介⾯面⼤大guy4這樣
GAS 指南 • 實作 doGet / doPost
GAS 指南 • 實作 doGet / doPost • 使⽤用 SpreadsheetApp
API
None
source code http://tyze.me/s/#source
Github Page
None
[username].github.io
把 .html 傳上去
遭遇問題
沒辦法 301 • 瀏覽 Github page 都是靜態⾴頁⾯面
沒辦法 301 • 瀏覽 Github page 都是靜態⾴頁⾯面 • ⽤用 Javascript
解決它! window.location.href = url
要怎麼給參參數? • GET query? 太長了了不要 https://tyze.me/s/?goto=heygoogle
要怎麼給參參數? • GET query? 太長了了不要 https://tyze.me/s/?goto=heygoogle • HTML hash tag
https://tyze.me/s/#heygoogle 天哪太神啦 => url.split("#")[1]
None
Thanks for listening 張彥成
[email protected]