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
TwitterのList編集しやすいやつ作った
Search
ryonext
May 28, 2016
Technology
1.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TwitterのList編集しやすいやつ作った
ryonext
May 28, 2016
More Decks by ryonext
See All by ryonext
AWS Lambda の Ruby 対応
ryonext
0
280
validationについて
ryonext
1
870
AWS Lambda と API GatewayでRails使わずに済んだ話
ryonext
8
4.4k
capistrano-bundle_rsync使ったらオートスケールが高速化した話
ryonext
8
2.6k
PumaとUnicornで最近自分が理解したこと
ryonext
13
9.6k
Hubot事例
ryonext
1
1.7k
Redisでバッチ処理を冗長化しつつ排他制御
ryonext
0
2.2k
CircleCIとwercker
ryonext
3
1.3k
rubykaigi 3day interactive white board
ryonext
2
410
Other Decks in Technology
See All in Technology
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
170
Claude Code on Bedrock で統制をかける小ネタ集/claude-code-bedrock-governance-tips
emiki
1
160
AWSDirectConnectの構築の進め方を整理してみた
masa_my
1
130
LLM-as-a-Judgeは本当に信頼できるのか――評価器を評価する話
taka_aki
3
1k
CSS2026:OWS研究会・招待講演「世界観を、実装する」
atsush1_sada
2
190
React改造してみた
tsukina_7mochi
0
150
sue445's proposals 2026
sue445
0
130
~最速でビジネスインパクトを創出する~ Sansanのデータ基盤と活用事例
sansantech
PRO
0
110
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
220
企画を Software Factory-ready にする——開発が高速になったとき、PdMの仕事はどう変わったか
yachibit
1
130
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
130
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
130
Featured
See All Featured
We Are The Robots
honzajavorek
0
400
HDC tutorial
michielstock
2
970
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Darren the Foodie - Storyboard
khoart
PRO
4
4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Transcript
5XJUUFSͷ-JTUฤू͠ ͍ͭ͢࡞ͬͨ !SZPOFYU
ࣗݾհ w !SZPOFYU w ήʔϚʔܥΤϯδχΞ w ࠷ۙ07&38"5$)ͬͯ·͢
࡞ͬͨͷ w 5XJUUFSͷϦετΛཧ͍͢͠πʔϧ w ͜͜ͰՔಇத w IUUQTUXJUUFSMJTUFEJUPSIFSPLVBQQDPN w ιʔε w
IUUQTHJUIVCDPNSZPOFYU UXJUUFS@MJTU@FEJUPS
ը໘
ͳ͔ͥͭͬͨ͘ w ެࣜͷϖʔδͰϦετͷՃɾআ͢Δͷݫ ͔ͬͨ͠
ਓΛݸผʹબΜͰϦετՃ w ϛϡʔτϒϩοΫ͕ۙ͘ʹ͋ͬͯ͜Θ͍
Ϧετͷϖʔδ͔ΒਓΛ ՃͰ͖ͳ͍
ྨࣅͷαʔϏε w IUUQUXJUMJTUNBOBHFSDPN
͜͏͍͏ը໘
w ϔομʔ͕͍ͭͯ͜ͳ͍ͷͰͲͷϦετͳͷ͔ɺ ը໘ʹऩ·Βͳ͍ൣғͰΘ͔Γʹ͍͘
w 4BWFԡ͠ΕΔ w ✅Λมߋͨ͠Βଈөͯ͠ཉ͔ͬͨ͠
ͦΕΛ౿·͑ͯ͜͏͍͏ϨΠΞ τʹ w ΞΧϯτ͝ͱʹϦετͷՃঢ়ଶ͕Θ͔Δ w ✅Λมߋͨ͠Β͙͢ʹө͢Δ
ٕͬͨज़ w 3BJMT w UXJUUFS IUUQTHJUIVCDPNTGFSJLUXJUUFS w UXJUUFSPBVUI IUUQTHJUIVCDPN
NPPNFSNBOUXJUUFS@PBVUI w 7VFKT
UXJUUFSͱUXJUUFSPBVUIΛ྆ํ ͍ͬͯΔཧ༝ w UXJUUFS (FN ɺαϯϓϧίʔυϦϑΝϨϯεΛ ݟͨײ͡ɺ͢ͰʹϢʔβͷΞΫηετʔΫϯ͕͋Δ ঢ়ଶͰ5XJUUFS"1*ʹϦΫΤετΛ͢Δͷͩͬͨ w $POTVNFSLFZTFDSFU͚ͩ͋ͬͯɺ5XJUUFSʹೝ
ূΛ͛ͯίʔϧόοΫΛड͚औͬͯΞΫηετʔ ΫϯΛऔಘ͢Δɺͱ͍͏͜ͱ͕Ͱ͖ͳͦ͞͏ͩͬͨ w ͦ͜ΛຒΊΔͨΊʹͬͨͷ͕UXJUUFSPBVUI
࡞͍ͬͯͯͭΒ͔ͬͨͱ͜Ζ w ࣗͷϑΥϩʔͯ͠Δਓશ෦Λऔಘ͢Δ w ࣗͷ͍࣋ͬͯΔϦετΛશ෦औಘ͢Δ w ࣗͷͯ͢ͷϦετͷϝϯόʔΛશ෦औಘ͢Δ w "1*ͷίʔϧ͕ଟ͍ͷͰ3BUF-JNJUΛ৯Β͍ ͍͢
ϑΥϩʔͯ͠ΔਓɺϦετͷ w ී௨ʹΔͱ͔݅ͣͭ͠औΕͳ͍ w ͔ͭɺϥΠϒϥϦͷݺͼग़͠ํΛ͠ͳ͍ͱ Ұؾʹશ݅औಘͯ͠͠·͏ w ҎʹճҎ্ݺͿͱ3BUF-JNJU
w 5XJUUFSͷ(FNΛͬͯ'PMMPXͨ͠ਓͷҰཡΛऔ Ζ͏ͱͨ͠ΒͪΐͬͱϋϚͬͨ݅2JJUBIUUQ RJJUBDPNSZPOFYUJUFNT EDG w ͜͜ʹ·ͱΊͨͷͰ͕͢ɺ݅·ͰऔಘͰ͖Δ ͷͰ݅औͬͯՃಡΈࠐΉํͰରԠɻ w ϑΥϩʔͯ͠Δਓ͕ଟ͍ͱͲ͏͠Α͏ͳ͍
ϝϯόʔͷ w 3BJMTଆͰϦετͷϝϯόʔΛऔಘ͢Δ"1*Λ࡞ 1 class MembersController < ApplicationController … 4
def index 5 member_id_lists = twitter.list_members(list_id: params[:list_id], owner_id: params[:owner_id], count: 200).map {|m| m.to_h[:id_str] } 6 render json: member_id_lists 7 end … 24 end
w +4ଆͰϦετͷ͚ͩϧʔϓΛճͯ͠ɺ7VFKTͷ EBUBͱͯ࣋ͭ͠ 14 fetchMembers: (list) -> 15 this.$http( 16
method: "GET" 17 url: "/members?list_id=#{list.list.id_str} &owner_id=#{this.currentUserId}" 18 headers: 19 "X-CSRF-Token": $('meta[name="csrf-token"]').attr('content') 20 ).then( (response) -> 21 list.members = response.data 22 ).catch( (err) -> 23 alert("error") 24 ).finally( -> 25 list.completed = true 26 )
w ϝϯόʔ͔Ͳ͏͔ͷఆ୯७ʹ+BWBTDSJQUͷॲཧ͚ͩͰߦ͍ɺ"1*ϦΫΤετΛൃੜͤ͞ͳ͍Α͏ʹ͢Δ w ϑΥϩʔͯ͠Δਓ݅ΛՃͰಡΈࠐΜͰ7VFͷྻʹಥͬࠐΊఆͯ͘͠ΕΔ w "1*ͷϦΫΤετɺϑΥϩʔͯ͠ΔਓΛऔΔ ࣗͷϦετશ෦ΛऔΔ
Ϧετͷ͚ͩϝϯόʔ ΛऔΔ O ʹ͑ΒΕΔɻ 10 computed: 11 checked: -> 12 this.members.includes(this.user.id_str)
·ͱΊ w շదʹϦετૢ࡞Ͱ͖ΔΑ͏ʹͳΓ·ͨ͠ w ֎෦"1*ୟ͘ͱ͖ϦΫΤετΛݮΒ͢Α͏ʹ ͢Δͷॏཁ