-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🐼 * rm panda refs outside core module; preprocess text/ANSI artwork sources * credit artwork to beatscribe
- Loading branch information
Showing
8 changed files
with
179 additions
and
16 deletions.
There are no files selected for viewing
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
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
31 changes: 31 additions & 0 deletions
31
beacon_chain/consensus_object_pools/vanity_logs/blink-version.ans
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[0;0m[46C[31m. | ||
[0m[34C[31m.[0m[10C[31m:[1;33m ___ | ||
[0m[19C[1;33m [0;31m`[1;33m ___ [0;31m:[1;33m._ \.[0m[9C[1;33m\\ ) ) [0;31m. | ||
[0m[25C[1;33m\\ .)`\ )\ \ \ ./') / ; ; | ||
[0m[26C[1;33m)`/ [0m [33m`\/ (''('('/ '` (.__/\ | ||
[0m[15C[1;33m [0;31m.[0m[7C[1;33m/''[0m dMb [1m [33m" " "[0m [0m[5C,mMm [1m [33m / | ||
[0m[15C[1;33m [0;31m .[1;33m ( [0m d;::`bmd""""""""""""bd':::`.[1m [33m(' [0;31m. | ||
[0m[21C[31m.[1;33m \ [0m{::::;[18C.;;;)[1m [33m ) [0;31m. | ||
[0m[5C[1;33m [0;31m.[0m[10C[1;33m./: }[0m `;;' .:::. .::::. ;.;'[1m [33m { . [0;31m\[1;33m. [0m [1;33m [0;31m. | ||
[0m[5C[1;33m `.[0m[7C[1;33m// \\ {'[0m d'' ::(*): :(*):: \.[1m [33m `}// \\ [0m [1;33m ; | ||
[0m[11C[1;33m)\ . (e`\ /'; \[0m |[5C:::::' `:::::[5C|[1;33m ./'{ /' ) /( | ||
[0m[5C[31m`[1;33m / /' ; \th(.{ }[0m |[5C`::;'______`:::'[5C|[1;33m { \^/'[0m [33m / /^'\ \ [0;31m, | ||
[0m[5C[1;33m ; ( ( (| `)\ \`\'[0m |[6C`" :_ _; "'[6C|[1;33m ` /' { / ( ( ( [0;31m; | ||
[0m[5C[1;33m /| `.`\ \`\| `\) `[0m `b[11C||[11Cd' [1;33m'[0m[6C[1;33m\`\ \`.\ \. | ||
[0m[5C[1;33m( `\. \ `\) .[0m [0m md$n[5C`-_+'`+_-'[5Cd$b.[6C[1;33m' [0m [1;33m(/' / ./' ) | ||
[0m[5C[1;33m \. `\ | [0m [1;33m; . [0m ...[0m;;;;;;` m `=='[5Cm ' ;;;.. [1;33m [0;31m.[1;0m [33m | /' ./ | ||
[0m[5C[1;33m ` \. `' [0m[5C.;;;;;:::;:::;::::.......;::::::::::::;;;. [1;33m [0m [1;33m'' ./ [0;31m. | ||
[0m[5C[1;33m [0;31m;[1;33m \ `[0;31m.[0m .::;::::;:'' """"[36m""[32m"""[0m""""""" `:::;:::'. [31m [1;33m / ; | ||
[0m[5C[1;33m ( \/'[0m[7C/:::::;:::' [36m [0m [36m .[32m . [0m[11C`:::;:;::\ [31m : [0m [1;33m`\/ ) | ||
[0m [31m:[0m [1;33m \ [0m [31m.[0m[5C/;:::;::::' m[36mm. [0m [36m |[32m : [0m [36m.m[32mm:[0m `::;:;:;:; [31m [0m [1;33m . / | ||
[0m [1;33m . .'.[0m[5C/;;:::Mmmm;;;;;/'[32m:[36m:| [0m [36m ||[0m [32m::[0m [36m|:[32m: [0m\_:::::mmm:::";\ [31m . [0m [31mb[1;33m`. [0;31m. | ||
[0m [1;33m /\ ;[0;31mn[1;33m [0m |::::::::;:`"""::[32m;[36m:/ [0m [36m |||[0m [32m:::[0m [36m\:[32m:[0m::'"""'::;:;;:;:|[31m [0m [31m ea[1;33m; / | ||
{ `'[0;31mi[1;33m [0m |::;::::;::::;:;:[32m:[36m{ [0m [36m ||\\[0m [32m//:: [0m [36m}[32m;[0m;::;:::;:;;::;::| [31m'[0m [31m`t[1;33m''[0;31m, | ||
[1;33m ./ . [0;31mm'[1;33m [0;31m [0m `::::;::::;::::[32m;:;[36m\ [0m [36m|\\\\[0m [32m////:[0m [36m /:[32m:[0m::;:::;::::::::;`[5C[31m;sc[1;33m( | ||
} [0;31mb.[1;33m [0;31m .[1;0m [0m """mm:::::::::::[32m\[36m_}[0m [32m..[36m \\ [32m//[36m ..[0m [36m{_[32m::[0m::::::::::mm""" [31m. . [0m [31m`ri[1;33m) | ||
/ .:/ [0;31mus[1;33m.[0;31m. .'[1;0m [0;31m.[0m """"mmmmPQ._[32m:[36m)[0m [32m`::..[36m ..:;'[0m [36m(-:[32m:[0m:QPmmmm""" [31m.:[1;0m [0;31m.[1;0m [0;31m . ;[0m [31m`be | ||
[0m[31C[1;0m [0m [36m`'[0m [32m`::[36m ::' [0m [36m`" | ||
[5m[0;5m [36mQM$Mb .d$b. .d$b. .d$b. .d$b. $$$$$ $[0m[32m\[36m /[5m$ $: $$ .d$b. $$$$$ $$$$$ $$$b. d$P | ||
[0;5m [36m|:[0;5m [36md$ $: $$ $b."P $: $$ $: "" [$: [$: Q$:$P $: $$ [0;5m [36m[$: $P.[0;5m.[36m $: Q$ .$$; | ||
[0;5m [32mP[36mb"' $: $$ `""b. $$22$ $: mm [$[0;5m: [36m [$: Q$P $$$$$ [$: $b"" $: d$ `$[32m: | ||
[0;5m [32m|$b `Q$P' `MpM; $: $$ `Q$P' [$: $$$$$ `$' $: $$ [$: $$ETH $$$$' mm[0m |
31 changes: 31 additions & 0 deletions
31
beacon_chain/consensus_object_pools/vanity_logs/color-version.ans
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[0;0m[46C[31m. | ||
[0m[34C[31m.[0m[10C[31m:[1;33m ___ | ||
[0m[19C[1;33m [0;31m`[1;33m ___ [0;31m:[1;33m._ \.[0m[9C[1;33m\\ ) ) [0;31m. | ||
[0m[25C[1;33m\\ .)`\ )\ \ \ ./') / ; ; | ||
[0m[26C[1;33m)`/ [0m [33m`\/ (''('('/ '` (.__/\ | ||
[0m[15C[1;33m [0;31m.[0m[7C[1;33m/''[0m dMb [1m [33m" " "[0m [0m[5C,mMm [1m [33m / | ||
[0m[15C[1;33m [0;31m .[1;33m ( [0m d;::`bmd""""""""""""bd':::`.[1m [33m(' [0;31m. | ||
[0m[21C[31m.[1;33m \ [0m{::::;[18C.;;;)[1m [33m ) [0;31m. | ||
[0m[5C[1;33m [0;31m.[0m[10C[1;33m./: }[0m `;;' .:::. .::::. ;.;'[1m [33m { . [0;31m\[1;33m. [0m [1;33m [0;31m. | ||
[0m[5C[1;33m `.[0m[7C[1;33m// \\ {'[0m d'' ::(*): :(*):: \.[1m [33m `}// \\ [0m [1;33m ; | ||
[0m[11C[1;33m)\ . (e`\ /'; \[0m |[5C:::::' `:::::[5C|[1;33m ./'{ /' ) /( | ||
[0m[5C[31m`[1;33m / /' ; \th(.{ }[0m |[5C`::;'______`:::'[5C|[1;33m { \^/'[0m [33m / /^'\ \ [0;31m, | ||
[0m[5C[1;33m ; ( ( (| `)\ \`\'[0m |[6C`" :_ _; "'[6C|[1;33m ` /' { / ( ( ( [0;31m; | ||
[0m[5C[1;33m /| `.`\ \`\| `\) `[0m `b[11C||[11Cd' [1;33m'[0m[6C[1;33m\`\ \`.\ \. | ||
[0m[5C[1;33m( `\. \ `\) .[0m [0m md$n[5C`-_+'`+_-'[5Cd$b.[6C[1;33m' [0m [1;33m(/' / ./' ) | ||
[0m[5C[1;33m \. `\ | [0m [1;33m; . [0m ...[0m;;;;;;` m `=='[5Cm ' ;;;.. [1;33m [0;31m.[1;0m [33m | /' ./ | ||
[0m[5C[1;33m ` \. `' [0m[5C.;;;;;:::;:::;::::.......;::::::::::::;;;. [1;33m [0m [1;33m'' ./ [0;31m. | ||
[0m[5C[1;33m [0;31m;[1;33m \ `[0;31m.[0m .::;::::;:'' """"[36m""[32m"""[0m""""""" `:::;:::'. [31m [1;33m / ; | ||
[0m[5C[1;33m ( \/'[0m[7C/:::::;:::' [36m [0m [36m .[32m . [0m[11C`:::;:;::\ [31m : [0m [1;33m`\/ ) | ||
[0m [31m:[0m [1;33m \ [0m [31m.[0m[5C/;:::;::::' m[36mm. [0m [36m |[32m : [0m [36m.m[32mm:[0m `::;:;:;:; [31m [0m [1;33m . / | ||
[0m [1;33m . .'.[0m[5C/;;:::Mmmm;;;;;/'[32m:[36m:| [0m [36m ||[0m [32m::[0m [36m|:[32m: [0m\_:::::mmm:::";\ [31m . [0m [31mb[1;33m`. [0;31m. | ||
[0m [1;33m /\ ;[0;31mn[1;33m [0m |::::::::;:`"""::[32m;[36m:/ [0m [36m |||[0m [32m:::[0m [36m\:[32m:[0m::'"""'::;:;;:;:|[31m [0m [31m ea[1;33m; / | ||
{ `'[0;31mi[1;33m [0m |::;::::;::::;:;:[32m:[36m{ [0m [36m ||\\[0m [32m//:: [0m [36m}[32m;[0m;::;:::;:;;::;::| [31m'[0m [31m`t[1;33m''[0;31m, | ||
[1;33m ./ . [0;31mm'[1;33m [0;31m [0m `::::;::::;::::[32m;:;[36m\ [0m [36m|\\\\[0m [32m////:[0m [36m /:[32m:[0m::;:::;::::::::;`[5C[31m;sc[1;33m( | ||
} [0;31mb.[1;33m [0;31m .[1;0m [0m """mm:::::::::::[32m\[36m_}[0m [32m..[36m \\ [32m//[36m ..[0m [36m{_[32m::[0m::::::::::mm""" [31m. . [0m [31m`ri[1;33m) | ||
/ .:/ [0;31mus[1;33m.[0;31m. .'[1;0m [0;31m.[0m """"mmmmPQ._[32m:[36m)[0m [32m`::..[36m ..:;'[0m [36m(-:[32m:[0m:QPmmmm""" [31m.:[1;0m [0;31m.[1;0m [0;31m . ;[0m [31m`be | ||
[0m[31C[1;0m [0m [36m`'[0m [32m`::[36m ::' [0m [36m`" | ||
[0m [36mQM$Mb .d$b. .d$b. .d$b. .d$b. $$$$$ $[32m\[36m /$ $: $$ .d$b. $$$$$ $$$$$ $$$b. d$P | ||
[0m [36m|:[0m [36md$ $: $$ $b."P $: $$ $: "" [$: [$: Q$:$P $: $$ [0m [36m[$: $P.[0m.[36m $: Q$ .$$; | ||
[0m [32mP[36mb"' $: $$ `""b. $$22$ $: mm [$[0m: [36m [$: Q$P $$$$$ [$: $b"" $: d$ `$[32m: | ||
[0m [32m|$b `Q$P' `MpM; $: $$ `Q$P' [$: $$$$$ `$' $: $$ [$: $$ETH $$$$' mm[0m |
38 changes: 38 additions & 0 deletions
38
beacon_chain/consensus_object_pools/vanity_logs/pandas.nim
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# beacon_chain | ||
# Copyright (c) 2022 Status Research & Development GmbH | ||
# Licensed and distributed under either of | ||
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). | ||
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). | ||
# at your option. This file may not be copied, modified, or distributed except according to those terms. | ||
|
||
{.push raises: [Defect].} | ||
|
||
import chronicles | ||
from ".."/".."/conf import StdoutLogKind | ||
|
||
type | ||
VanityLogs* = object | ||
onMergeTransitionBlock*: proc() {.gcsafe, raises: [Defect].} | ||
onFinalizedMergeTransitionBlock*: proc() {.gcsafe, raises: [Defect].} | ||
|
||
# Created by http://beatscribe.com/ (beatscribe#1008 on Discord) | ||
# These need to be the main body of the log not to be reformatted or escaped. | ||
proc mono🐼() = notice "text-version.txt".staticRead | ||
proc color🐼() = notice "color-version.ans".staticRead | ||
proc blink🐼() = notice "blink-version.ans".staticRead | ||
|
||
func getPandas*(stdoutKind: StdoutLogKind): VanityLogs = | ||
case stdoutKind | ||
of StdoutLogKind.Auto: raiseAssert "inadmissable here" | ||
of StdoutLogKind.Colors: | ||
VanityLogs( | ||
onMergeTransitionBlock: color🐼, | ||
onFinalizedMergeTransitionBlock: blink🐼) | ||
of StdoutLogKind.NoColors: | ||
VanityLogs( | ||
onMergeTransitionBlock: mono🐼, | ||
onFinalizedMergeTransitionBlock: mono🐼) | ||
of StdoutLogKind.Json, StdoutLogKind.None: | ||
VanityLogs( | ||
onMergeTransitionBlock: (proc() = notice "🐼 Proof of Stake Activated 🐼"), | ||
onFinalizedMergeTransitionBlock: (proc() = notice "🐼 Proof of Stake Finalized 🐼")) |
31 changes: 31 additions & 0 deletions
31
beacon_chain/consensus_object_pools/vanity_logs/text-version.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
. | ||
. : ___ | ||
` ___ :._ \. \\ ) ) . | ||
\\ .)`\ )\ \ \ ./') / ; ; | ||
)`/ `\/ (''('('/ '` (.__/\ | ||
. /'' dMb " " " ,mMm / | ||
. ( d;::`bmd""""""""""""bd':::`. (' . | ||
. \ {::::; .;;;) ) . | ||
. ./: } `;;' .:::. .::::. ;.;' { . \. . | ||
`. // \\ {' d'' ::(*): :(*):: \. `}// \\ ; | ||
)\ . (e`\ /'; \ | :::::' `::::: | ./'{ /' ) /( | ||
` / /' ; \th(.{ } | `::;'______`:::' | { \^/' / /^'\ \ , | ||
; ( ( (| `)\ \`\' | `" :_ _; "' | ` /' { / ( ( ( ; | ||
/| `.`\ \`\| `\) ` `b || d' ' \`\ \`.\ \. | ||
( `\. \ `\) . md$n `-_+'`+_-' d$b. ' (/' / ./' ) | ||
\. `\ | ; . ...;;;;;;` m `==' m ' ;;;.. . | /' ./ | ||
` \. `' .;;;;;:::;:::;::::.......;::::::::::::;;;. '' ./ . | ||
; \ `. .::;::::;:'' """""""""""""""" `:::;:::'. / ; | ||
( \/' /:::::;:::' . . `:::;:;::\ : `\/ ) | ||
: \ . /;:::;::::' mm. | : .mm: `::;:;:;:; . / | ||
. .'. /;;:::Mmmm;;;;;/'::| || :: |:: \_:::::mmm:::";\ . b`. . | ||
/\ ;n |::::::::;:`"""::;:/ ||| ::: \::::'"""'::;:;;:;:| ea; / | ||
{ `'i |::;::::;::::;:;::{ ||\\ //:: };;::;:::;:;;::;::| ' `t'', | ||
./ . m' `::::;::::;::::;:;\ |\\\\ ////: /::::;:::;::::::::;` ;sc( | ||
} b. . """mm:::::::::::\_} .. \\ // .. {_::::::::::::mm""" . . `ri) | ||
/ .:/ us.. .' . """"mmmmPQ._:) `::.. ..:;' (-:::QPmmmm""" .: . . ; `be | ||
`' `:: ::' `" | ||
QM$Mb .d$b. .d$b. .d$b. .d$b. $$$$$ $\ /$ $: $$ .d$b. $$$$$ $$$$$ $$$b. d$P | ||
|: d$ $: $$ $b."P $: $$ $: "" [$: [$: Q$:$P $: $$ [$: $P.. $: Q$ .$$; | ||
Pb"' $: $$ `""b. $$22$ $: mm [$: [$: Q$P $$$$$ [$: $b"" $: d$ `$: | ||
|$b `Q$P' `MpM; $: $$ `Q$P' [$: $$$$$ `$' $: $$ [$: $$ETH $$$$' mm |
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
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