$30 off During Our Annual Pro Sale. View Details »
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
Modern Data Stack大好きマンが語るSnowflakeの魅力
sagara
0
260
TOAMI~投網~: フィッシングハンター支援用ブラウザ拡張ツール / TOAMI ~Casting Net~: Browser Extension Tool for Supporting Phishing Hunters
nttcom
1
110
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Docker, Infraestructuras seguras y Hardening
josejuansanchez
0
140
20251127 BigQueryリモート関数で作る、お手軽AIバッチ実行環境
daimatz
0
420
経営から紐解くデータマネジメント
pacocat
9
1.9k
Introduction to Bill One Development Engineer
sansan33
PRO
0
320
AI開発の定着を推進するために揃えるべき前提
suguruooki
1
470
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
21
11k
Flutter Thread Merge - Flutter Tokyo #11
itsmedreamwalker
1
130
ページの可視領域を算出する方法について整理する
yamatai1212
0
160
AIにおける自由の追求
shujisado
2
450
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
4 Signs Your Business is Dying
shpigford
186
22k
Site-Speed That Sticks
csswizardry
13
980
jQuery: Nuts, Bolts and Bling
dougneiner
65
8k
Into the Great Unknown - MozCon
thekraken
40
2.2k
A better future with KSS
kneath
240
18k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Faster Mobile Websites
deanohume
310
31k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
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]