This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type scope struct { | |
min, max int | |
} | |
func NewScope(min, max int) *scope { | |
return &scope{min, max} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseJob < ActiveJob::Base | |
include Rails.application.routes.url_helpers | |
protected | |
def default_url_options | |
{ host: ENV['HOST_NAME'] } | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>WhiteDay_Reversi</title> | |
</head> | |
<body> | |
<p> | |
ホワイトデーということでちょっとした遊びをご用意しました。<br> | |
息抜きにでも遊んでくださると幸いです(^^)<br> | |
<font color="red">HTML5を使用したので比較的新しいブラウザ(IEなら9以降)でしか動作しませんorz</font><br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package package01; | |
/** | |
* 航空チケット。 | |
*/ | |
public class Ticket { | |
/** | |
* 国名 | |
*/ |