Skip to content

Instantly share code, notes, and snippets.

@xlxs4
Created July 14, 2025 11:29
Show Gist options
  • Save xlxs4/9c2b93fff94ce359a4ed8360bd8e9851 to your computer and use it in GitHub Desktop.
Save xlxs4/9c2b93fff94ce359a4ed8360bd8e9851 to your computer and use it in GitHub Desktop.
Julia Mage ASCII
function print_wizard_logo(; with_elf=true)
logo = with_elf ?
raw"""
o `.
o*o \'-_ 00000000: 01111111 $.
\\ \;"". ,;.--* 00000001: 01000101 $E
\\ ,\''--.--'/ 00000002: 01001100 $L
:=\--<' `"" _ | 00000003: 01000110 $F
||\\ `" / ''-- 00000004: 00000010 .
`/_\\,-| | 00000005: 00000001 .
\\/ L
\\ ,' \
_/ L' ` \
/ / / /
/ / | \
"_''--_-''---__=;
""" :
raw"""
o `.
o*o \'-_
\\ \;"". ,;.--*
\\ ,\''--.--'/
:=\--<' `"" _ |
||\\ `" / ''--
`/_\\,-| |
\\/ L
\\ ,' \
_/ L' ` \
/ / / /
/ / | \
"_''--_-''---__=;
"""
blue = "\033[34m"
red = "\033[31m"
green = "\033[32m"
magenta = "\033[35m"
normal = "\033[0m\033[0m"
# These color codes are annoying to embed, just run replacements here
logo = replace(logo, " o " => " $(green)o$(normal) ")
logo = replace(logo, "o*o" => "$(red)o$(blue)*$(magenta)o$(normal)")
logo = replace(logo, ".--*" => "$(red).$(green)-$(magenta)-$(blue)*$(normal)")
#logo = replace(logo, "''" => "$(magenta)''$(normal)")
logo = replace(logo, "\$." => "$(blue).$(normal)")
logo = replace(logo, "\$E" => "$(red)E$(normal)")
logo = replace(logo, "\$L" => "$(green)L$(normal)")
logo = replace(logo, "\$F" => "$(magenta)F$(normal)")
println()
println()
println(logo)
println()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment