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 workCount() { | |
var calendar = CalendarApp.getCalendarById('') // アルバイト用カレンダーID | |
var startDate = Moment.moment("2017-01-01") // 記録開始年月日 | |
var now = Moment.moment().add(3,'months') // 基本記録終了年月日(default : 現在より3ヶ月先) | |
var monthCount = now.startOf("month").diff(startDate,"months") // 処理月数 | |
var report = [] // 全データ格納用変数 | |
var HourlyWage = 1000 // 時給 | |
// 処理月数分ループ 月ごと | |
for (i = 0 ; i < monthCount; i++,startDate.add(1,'months')){ |
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
$ echo "alias chp='ssh {Serverのユーザ名}@{ServerのIPアドレス} sh ~/autopull.sh'" >> ~/.bashrc |
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
Windowsキー → "Bash" → Enter |