Skip to content

Instantly share code, notes, and snippets.

View tai2's full-sized avatar
🐢

Taiju Muto tai2

🐢
View GitHub Profile
@tai2
tai2 / q.md
Last active April 13, 2018 18:02
質問

質問

  • Rails経験はありますか?
  • ふだんから英語ドキュメントを読んでいますか?
  • MVCアーキテクチャとはどういうものなのか教えてください
  • RESTfulとはどういうものなのか教えてください
  • 継承と委譲(合成)について教えてください
  • Railsのconcernとはどういうもので、どういうときに使うものなのか教えてください
    • concernの問題点を説明できますか?
  • Railsのcallbackとはどういうもので、どういうときに使うものなのか教えてください
@tai2
tai2 / why-use-parentheses.md
Last active April 8, 2018 07:37
Q. JSXでreturnを丸かっこで囲んで渡すのはなぜ?

A. ASI対策

return 
  <div>
    <p>Why use parenthesis on JavaScript return statements?</p>
  </div>

これはできない

@tai2
tai2 / a.md
Created February 28, 2018 02:36
@tai2
tai2 / _z-index.scss
Last active February 13, 2018 08:03
// _z-index.scss
$zIndexList: (
Background: -50100,
ContentFront: 50100,
UI: 50200,
UIPopup: 50300,
Modal: 50400,
);
@tai2
tai2 / a.rb
Created January 27, 2018 15:52
module A
def hoge
puts 'hoge'
end
end
A.hoge # a.rb:7:in `<main>': undefined method `hoge' for A:Module (NoMethodError)
@tai2
tai2 / a.rb
Created January 27, 2018 14:52
module A
include B
def f()
utility()
g()
end
private
@tai2
tai2 / A.js
Created January 27, 2018 14:51
import { g } from './B';
export function f() {
utility();
g();
}
function utility() {
// ...
}
@tai2
tai2 / money.md
Last active October 6, 2019 13:58
フリーランス6年目の収入
@tai2
tai2 / a.md
Created December 17, 2017 17:25
console.log('a')
@tai2
tai2 / simple.md
Last active December 17, 2017 23:48

Sample document

&* Structure

& Element 1
& Element 2

& Element 1