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
LLM時代にデータエンジニアの役割はどう変わるか?
ikkimiyazaki
6
1.2k
from Sakichi Toyoda to Agile
kawaguti
PRO
1
110
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
1
140
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
180
プロポーザルのコツ ~ Kaigi on Rails 2025 初参加で3名の登壇を実現 ~
naro143
1
200
"プロポーザルってなんか怖そう"という境界を超えてみた@TSUDOI by giftee Tech #1
shilo113
0
170
Geospatialの世界最前線を探る [2025年版]
dayjournal
0
190
「れきちず」のこれまでとこれから - 誰にでもわかりやすい歴史地図を目指して / FOSS4G 2025 Japan
hjmkth
1
140
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
450
Access-what? why and how, A11Y for All - Nordic.js 2025
gdomiciano
1
120
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
310
How to achieve interoperable digital identity across Asian countries
fujie
0
140
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Become a Pro
speakerdeck
PRO
29
5.5k
Code Review Best Practice
trishagee
72
19k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Mobile First: as difficult as doing things right
swwweet
224
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
How to Think Like a Performance Engineer
csswizardry
27
2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Faster Mobile Websites
deanohume
310
31k
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]