This file contains hidden or 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
| namespace Dig.Api.ImageGeneration; | |
| using SkiaSharp; | |
| using Storage; | |
| public class SkiaImageRenderer : IImageRenderer | |
| { | |
| private readonly HttpClient httpClient; | |
| public SkiaImageRenderer(HttpClient httpClient) |
This file contains hidden or 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
| [ | |
| { "country": "Afghanistan", "code": "AF" }, | |
| { "country": "Albania", "code": "AL" }, | |
| { "country": "Algeria", "code": "DZ" }, | |
| { "country": "American Samoa", "code": "AS" }, | |
| { "country": "Andorra", "code": "AD" }, | |
| { "country": "Angola", "code": "AO" }, | |
| { "country": "Anguilla", "code": "AI" }, | |
| { "country": "Antarctica", "code": "AQ" }, | |
| { "country": "Antigua and Barbuda", "code": "AG" }, |
This file contains hidden or 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
| const path = require("path"); | |
| module.exports = { | |
| entry: "./src/lambda.ts", | |
| mode: "production", | |
| cache: true, | |
| target: "node", | |
| module: { | |
| rules: [ | |
| { |
This file contains hidden or 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.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Security.Cryptography.X509Certificates; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Http.Extensions; | |
| using Microsoft.Extensions.Logging; |
This file contains hidden or 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; | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var order = new Order(Guid.NewGuid(), Guid.NewGuid()); | |
| } | |
| } |
This file contains hidden or 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; | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var order = new Order(Guid.NewGuid(), Guid.NewGuid()); | |
| } |
This file contains hidden or 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
| public void Stuff() | |
| { | |
| var what = AllRules(); | |
| foreach (var s in what) | |
| { | |
| Debug.WriteLine(s); | |
| } | |
| } | |
| public List<string> AllRules() |
This file contains hidden or 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
| open FsCheck | |
| open FsCheck.Xunit | |
| open Swensen.Unquote | |
| [<Property>] | |
| let ``Given Rich likes BDD style tests but not ugly method names when writing tests then we should use F#`` () = | |
| true =! true |