Containerを入れるための箱
Podを動作させるマシン
次のようなことをする
units = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] | |
teens = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", | |
"eighteen", "nineteen"] | |
tens = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"] | |
# int -> str | |
def conv(no): | |
return eval1000(no) | |
# int -> ( int, int ) |
const loadScript = (src, cb) => { | |
const head = document.getElementsByTagName('head')[0]; | |
const script = document.createElement('script'); | |
script.src = src; | |
head.appendChild(script); | |
script.onload = () => { | |
cb(); | |
}; | |
} |
def ignore_file(filename, *args): | |
"""Report whether a file should not be watched. | |
Args: | |
filename: the absolute path to a file. | |
*args: N number of RegexObject instances to attempt to match with, | |
absolute paths matching any are skippable. | |
Returns: | |
Boolean value, True if the filename can be ignored. |
class User < ActiveRecord::Base
has_many :items
end
+----+--------+-----+
| id | name | age |
+----+--------+-----+
| 1 | user01 | 10 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://fb.me/react-15.0.1.js"></script> | |
<script src="https://fb.me/react-dom-15.0.1.js"></script> <script type="text/javascript" src="~/Scripts/myreactfile.jsx"></script> | |
<meta charset="utf-8"> | |
<title>App</title> | |
</head> | |
<body> | |
<div id="root"></div> |
package main | |
import ( | |
"fmt" | |
"reflect" | |
"time" | |
) | |
type Base struct { | |
CreatedBy int64 |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
func main() { | |
type t struct { | |
N int |
package main | |
import ( | |
"strings" | |
"github.com/jinzhu/gorm" | |
uuid "github.com/satori/go.uuid" | |
) | |
func getUUIDShort(db *gorm.DB) int64 { |
package main | |
import "fmt" | |
type Hoge struct { | |
Age int | |
} | |
func do(i interface{}) { | |
switch v := i.(type) { |