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
{"contents":{"tslint":{"configFile":"./config/tslint/tslint.json"},"css":{"validate":false}},"overrides":[],"keys":["tslint.configFile","css.validate"]} |
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
import Joi from 'joi' | |
import lambcycle from 'lambcycle' | |
import joiPlugin from 'lambcycle/dist/plugin-joi' | |
import bodyParser from 'lambcycle/dist/plugin-body-parser' | |
import realTimeEventTracker from './bugFreeBizLogic' | |
const businessLogic = async(event, context) => { | |
const {error, data} = await realTimeEventTracker(event.data) | |
if(error) { |
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
import * as Sentry from '@sentry/node'; | |
import MyAwesomeIntegration from './MyAwesomeIntegration' | |
const sentryPlugin = (config) => { | |
Sentry.init({ | |
dsn: `https://${config.key}@sentry.io/${config.project}`, | |
integrations: [new MyAwesomeIntegration()] | |
}); | |
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
import lambcycle from 'lambcycle' | |
import sentryPlugin from './sentryPlugin' | |
const myApplicationLogic = async (event, context) => { | |
return await someLogic() | |
} | |
const handler = lambcycle(myApplicationLogic) | |
.register([ | |
sentryPlugin({ |
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
brew install zsh | |
chsh -s `which zsh` | |
curl -L http://install.ohmyz.sh | sh | |
cd ~/.oh-my-zsh && git clone git://github.com/zsh-users/zsh-syntax-highlighting.git | |
source ~/.oh-my-zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
brew install z | |
echo '. `brew --prefix`/etc/profile.d/z.sh' >> ~/.zshrc |