- 課題についての説明、何がどう解決されるのか
- このPRでやりたいこと
- 重点的にレビューして欲しいところをリストアップする
- 複雑なロジックであれば補足説明も書く
| export default function createStatementData(invoice, plays) { | |
| const result = {}; | |
| result.customer = invoice.customer; | |
| result.performances = invoice.performances.map(enrichPerformance); | |
| result.totalAmount = totalAmount(result); | |
| result.totalVolumeCredits = totalVolumeCredits(result); | |
| return result; | |
| function enrichPerformance(aPerformance) { | |
| const calculator = createPerformanceCaluculator(aPerformance, playFor(aPerformance)); |
| Hello World! |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Image gallery</title> | |
| <style id="jsbin-css"> | |
| h1 { | |
| font-family: helvetica, arial, sans-serif; | |
| text-align: center; |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "regexp" | |
| "time" | |
| "github.com/PuerkitoBio/gocrawl" | |
| "github.com/PuerkitoBio/goquery" |
| package main | |
| import ( | |
| "flag" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| const ( |
| | Left align | Right align | Center align | | |
| |:-----------|------------:|:------------:| | |
| | This | This | This | | |
| | column | column | column | | |
| | will | will | will | | |
| | be | be | be | | |
| | left | right | center | | |
| | aligned | aligned | aligned | |
| #!/usr/bin/env python2 | |
| # vim: set fileencoding=utf8 | |
| import re, sys, os, random, time, json, logging, argparse, requests, urllib | |
| from mutagen.id3 import ID3,TRCK,TIT2,TALB,TPE1,APIC,TDRC,COMM,TPOS,USLT | |
| from HTMLParser import HTMLParser | |
| parser = HTMLParser() | |
| s = u'\x1b[1;%dm%s\x1b[0m' # terminual color template |
| my $regex = qr/ | |
| \A | |
| ( | |
| [a-z][a-z0-9+\-.]*: | |
| ( | |
| \/\/ | |
| ([a-z0-9\-._~%!$&'()*+,;=]+@)? | |
| ([a-z0-9\-._~%]+ | |
| |\[[a-f0-9:.]+\] | |
| |\[v[a-f0-9][a-z0-9\-._~%!$&'()*+,;=:]+\]) |