mirror of
https://github.com/tiennm99/awesome-advent-of-code.git
synced 2026-10-15 12:13:51 +00:00
update-badge: fix external link parsing
This commit is contained in:
1 parent
dd850da3d0
commit
7ee935c6ed
6 files changed
+13
-19
No files matched your search
@@ -92,14 +92,8 @@ function parseGithubRepos (lines) {
|
||||
}
|
||||
|
||||
function otherDomain (line) {
|
||||
return (
|
||||
!(
|
||||
line.indexOf('[') < line.indexOf('/') &&
|
||||
line.indexOf(']') > line.indexOf('/')
|
||||
) ||
|
||||
line.indexOf('gitlab.com') !== -1 ||
|
||||
line.indexOf('gist.github.com') !== -1
|
||||
)
|
||||
const match = line.match(/\[[^\[\]\s]+\]\((?<link>[^\(\)\s]+)\)/)
|
||||
return match !== null && !match.groups.link.startsWith('https://github.com/')
|
||||
}
|
||||
|
||||
function generateLine (repo) {
|
||||
|
||||
@@ -515,7 +515,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
* [evilmint/AdventOfCode](https://github.com/evilmint/AdventOfCode) 
|
||||
* [fguchelaar/AdventOfCode2019](https://github.com/fguchelaar/AdventOfCode2019) 
|
||||
* [gernb/AdventOfCode2019](https://github.com/gernb/AdventOfCode2019) 
|
||||
* [bradleymackey/AdventOfCode2019](https://github.com/bradleymackey/AdventOfCode2019) 
|
||||
* [bradleymackey/advent.of.code]
|
||||
* [gereons/AoC2019](https://github.com/gereons/AoC2019) 
|
||||
|
||||
#### TypeScript
|
||||
|
||||
@@ -179,7 +179,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
|
||||
* [atgreen/advent-of-code-2020](https://github.com/atgreen/advent-of-code-2020) 
|
||||
* [m3m0ry/2020-aoc](https://github.com/m3m0ry/2020-aoc) 
|
||||
* [~zge/aoc20](https://github.com/~zge/aoc20) 
|
||||
* [~zge/aoc20](https://git.sr.ht/~zge/aoc20)
|
||||
* [dwclark/advent-of-code-2020](https://github.com/dwclark/advent-of-code-2020) 
|
||||
* [guojing0/aoc-2020](https://github.com/guojing0/aoc-2020) 
|
||||
|
||||
@@ -275,7 +275,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
|
||||
#### Hamler
|
||||
|
||||
*Solutions to AoC in [Hamler](https://github.com/hamler-lang/hamler)*
|
||||
*Solutions to AoC in Hamler.*
|
||||
|
||||
* [rolandtritsch/hamler-aoc-2020](https://github.com/rolandtritsch/hamler-aoc-2020) 
|
||||
|
||||
@@ -504,7 +504,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
* [asiron/aoc](https://github.com/asiron/aoc) 
|
||||
* [aufbakanleitung/advent-of-code-2020](https://github.com/aufbakanleitung/advent-of-code-2020) 
|
||||
* [aureliensimon/avent-of-code-2020](https://github.com/aureliensimon/avent-of-code-2020) 
|
||||
* [brianbarbieri](https://github.com/brianbarbieri/adventofcode2020) 
|
||||
* [brianbarbieri/adventofcode2020](https://github.com/brianbarbieri/adventofcode2020) 
|
||||
* [bsoyka/advent-of-code](https://github.com/bsoyka/advent-of-code) 
|
||||
* [campierce/advent-of-code](https://github.com/campierce/advent-of-code) 
|
||||
* [candemircan/adventofcode](https://github.com/candemircan/adventofcode) 
|
||||
@@ -574,7 +574,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
* [VasileiosGeladaris/AdventOfCode2020](https://github.com/VasileiosGeladaris/AdventOfCode2020) 
|
||||
* [vss2sn/advent_of_code](https://github.com/vss2sn/advent_of_code) 
|
||||
* [wysockipiotr/aoc](https://github.com/wysockipiotr/aoc) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2020/) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2020/)
|
||||
* [yeurch/advent-of-code](https://github.com/yeurch/advent-of-code) 
|
||||
* [yspreen/adventofcode](https://github.com/yspreen/adventofcode) 
|
||||
* [yufengg/adventofcode](https://github.com/yufengg/adventofcode) 
|
||||
@@ -602,7 +602,7 @@ Read [CONTRIBUTING.md](/CONTRIBUTING.md) to learn how to add your own repos.
|
||||
*Solutions to AoC in Racket.*
|
||||
|
||||
* [Bogdanp/aoc2020](https://github.com/Bogdanp/aoc2020) 
|
||||
* [haskal/aoc2020](https://github.com/haskal/aoc2020) 
|
||||
* [haskal/aoc2020](https://git.lain.faith/haskal/aoc2020)
|
||||
* [jackfirth/advent-of-code](https://github.com/jackfirth/advent-of-code) 
|
||||
* [lojic/LearningRacket](https://github.com/lojic/LearningRacket) 
|
||||
* [mbutterick/aoc-racket](https://github.com/mbutterick/aoc-racket) 
|
||||
|
||||
@@ -495,7 +495,7 @@ Read [CONTRIBUTING.md](/.github/CONTRIBUTING.md) to learn how to add your own re
|
||||
* [codemicro/adventOfCode](https://github.com/codemicro/adventOfCode) 
|
||||
* [dannyhpy/adventofcode](https://github.com/dannyhpy/adventofcode) 
|
||||
* [vanyle/AdventOfCode](https://github.com/vanyle/AdventOfCode) 
|
||||
* [Archargelod/aoc21-nim](https://github.com/Archargelod/aoc21-nim) 
|
||||
* [Archargelod/aoc21-nim](https://codeberg.org/Archargelod/aoc21-nim)
|
||||
|
||||
#### Objective-C
|
||||
|
||||
@@ -628,7 +628,7 @@ Read [CONTRIBUTING.md](/.github/CONTRIBUTING.md) to learn how to add your own re
|
||||
* [zedrdave/advent_of_code](https://github.com/zedrdave/advent_of_code) 
|
||||
* [TurtleSmoke/Advent-of-Code](https://github.com/TurtleSmoke/Advent-of-Code) 
|
||||
* [vil02/adv_2021](https://github.com/vil02/adv_2021) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2021/) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2021/)
|
||||
* [AbdeI1/AdventOfCode](https://github.com/AbdeI1/AdventOfCode) 
|
||||
|
||||
#### R
|
||||
|
||||
@@ -460,7 +460,7 @@ Read [CONTRIBUTING.md](/.github/CONTRIBUTING.md) to learn how to add your own re
|
||||
* [MichalMarsalek/Advent-of-code](https://github.com/MichalMarsalek/Advent-of-code) 
|
||||
* [bobgeis/aoc2022](https://github.com/bobgeis/aoc2022) 
|
||||
* [codemicro/adventOfCode](https://github.com/codemicro/adventOfCode) 
|
||||
* [Archargelod/aoc22-nim](https://github.com/Archargelod/aoc22-nim) 
|
||||
* [Archargelod/aoc22-nim](https://codeberg.org/Archargelod/aoc22-nim)
|
||||
|
||||
#### Objective-C
|
||||
|
||||
@@ -577,7 +577,7 @@ Read [CONTRIBUTING.md](/.github/CONTRIBUTING.md) to learn how to add your own re
|
||||
* [zu-se/AdventOfCode2022](https://github.com/zu-se/AdventOfCode2022) 
|
||||
* [GuglielmoCerri/Advent-of-Code](https://github.com/GuglielmoCerri/Advent-of-Code) 
|
||||
* [vil02/adv_2022](https://github.com/vil02/adv_2022) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2022/) 
|
||||
* [advent-of-code.xavd.id](https://advent-of-code.xavd.id/writeups/2022/)
|
||||
* [UrAvgCode/AdventOfCode](https://github.com/UrAvgCode/AdventOfCode) 
|
||||
* [AbdeI1/AdventOfCode](https://github.com/AbdeI1/AdventOfCode) 
|
||||
* [ndunnett/aoc](https://github.com/ndunnett/aoc) 
|
||||
|
||||
@@ -541,7 +541,7 @@ Read [CONTRIBUTING.md](/.github/CONTRIBUTING.md) to learn how to add your own re
|
||||
*Solutions to AoC in Nim.*
|
||||
|
||||
* [portrik/adventofcode](https://github.com/portrik/adventofcode) 
|
||||
* [Archargelod/aoc23-nim](https://github.com/Archargelod/aoc23-nim) 
|
||||
* [Archargelod/aoc23-nim](https://codeberg.org/Archargelod/aoc23-nim)
|
||||
|
||||
#### Nushell
|
||||
|
||||
|
||||
Reference in new issue
Block a user