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.Drawing; | |
| using System.IO; | |
| using System.Text; | |
| namespace TraegerImage | |
| { | |
| class RotateFlipBug | |
| { |
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.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace DMSLib | |
| { | |
| public class EndianBinaryReader : BinaryReader |
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; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| using System.Text.Unicode; | |
| namespace esp32_flash_to_elf |
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.IO; | |
| using System.Linq; | |
| using System.Text; | |
| namespace esp32_flash_to_elf | |
| { | |
| public class ESP32NVSKeyPair | |
| { |
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
| Dictionary<int, bool[,]> EvolveWithLevels(Dictionary<int,bool[,]> levels) | |
| { | |
| Dictionary<int, bool[,]> newLevels = new Dictionary<int, bool[,]>(); | |
| foreach(var kvp in levels) | |
| { | |
| int curLevel = kvp.Key; | |
| bool[,] map = kvp.Value; | |
| bool[,] newMap = new bool[mapHeight, mapWidth]; | |
| for(var y = 0; y < map.GetLength(0); y++) |
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 AdventOfCode.Utilities; | |
| using System; | |
| using System.Linq; | |
| using System.Numerics; | |
| namespace AdventOfCode.Solutions.Year2019 { | |
| class Day22 : ASolution { | |
| public Day22() : base(22, 2019, "") { |
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
| s<->i = S, | |
| s<->n = I, S, | |
| s<->l = R, W, | |
| s<->w = F, K, P, V, W, | |
| s<->c = K, P, W, | |
| s<->r = F, G, K, P, V, W, | |
| s<->o = I, N, S, | |
| s<->v = K, P, W, | |
| s<->j = I, N, O, S, | |
| s<->q = D, H, K, P, W, |
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
| s<->i = 16 | |
| s<->n = 38 | |
| s<->l = 114 | |
| s<->w = 740 | |
| s<->c = 608 | |
| s<->r = 776 | |
| s<->g = 50 | |
| s<->o = 58 | |
| s<->v = 158 | |
| s<->j = 74 |
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
| ################################################################################# | |
| #.#.....#.........#...S.#...............#...............#.......#.....#.........# | |
| #.#.#.###.#.#####.#.###.#.###########.#.#.###.###########.###.#E#.###.#.#.####### | |
| #...#.....#.#...#.#.#.#.#.#.........#.#.#...#.#...#.....#...#.#.#...#...#.#.....# | |
| #.#########.#.#.###.#.#.###.#######I###.#.#.#.#.#.#.###.###.#.#.#.#.#####.#.###.# | |
| #.#.......#...#...#s#.#.#...#.#.....#...#.#.#.#.#.#.#.#...#.#.#.#.#...#.U.#...#.# | |
| #.#R#####.#######.#.#.#.#.###.#.#####.#.#.#.###.#.#.#B#.#.#.#.#.#####.#.#####.#.# | |
| #.#.#...#.#.....#...#.#..i....#n#.....#.#.#.....#.....#.#.#.#.#.......#.#.....#.# | |
| #.#.###.#.#.#.#.#####.#######.#.#.#.###.#.#############.###.#.###.#####.#.#####.# | |
| #.#..l..#.#.#.#.#.......#...#.#.#.#.#.#.#...#.....#.#...#...#.#...#...#.#.....#w# |
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 AdventOfCode.Utilities; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| namespace AdventOfCode.Solutions.Year2019 { |