git clone https://github.com/mobtimeapp/mobtime.git
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
// Inspired in http://www.johneday.com/422/time-based-gmail-filters-with-google-apps-script | |
// Deletes old marked conversations | |
function cleanUp() { | |
var delayDays = 5; // # of days before messages are moved to trash | |
var label = "Delete me"; // label to identify the messages | |
var maxDate = new Date(Date.now() - delayDays * 24 * 60 * 60 * 1000); | |
var userLabel = GmailApp.getUserLabelByName(label); | |
if (!userLabel) { | |
return; |
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
{ | |
"version": "fae0bde4-2075-4f21-b563-3cd619eb8fc1" | |
} |
docker run -u zap -p 9090:9090 -i owasp/zap2docker-weekly zap.sh -daemon -host 0.0.0.0 -port 9090 \
-config api.addrs.addr.name=.* -config api.addrs.addr.regex=true -config api.key=< your api key > \
-config hud.enabledForDaemon=true
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 columnStart() { | |
return 3; | |
} | |
function replaceHyperlink(str){ | |
var splitStr = str.split('\"');; | |
return { | |
url: splitStr[1], | |
name: splitStr[3], | |
}; |
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
export const sample = () => console.log('CALL MJS'); |
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
GET /datas <= データ一覧取得 | |
GET /datas/id <= 1件のデータ取得 | |
GET /datas/id/column <= 特定データの特定項目を取得 | |
POST /datas <= データ発生 (ここでIDができる) | |
PUT /datas/id <= 特定データの一括更新 | |
PUT /datas/id/column <= 特定データを1個だけ更新 | |
PATCH /datas/id <= 特定データの部分項目を更新 | |
DELETE /datas/id <= 特定のリソース削除 |
NewerOlder