mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
c705c8011e
Summary: Ref T7785. Convert the Cowsay Remarkup rule to use a PHP implementation so we don't have to execute an external `cowsay` binary. I removed some of the default ".cow" files that come with Cowsay because they: - include Perl code which we can not interpret; or - are primarily in-jokes or standalone visual puns or artwork rather than usable actors on the grand stage of cowsay; or - offended my delicate sensibilities. Users can add new cows to `resources/cows/custom/` if they want to make new cows available. I have included a majestic original artwork depicting the "Companion Cube" character from //Portal//. Test Plan: {F802535} Reviewers: chad Reviewed By: chad Maniphest Tasks: T9408, T7785 Differential Revision: https://secure.phabricator.com/D14100
21 lines
1.3 KiB
Text
21 lines
1.3 KiB
Text
##
|
|
## A dragon smiting a cow, possible credit to kube@csua.berkeley.edu
|
|
##
|
|
$the_cow = <<EOC;
|
|
$thoughts ^ /^
|
|
$thoughts / \\ // \\
|
|
$thoughts |\\___/| / \\// .\\
|
|
$thoughts /O O \\__ / // | \\ \\ *----*
|
|
/ / \\/_/ // | \\ \\ \\ |
|
|
\@___\@` \\/_ // | \\ \\ \\/\\ \\
|
|
0/0/| \\/_ // | \\ \\ \\ \\
|
|
0/0/0/0/| \\/// | \\ \\ | |
|
|
0/0/0/0/0/_|_ / ( // | \\ _\\ | /
|
|
0/0/0/0/0/0/`/,_ _ _/ ) ; -. | _ _\\.-~ / /
|
|
,-} _ *-.|.-~-. .~ ~
|
|
\\ \\__/ `/\\ / ~-. _ .-~ /
|
|
\\____($eyes) *. } { /
|
|
( (--) .----~-.\\ \\-` .~
|
|
//__\\\\ \\__ Ack! ///.----..< \\ _ -~
|
|
// \\\\ ///-._ _ _ _ _ _ _{^ - - - - ~
|
|
EOC
|