Skip to content

Instantly share code, notes, and snippets.

ment';
get isLoggedIn(): boolean {
return this.authService.isLoggedIn();
}
get userName(): string {
if (this.authService.currentUser) {
"workbench.colorCustomizations": {
//"editor.selectionBackground": "#13ff0b83",
"editor.selectionHighlightBackground": "#13ff0b9a",
"editor.lineHighlightBackground": "#2b373a70",
"editor.wordHighlightBackground": "#13ff0b9a",
"editor.findMatchHighlightBackground": "#00ecfdb0",
"editor.wordHighlightStrongBackground": "#f812c68f", // syntax variable assignment
@RoyiNamir
RoyiNamir / 1
Created February 16, 2019 14:24
console.log('Loading function');
var AWS = require('aws-sdk');
var dynamo = new AWS.DynamoDB.DocumentClient();
exports.handler = async (event, context, callback) =>
{
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<AWSProjectType>Lambda</AWSProjectType>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.json" />
</ItemGroup>
<ItemGroup>
const p = Promise.resolve();
(async ()=> {
await p;
console.log('after:await');
})();