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
var allSum = 0; | |
var dt = new Date(); | |
var curYYYYMMDD = ( dt.getFullYear() + ("0"+(dt.getMonth() + 1)).slice(-2) + ("0"+dt.getDate()).slice(-2) ) * 1; | |
var selectedYYYYMM = $('#year_month').val() * 100, sumCell; | |
//丸め処理(15分) | |
var doRound = function(v, floor = true, step = 15){ | |
return (floor ? Math.floor : Math.ceil)(v / step) * step; | |
}; |
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" | |
func main() { | |
query := Query{ | |
SingleQuery{ | |
And: []QueryInterface{ | |
ComparisonFormula{ | |
Eq: []ValueInterface{ |
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
#!/bin/bash | |
set -euo pipefail # これがないとrcloneでエラーが起きてもCIがエラーにならない | |
# 初期設定 | |
export RCLONE_FTP_HOST=${DEPLOY_HOST} | |
export RCLONE_FTP_USER=${DEPLOY_USER} | |
export RCLONE_FTP_PASS=$(echo "$DEPLOY_PASS" | rclone obscure -) | |
export RCLONE_FTP_NO_CHECK_CERTIFICATE=true | |
export RCLONE_FTP_EXPLICIT_TLS=true | |
export RCLONE_FTP_WRITING_MDTM=true # これがないと sync で新しいファイルがアップロードされない |