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
/** | |
* AWS Lambda (Node) - Using Insight API to Query your Cloudwatch Log for Daily Error Report | |
* @author Zeno Yu <[email protected]> | |
*/ | |
const AWS = require('aws-sdk'); | |
var cloudwatchlogs = new AWS.CloudWatchLogs(); | |
exports.handler = async (event) => { | |
// Cloudwatch Log Group name |
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
/** | |
* Your 1st Hello worldService | |
* | |
*/ | |
var LocalServiceRegistry = require('dw/svc/LocalServiceRegistry'); | |
/** | |
* Helloworld | |
* @returns {Object} Helloworld Service | |
*/ |
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
git config --global user.email "[email protected]" | |
git config --global user.name "USER" | |
For those with cntlm: | |
git config --global http.proxy http://127.0.0.1:3128 | |
git config --global https.proxy https://127.0.0.1:3128 | |
Useful Aliases |