Pro Yearly is on sale from $80 to $50! »

Easy hacking, and enjoy life.

Easy hacking, and enjoy life.

雑に書いて「楽」をしよう

業務中に業務外で小さいコードを書くお話 ( 日々のこと)

4ab9c4c8dec50dc08b89981e23e111f2?s=128

Katsumata Ryo

November 13, 2019
Tweet

Transcript

  1. ࡶʹॻ͍ͯʮָʯΛ͠Α͏  &CJTVSC -5!LBUTVNBUB@SZP ͨͷ &BTZ IBDLJOH BOE FOKPZMJGF

  2. .& > katsumata = SelfIntroduction.new(“katsumata”) > katsumata.work.job => [“backend”, “team

    development”] > katsumata.work.corp => “STORES.jp” > > katsumata.hobby => [“Guitar”, “Camera”] > katsumata.families => [“࠺”, “͓ࢠ”]
  3. $0/5&/54 ى ɾਐḿ؅ཧʹasanaΛ࢖͍ͬͯΔ࿩ ɾिใΛॻ͍͍ͯΔ࿩ ঝ ɾिใͷεΫϦϓτΛॻ͍ͨ࿩ స ɾasana෦෼Λ੾Γग़ͨ͠࿩ ݁ ɾ(ܗ͚ͩͷ)·ͱΊ

  4. ۀ຿தʹۀ຿֎Ͱ খ͍͞ίʔυΛॻ͓͘࿩

  5. ى ɾ೔ʑ͸εΫϥϜʹ৐͔ͬͬͯӡ༻ͯ͠Δ ɾνʔϜ಺νʔϜӡ༻ͳͷͰશ෦೺Ѳ͕ͳ͔ ͳ͔Ή͔͍ͣ͠(೴ͷ༰ྔ͕଍Γͳ͍) ɾࣗ෼ͨͪͷݟ௨͠ͷͨΊͱPM͕શମײΛ ݟ௨ͨ͢ΊʹasanaΛ࢖͍ͬͯΔ TEAM PJ TEAM PJ

    TEAM
  6. ى ͜Μͳײ͡ͷϘʔυ͕͋Δ (ϑΣχοΫε͕ඈΜͩΓ͔ͯ͠Θ͍͍)

  7. ى Timeline͕ศར

  8. ى ͜Μͳײ͡ͰQiita Teamʹຖि֤νʔ ϜिใΛ࡞͍ͬͯΔ

  9. खॻ͖ͩͬͨ

  10. ى िใͷߏ੒ # िใ ## վળ ### ઌि΍ͬͨ͜ͱ - task

    ### ࠓि΍ͬͨ͜ͱ -task ## Project 1 ### ઌि΍ͬͨ͜ͱ - task ### ࠓि΍ͬͨ͜ͱ -task ### KPT - keep / problem / try ## Project 2 <ಉ্>
  11. खॻ͖ͩͬͨ

  12. िใͷεΫϦϓτΛॻ͍ͨ࿩

  13. ঝ ՝୊ ຖि΄΅ܾ·ͬͨϑΥʔϚοτͰॻ͍͍ͯΔ ͷʹҰिؒ෼ॻ͘ͷ͸·͊·͔͔͊࣌ؒΔɻ ͔Β͍ɻ ରࡦ िใΛॻ͖ͨ͘ͳ͍Ͱ͟͝Δɻ

  14. ঝ asanaʹ஫໨͢Δ ͋ͱ asana API͋Δ͡ΌΜ

  15. ঝ ଟ෼͜Μͳײ͡Ͱߦ͚ΔΜ͡Όͳ͍ͩΖ͏͔ ɾasana ͔Β΍ͬͨλεΫΛൈ͖ग़͢ ↓ ɾिใ༻ʹ੔ܗ͢Δ ↓ ɾQiita Teamʹ౤ߘ͢Δ ↓

    ɾ࣮ߦͯ͠slackʹ௨஌͢Δ ·ͨɺ͍ͭ·Ͱ࢖͏͔Θ͔Βͳ͍ͷͰ ɾࣗ෼༻ͰखݩͰಈ͚͹͍͍ ɾͱΓ͋͑ͣಈ͚͹͍͍ ͱ͍͏ํ਑
  16. ঝ asana͔Β΍ͬͨλεΫΛൈ͖ग़͢ ࠷ॳ gem Λ୳͕ͨ͠ެࣜͷ΍͕ͭ࢖͍ํ͕શ વϐϯͱ͜ͳ͔ͬͨɻ ಛʹ֤λεΫʹݟੵΓϙΠϯτΛৼ͍ͬͯΔ ΧελϜϑΟʔϧυͷσʔλ͕શવऔΕͳ͍ɻ ެࣜͷAPIυΩϡϝϯτΛݟͨΒઈରऔΕΔɻ ͠Όʔͳ͠ͳͷͰͦΕ༻ͷΫϥεΛࣗ෼Ͱॻ

    ͘͜ͱʹͨ͠ɻ
  17. ঝ asanaΛߏ੒͢ΔཁૉͷਪଌͷҰ෦ Workspaces Projects Tasks Sections Users Stories Sub Tasks

    ・name ・custom fields …andmore ※全体的に絡む
  18. ঝ asana͔Β΍ͬͨλεΫΛൈ͖ग़͢

  19. ঝ िใ༻ʹ੔ܗ͢Δ

  20. ঝ िใ༻ʹ੔ܗ͢Δ( ۤ͠Έͷࠟ੻ )

  21. ঝ qiita teamʹ౤ߘ͢Δ

  22. ঝ ࣮ߦͯ͠slackʹ௨஌͢Δ

  23. ঝ ౤ߘͰ͖ͨ

  24. ঝ ௨஌΋͖ͨ

  25. ঝ Before ɾ౔୆ʹ֤PJϦʔμʔ͕Qiitaʹॻ͖ॻ͖ ɾ΍ͬͨλεΫΛΈͳ͕Βจࣈى͜͠ ɾKPTΛॻ͖ग़͠ ɾݟੵΓϙΠϯτ͸ܭࢉ͞Εͯͳ͔ͬͨ After ɾ೔ʑͷੜ׆ͰasanaͰਐḿ؅ཧ͓͚ͯ͠͹ࣗಈͰिใ͕Ͱ͖Δ ɾใࠂτϐοΫε͚͔͚ͩ͹ྑ͘ͳͬͨ ɾݟੵ΋ΓϙΠϯτ͕ܭࢉ͞ΕΔΑ͏ʹͳͬͨ

    ɾͦ΋ͦ΋Θ͕ͨ͠౔୆Λ࡞Βͳͯ͘Α͘ͳͬͨ ɾΘָ͕͍ͨ͠͠ɻ ɾಉ͡࢓૊ΈͰଞͷϓϩδΣΫτ͕૿͑ͯ΋৘ใ͕औΕΔ
  26. BTBOB෦෼Λ੾Γग़ͨ͠࿩

  27. స ࣮͸ݸਓͰຖճࣅͨΑ͏ͳͷॻ͍ͯΔ… ɾwunderlist ɾTodoist ɾasana (ݸਓͰ೔ใ༻ʹॻ͍ͨͷΛແͨ͘͠) ɾTrello ɾasana (new!!) ͨͿΜ·ͨॻͧ͘ɻɻɻΦϨɻɻɻ

  28. స gem ʹ͠Αʔ ٱʑʹ΍͚ͬͨͲ؆୯ͩͬͨ ɾ`bundle gem asaner -t` ɾasaner.gemspec Λฤू

    ɾgem ґଘΛॻ͍ͨΓ ɾ`rake build` ɾ`bundle exec rake release` ɾ2FAؔ࿈ͰϋϚͬͨ https://rubygems.org/gems/asaner
  29. స pryͰ࢖ͬͨ $ gem install asaner $ pry [2] pry(main)>

    require 'asaner' => true [3] pry(main)> client = Asaner::Client.new(ENV["ASANA_ACCESS_TOKEN"]) [4] pry(main)> response = client.me [5] pry(main)> response[:status] => 200 [6] pry(main)> response[:body] => {"data"=> {"gid"=>”***********", "email"=>"katsumata@stores.jp", "name"=>"Ryo Katsumata", "photo"=> {"image_21x21"=>"https://s3.amazonaws.com/profile_photos/877225423817499.y 96p7jNRqn6joM7AP92X_21x21.png", "resource_type"=>"user", "workspaces"=> [{“gid”=>”00000000000000“, ”name“=>”My Company“, ”resource_type“=>”workspace“ . . .ུ
  30. ݁ͼ ಛʹ·ͱ·Βͳ͔ͬͨ

  31. ݁ ײ૝ ɾۀ຿ͷ߹ؒͷ૸Γॻ͖Ͱࡶ͚ͩͲग़དྷ্͕Δͱָ͠ ͍ ɾۀ຿ͷ߹ؒͷ૸Γॻ͖͚ͩͲॻ͍͓ͯ͘ͱ݁ߏָʹ ͳΔ ɾ(ݟͯ΋ΒͬͯΘ͔Δͱࢥ͍·͕͢)gem͕͋Δͱ͜ Ζ͸ίʔυ͕؆ܿ ɾใࠂτϐοΫε͸·ͩ௥ه͍ͯ͠Δ͚Ͳasana্ʹ ه࿥ͯ͠र͍͍ͨ

    ɾ͜ͷํࣜͰϓϩμΫτͷόοΫΤϯυ͸౷Ұ͍ͨ͠ ͜ͱʹͳͬͨ ɾίʔυΛॻ͍ͯԿָ͔͕ʹͳΔͷ͸ָ͍͠ɻ ɾ·ͩҠ͚͔ͨͩͩ͠Βҭ͍͖͍ͯͯͨɻ
  32. &OKPZ IBDLJOH BOEFOKPZMJGF

  33. ͋Γ͕ͱ͏͍͟͝·ͨ͠