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
function sendToEvernote() { | |
var evernote_email = "xxxxxxxxx@m.evernote.com"; | |
var note_title = "お問い合わせ @ギルド問い合わせ" //「AAAAAA @BBBBBB」"@BBBBBB"で指定したノートに"AAAAA"というタイトルで追加されます | |
var range = SpreadsheetApp.getActiveRange(); //変更されたセルを取得 | |
var col = range.getColumnIndex(); //変更のあったセルの列を取得 | |
var row = range.getRowIndex(); //変更のあったセルの行を取得 | |
if(col == 7){ | |
reply = range.getValue(); //変更されたステータスの値 | |
var sheet = SpreadsheetApp.getActiveSheet(); |
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
# terraform plan時にzipファイルを作成 | |
data "archive_file" "function_archive" { | |
type = "zip" | |
source_dir = "../src" # main.pyやrequirement.txtが入ってるディレクトリ | |
output_path = "../zip/functions.zip" # zipファイルの出力先 | |
} | |
# zipファイルをアップロードするバケット | |
resource "google_storage_bucket" "zip_bucket" { | |
name = "zip-bucket-${var.gcp_project_id}" |
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
#### requirements.txt | |
# google-cloud-vision==2.2.0 | |
#### | |
from google.cloud import vision | |
import os | |
vision_client = vision.ImageAnnotatorClient() | |
project_id = os.environ["GCP_PROJECT"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
ticker | name | |
---|---|---|
1928 | Sekisui House, Ltd. | |
2229 | Calbee, Inc. | |
2269 | Meiji Holdings Co., Ltd. | |
2413 | M3, Inc. | |
2432 | DeNA Co., Ltd. | |
2502 | Asahi Group Holdings, Ltd. | |
2503 | Kirin Holdings Company, Limited | |
2670 | ABC-Mart, Inc. | |
2801 | Kikkoman Corporation |
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
afa3a7697e962f7a60ec4a448de32111d3a0316a7bf112a82f30e0da2b898baf0fd7d157de8ade10c6ce2ea328df1f913e1cb6fc2613070cb9afe98a1f3f4841 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@pydef mutable struct MLP <: Chain | |
function __init__(self, n_mid_units=100, n_out=10) | |
pybuiltin(:super)(MLP, self)[:__init__]() | |
@pywith self.init_scope() begin | |
self.l1 = L.Linear(py"None", n_mid_units) | |
self.l2 = L.Linear(py"None", n_mid_units) | |
self.l3 = L.Linear(py"None", n_out) | |
end | |
end |
NewerOlder