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
class PasswordGenerator { | |
#chunksFromString(string, chunkSize) { | |
const numChunks = Math.floor(string.length / chunkSize); | |
const chunks = new Array(numChunks); | |
for (let i=0, o=0; i < numChunks; ++i, o+=chunkSize) { | |
chunks[i] = string.substr(o, chunkSize); | |
} | |
return chunks; |
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
Name | Id | StatusCode | |
---|---|---|---|
ACQUAMELA | S09798 | NoContent | |
AGOGNATE | S00075 | NoContent | |
AIELLI | S08550 | NoContent | |
ALBAIRATE VERMEZZO | S01059 | NoContent | |
ALBERGO | S06067 | NoContent | |
ALIFE | S09020 | NoContent | |
ALVIGNNO | S09023 | NoContent | |
ANCONA STADIO | S07114 | NoContent | |
ANDORA | S04525 | NoContent |
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
namespace Microsoft.AspNetCore.Mvc; | |
/// <summary> | |
/// An <see cref="ObjectResult"/> that when executed will produce | |
/// a <see cref="StatusCodes.Status429TooManyRequests"/> response | |
/// with an optional Retry-After header. | |
/// </summary> | |
[DefaultStatusCode(DefaultStatusCode)] | |
public class TooManyRequestsObjectResult : ObjectResult | |
{ |
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.IO; | |
using System.Security.Cryptography; | |
namespace HashDemo | |
{ | |
class Program | |
{ | |
public static void Main (string[] args) | |
{ |