View ServerTlsSettings.cs
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
// Copyright (c) Microsoft. All rights reserved. | |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | |
namespace CustomMonoTlsHandler | |
{ | |
using System.Security.Authentication; | |
using System.Security.Cryptography.X509Certificates; | |
using DotNetty.Handlers.Tls; | |
public sealed class ServerTlsSettings : TlsSettings |
View CustomTlsHandler.cs
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Diagnostics.Contracts; | |
using System.IO; | |
using System.Net.Security; | |
using System.Runtime.ExceptionServices; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Threading; | |
using System.Threading.Tasks; |
View BindableScrollableStackLayout.xaml
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
<?xml version="1.0" encoding="UTF-8"?> | |
<ScrollView | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="Project.Controls.BindableScrollableStackLayout"> | |
<StackLayout x:Name="stackLayout" /> | |
</ScrollView> |
View lambda.dynamodb.get.js
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
var AWS = require('aws-sdk'); | |
var dynamodb = new AWS.DynamoDB.DocumentClient(); | |
exports.handler = (event, context, callback) => { | |
dynamodb.scan({ | |
TableName: 'ggmug' | |
}, (err, data) => { | |
if (err) { |
View lambda.dynamodb.put.js
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
var AWS = require('aws-sdk'); | |
var dynamodb = new AWS.DynamoDB.DocumentClient(); | |
exports.handler = (event, context, callback) => { | |
console.log(JSON.stringify(event)); | |
dynamodb.put({ | |
TableName: 'ggmug', | |
Item: { |