- Unit test coverage
- Integration test coverage
- Code quality report
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
defmodule Smoke do | |
def read(path) do | |
[h | t] = | |
File.read!(path) | |
|> String.split("\n") | |
|> Enum.map(fn x -> | |
String.codepoints(x) | |
|> Enum.map(&String.to_integer/1) | |
|> (fn x -> [10] ++ x ++ [10] end).() | |
end) |
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
defmodule Vents do | |
def parsepoint(point) do | |
point | |
|> String.split(",", trim: true) | |
|> Enum.map(&String.trim/1) | |
|> Enum.map(&String.to_integer/1) | |
end | |
def parseline(line) do | |
line |
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
defmodule Bingo do | |
def parseline(line) do | |
line | |
|> String.split(" ", trim: true) | |
|> Enum.map(&String.to_integer/1) | |
end | |
def parseboard(board) do | |
Enum.map(board, &parseline/1) | |
end |
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
defmodule Bingo do | |
def parseline(line) do | |
line | |
|> String.split(" ", trim: true) | |
|> Enum.map(&String.to_integer/1) | |
end | |
def parseboard(board) do | |
Enum.map(board, &parseline/1) | |
end |
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
#include <iostream> | |
#include <algorithm> | |
#include <math.h> | |
#include <set> | |
#include <vector> | |
#include <tuple> | |
#include <numeric> | |
#include <bitset> | |
#include <math.h> | |
#include <day3.hpp> |
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
#include <iostream> | |
#include <cmath> | |
#include <map> | |
#include <boost/algorithm/string.hpp> | |
#include <boost/format.hpp> | |
#include <day2.hpp> | |
namespace day2 | |
{ | |
std::string solution_part1(std::istream &std_input) |
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
#include <iostream> | |
#include <boost/format.hpp> | |
#include <day1.hpp> | |
namespace day1 | |
{ | |
std::string solution(std::istream &std_input) | |
{ | |
int increased = 0; | |
int prev, curr; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<opml version="2.0"> | |
<head> | |
<title>gPodder subscriptions</title> | |
<dateCreated>Thu, 18 Nov 2021 11:14:12 +0100</dateCreated> | |
</head> | |
<body> | |
<outline title="Berlin Briefing" text="We browse local news stories from Berlin (mostly reported in German) every weekday morning and report them back in a succinct five to ten minute summary. In English." xmlUrl="http://berlinbriefing.podigee.io/feed/aac" type="rss"/> | |
<outline title="Χίλιες και Μία Νύχτες" text="Ιστορικά πάρτι, θρυλικές συναυλίες, ανεπανάληπτα φεστιβάλ, αξέχαστα events. Ο Θεοδόσης Μίχος μαζεύει τα κομμάτια του μεγάλου παζλ της αθηναϊκής νυχτερινής ζωής μέσα από τις γλαφυρές αφηγήσεις των εκλεκτών καλεσμένων του -μουσικών, εικαστικών, ηθοποιών, σκηνοθετών, συγγραφέων, σεφ, DJs, ραδιοφωνικών παραγωγών, δημοσιογράφων, κ.α.- που βρέθηκαν στο σωστό μέρος τη σωστή στιγμή." xmlUrl="https://feeds.simplecast.com/XEFe6RQa" type="rss"/> | |
<outline title="3 στον αέρα" text="Χαλαρ |