$ aws apigateway get-client-certificates
{
"items": [
{
"clientCertificateId": "rrixc5i",
"pemEncodedCertificate": "-----BEGIN CERTIFICATE-----\r\XXXXXXXXXXBfBWu7W7ufgwDQYJKoZIhvcNAQELBQAwNDELMAkGA1UE\r\nBhMCVVMxEDAOBgNVBAcTB1NlYXR0bGUxEzARBgNVBAMTCkFwaUdhdGV3YXkwHhcN\r\nMjAwNTI5MTQyMjU5WhcNMjEwNTI5MTQyMjU5WjA0MQswCQYDVQQGEwJVUzEQMA4G\r\nA1UEBxMHU2VhdHRsZTETMBEGA1UEAxMKQXBpR2F0ZXdheTCCASIwDQYJKoZIhvcN\r\nAQEBBQADggEPADCCAQoCggEBAJxlRwofEJNcEroHBl569P5imccqfA1/DiSl6oMY\r\npt1BRXCK/MBwoIQVBCNZ4aHSeLYqg3VgtwIBTJE81g59Iw7sKM6Cb+w6vwFZczRS\r\nf87Xl5KkXKlbkvllM+s1SDBga8SF+LA0ux2bXyk8rviLYB+9YtOahbxJNX0sba+e\r\ncY2WYiNC5MeYqMPanbz8nBib1sMg7CbWoYs4aKPA8Y3fvWKNd69PwlG5ifQ+ZMHe\r\nMF7HNt4+Q9POdlw56L5wp4vT4BH0jNuGlc5HUxDZtsMYIXCUzOum4NyyHdDY3Bsl\r\nqR31t0grAt0l3Z7PUj+sUB7SwhEs4+9/pBSCAE5ou5p4RZ0CAwEAATANBgkqhkiG\r\n9w0BAQsFAAOCAQEAKkIkROSDWyEsVGE2wamDL/X
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
| void Main() | |
| { | |
| var p1 = new List<(int x, int y)> { | |
| (1,1), (1,3), (3,1), (3,3), (2,2) | |
| }; | |
| var p2 = new List<(int x, int y)> { | |
| (1,1), (1,3), (3,1), (3,3), (4,1), (4,3) | |
| }; |
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
| static void RunMushroomChamp() { | |
| var A = new int[] {2, 3, 7, 5, 1, 3, 9}; | |
| AssertAreEqual(25, MushroomChamp(trail:A, maxSteps:6, startPos:4)); | |
| AssertAreEqual(30, MushroomChamp(trail:A, maxSteps:15, startPos:4)); | |
| AssertAreEqual(6, MushroomChamp(trail:A, maxSteps:1, startPos:4)); | |
| AssertAreEqual(18, MushroomChamp(trail:A, maxSteps:4, startPos:0)); | |
| AssertAreEqual(18, MushroomChamp(trail:A, maxSteps:3, startPos:6)); | |
| AssertAreEqual(2, MushroomChamp(trail: new[]{2}, maxSteps:1, startPos: 0)); | |
| AssertAreEqual(2, MushroomChamp(trail: new[]{2}, maxSteps:1, startPos:-1)); | |
| AssertAreEqual(2, MushroomChamp(trail: new[]{2}, maxSteps:1, startPos: 1)); |
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
| void Main() | |
| { | |
| Console.WriteLine( | |
| LongestMatch("a8dgk1ndflg0s84142kd","093841tgpngh044flg0s84142123rbbdja7") | |
| ); | |
| } | |
| string LongestMatch(string small, string large) | |
| { | |
| string currLargest = ""; |
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.Text; | |
| namespace HashTable | |
| { | |
| public class HashTable | |
| { | |
| class HashTableItem | |
| { |
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.Linq; | |
| using System.Collections.Generic; | |
| namespace AsciiLetters | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
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.Linq; | |
| namespace KataTriangles | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
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
| void Main() | |
| { | |
| // Requirement: I want an Account that can have any type of identifier: | |
| // Could a business analyst understand this code? | |
| var accountWithInteger = new Account<int> { | |
| Id = 3, | |
| Name = "has integer key"}; | |
| var accountWithString = new Account<string> { | |
| Id = "Stringy", |
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
| # Global Values | |
| $excel = New-Object -ComObject Excel.Application | |
| $server = "." | |
| $db = "school" | |
| $workbook = $excel.Workbooks.Open("C:\Users\mike\Documents\Downloads\databook.xlsx"); | |
| $accountToWorksheetMap = @{ | |
| 'ACCT' = 'Sheet1' | |
| } | |
| # Global Functions |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.