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
社内コードゴルフ大会開催に向けた準備.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
keitaMax
June 04, 2024
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
社内コードゴルフ大会開催に向けた準備.pdf
keitaMax
June 04, 2024
More Decks by keitaMax
See All by keitaMax
最初の70人同時接続は、結婚式当日でした
niheikeita
0
38
PHPカンファレンス香川 1年で約160記事、Qiitaに投稿したらめっちゃ強くなった(気がする) 〜「アウトプット」で変わったエンジニア人生 〜
niheikeita
1
71
PHPカンファレンス香川 「心のトイレ」が教えてくれた、気楽で最高な個人開発ライフ
niheikeita
0
29
筋トレ駆動開発のススメ
niheikeita
0
28
1年で約160記事、Qiitaに投稿したらめっちゃ強くなった(気がする) 〜 「アウトプット」で変わったエンジニア人生〜
niheikeita
1
360
社内コードゴルフ大会を開催したら 最高に楽しかった!
niheikeita
0
300
Featured
See All Featured
Music & Morning Musume
bryan
48
7.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Making the Leap to Tech Lead
cromwellryan
135
10k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
460
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
Designing for Timeless Needs
cassininazir
1
480
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Transcript
社内コードゴルフ大会開催に向けた準備 二瓶啓太 (keita Max)
使用言語など X(@keita__Max) Qiita(@keitaMax) 二瓶啓太 keitaMax 趣味 競技ダンス(社交ダンス) クレーンゲーム \ フォローしてね /
コードゴルフとは? 与えられたお題のコードをどれだけ短く実装できるかを競う プログラミングコンテストの一種です。 例) 可読性・保守性を無視してと にかく短く!!
きっかけ PHPerKaigi 2024で初めてコードゴルフ大会に参加 たのしい! コードゴルフをできるWEBアプリを作成し て、社内で大会を主催しよう!
フロントエンド 作ったもの バックエンド コード コードチェック用コンテナ コード フロントで書いたプログラムをバックエンド→コードチェック用コンテ ナに送り、プログラムを実行します。
フロントエンド 作ったもの バックエンド 正当結果 コードチェック用コンテナ 実行結果 実行結果をバックエンドに送り、出力結果の正当を判断し、フロン トに正当結果を返します。
1. eval関数がユーザの任意のコードを 実行してしまうため、セキュリティ的に 危険。 2. 今後PHPだけでなく他の言語でも大 会を開催できるような拡張性。 コードチェック用のコンテナを分けた理由
どこにソースをおこう?
✖ 自分の個人サーバにおく → セキュリティ的にダメ ✖ 会社のサーバにおく → 予算が降りないかも。。。 考えたこと
解決策 LocalでDockerを立ち上げ、 VSCodeのLiveShare機能を使って、Portを解放した ※Max30人までという制約はある
今後について 6月5日(水)社内コードゴルフ大会を開催予定! 今後は、PHPだけでなく JavaScriptやC#などの大会も開催予定
ご清聴ありがとうございました!!