Skip to content

Instantly share code, notes, and snippets.

y-yagi y-yagi

Block or report user

Report or block y-yagi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View codetriage.md

CodeTriage

概要

  • Get Started Contributing to Open Source Projects | CodeTriage
  • オープンソースプロジェクトにコントリビュートするためのサービス
  • コントリビュートしたいリポジトリを購読すると、そのリポジトリのissueやdocについての通知がくる
  • 作者はRichard Schneeman
    • Railsコミッター、Pumaコミッター、Heroku社員(のはず)
    • Railsのissueトリアージュ見てて大変そう、と思ってこのサービスを作ったらしい
View actions.md

GitHub Actions

  • GitHub Actions
  • GitHub公式のサービス
  • 現行のサービスはv2と呼ばれているもの(まだbeta)
    • 去年話題になっていたのはv1で、実質別物
    • About GitHub Actions
    • 設定ファイルの書き方も全然違う
View Ginzarb76.md
@y-yagi
y-yagi / a.rb
Last active Nov 14, 2019
assigned but unused variable
View a.rb
a = 1
eval(:a.to_s)
=begin
$ ruby -vw a.rb
ruby 2.7.0preview1 (2019-05-31 trunk c55db6aa271df4a689dc8eb0039c929bf6ed43ff) [x86_64-linux]
a.rb:1: warning: assigned but unused variable - a
=end
@y-yagi
y-yagi / tutorial.md
Created Jul 17, 2018 — forked from swalkinshaw/tutorial.md
Designing a GraphQL API
View tutorial.md

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

View attr.rb
module Thor
module ClassMethods
def attr_reader(*)
super
end
def attr_writer(*)
super
end
View position_paper.md

y-yagi

お仕事

主にRubyを使ってプログラミングをしています。

最近の課題

  • RailsアプリのインフラにGCPを使うのはどうだろうと思い最近検討しています。既にやられた事ある方いらっしゃいましたらお話うかがいたいです。
  • 綺麗なroutingの書き方
@y-yagi
y-yagi / secrets.rake
Created Jul 8, 2017
[Rails] show Encrypted secrets
View secrets.rake
namespace :secrets do
desc "show secrets"
task show: :environment do
puts Rails::Secrets.read
end
end
View error.log
Using postgresql
Run options: -n "/^(?:RelationTest#(?:test_null_relation_average|test_delegations_do_not_leak_to_other_classes)|TestDefaultAutosaveAssociationOnAHasManyAssociation#(?:test_assign_ids|test_build_many_via_block_before_save)|PostgresqlHstoreTest#(?:test_disable_enable_hstore|test_parse4)|DatabaseStatementsTest#(?:test_create_should_return_the_inserted_id|test_exec_insert|test_insert_should_return_the_inserted_id))$/" --seed 57362
You can’t perform that action at this time.