Skip to content

Instantly share code, notes, and snippets.

View musicm122's full-sized avatar
🏠
Working from home

Terrance Smith musicm122

🏠
Working from home
View GitHub Profile
@swlaschin
swlaschin / effective-fsharp.md
Last active July 23, 2024 10:39
Effective F#, tips and tricks

Architecture

  • Use Onion architecture

    • Dependencies go inwards. That is, the Core domain doesn't know about outside layers
  • Use pipeline model to implement workflows/use-cases/stories

    • Business logic makes decisions
    • IO does storage with minimal logic
    • Keep Business logic and IO separate
  • Keep IO at edges

@guitarrapc
guitarrapc / SignUpCognitoUserPoolSample.cs
Last active April 27, 2018 10:17
Sample code to Sign up Cognito UserPool with C# (not Unity or Xamarin)
using Amazon;
using Amazon.CognitoIdentityProvider.Model;
using System.Threading.Tasks;
public class SignUpCognitoUserPoolSample
{
public async Task SignupCognitoUserIntoUserPoolAsync()
{
// Identify your Cognito UserPool Provider
using(var provider = new Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient(RegionEndpoint.USEast1))
@jasonrudolph
jasonrudolph / about.md
Last active May 14, 2024 16:36
Programming Achievements: How to Level Up as a Developer