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
160
SITCON: 我只是個學生,架個網站不想花錢。
SITCON 2020
tyze
August 08, 2020
Tweet
Share
Other Decks in Technology
See All in Technology
SIEMを用いて、セキュリティログ分析の可視化と分析を実現し、PDCAサイクルを回してみた
coconala_engineer
0
330
開発パフォーマンスを最大化するための開発体制
ham0215
2
430
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
web-application-security
matsuihidetoshi
0
170
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
260
ServiceNow Knowledge Learning Rise up
manarobot
0
210
反実仮想機械学習とは何か
usaito
PRO
11
4.7k
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
1
280
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
100
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
350
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
240
Featured
See All Featured
How to name files
jennybc
65
93k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Infographics Made Easy
chrislema
238
18k
Code Reviewing Like a Champion
maltzj
514
39k
Scaling GitHub
holman
457
140k
Bash Introduction
62gerente
604
210k
In The Pink: A Labor of Love
frogandcode
138
21k
Building Adaptive Systems
keathley
31
1.9k
Navigating Team Friction
lara
178
13k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
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]