Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SITCON: 我只是個學生,架個網站不想花錢。
Search
tyze
August 08, 2020
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SITCON: 我只是個學生,架個網站不想花錢。
SITCON 2020
tyze
August 08, 2020
Other Decks in Technology
See All in Technology
go-sqletch
moznion
0
140
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
150
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
320
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
140
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
140
自主式軟體工廠
philipz
0
260
パッチ更新でterraform initが落ちた日
grimoh
1
120
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
180
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
880
AI時代のPRレビューにどう向き合うか?
kairim0
1
220
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Become a Pro
speakerdeck
PRO
31
6.3k
Speed Design
sergeychernyshev
33
2.2k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
880
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Statistics for Hackers
jakevdp
799
230k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
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]