Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


cafebabe (894)

cafebabe
(email not shown publicly)

Journal of cafebabe (894)

The Fine Print: The following are owned by whoever posted them. We are not responsible for them in any way.
Sunday July 08, 18
07:06 PM
Code

If there was any doubt about processing HTML (from stdin to stdout) into rainbow text, an example implementation is provided. It works best on long paragraphs of text and many find the result too irritating to read:-

begin 644 rainbow-text.pl.gz
M'XL(`$P&0EL"`X5376O;,!1]]Z]0$C>58SN2G&84;'F%P-C#^K(%-HA=<!)G
M\>9:0;)IH4E_^R3Y*QD9PQ:Z.N?HWJ.OT0!5@J-U5J!#RG/@?C>,$?B\?/P"
MOB99L68O8)F^EA*#"\O#9.[>@^4^!0M6",;+K'J>&B/)2NH>WWD?0)G\3@NP
MX^P9+!Z_&<8#K]-@"CU\Y[0-RT_VEM\)"(78(=C3-)D31_[XC/<47W^*K2<;
MHEJ#1@#>#`!RMDER:&:%1<4^VY5^C[&JM/KA@SBDF_/Q3YYL]=C<L)P*B24<
M=NXMERA.SZ+BD&<E1#`8N.YT\M%UPV.P>@KC27B$T7CU%(31V(]M_ZA"$)51
M$?'8>B/.[&2A3#C*GJXD+=4VZ\0:JRLTY;5)-%/$H1+[6N;<WM:_UBO?%*MP
MQS@T<QF;>:#3R,"V+;TO`&0[J,&5F4]F\>`=K8(P1BW;)))D3'5DV[XF3D;=
M7%?#"E29=%6*V^EJ)5/ZBV4%E,[ZO06`IV7%"RWPFU3_]3G8IKNL2+>P\V2=
M^=2ESI8R[6/;BQO7(,U%VL\Y,(&I.MA)EQ)UZ]&*A&J1FQ4EU)'546M*7#/Q
M+W)=D<D1J9/8I`755BD\5+7[-71JB;;2T\7ZQ('+$CLX##ZQHI3/+6><1L/1
M#?9^M"T:AC?B1@1(2<*A8[:7=:5=Q!-S;5]B1&*)C:?S3DNN:,D_M-X5K?>W
MMC\7Y^)<K,OK='$M3H;QLL_R%';GGLN.!F%S[/7P7:"5?DFVB1`3^DVH30+C
4QDL]S7*&43'42?\`&U52+MT$````
`
end

(Usual instructions for uudecode process.)

Display Options Threshold/Breakthrough Reply to Article Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 0) by Anonymous Coward on Monday July 09 2018, @12:24AM (1 child)

    by Anonymous Coward on Monday July 09 2018, @12:24AM (#704366)

    Consider using base64. It is denser, because it can use lower case, and that works on Soylent, which supports Unicode.
    Decoders are supplied with real operating systems.
    This is your file in base64 format:

    H4sIAEwGQlsCA4VTXWvbMBR9969QEjeVYzuSnGYUbHmFwNjD+rIFNohdcBJn8eZaQbJpoUl/
    +yT5KxkZwxa6Oufo3qOv0QBVgqN1VqBDynPgfjeMEfi8fPwCviZZsWYvYJm+lhKDC8vDZO7e
    g+U+BQtWCMbLrHqeGiPJSuoe33kfQJn8Tguw4+wZLB6/GcYDr9NgCj1857QNy0/2lt8JCIXY
    IdjTNJkTR/74jPcUX3+KrScbolqDRgDeDABytklyaGaFRcU+25V+j7GqtPrhgzikm/PxT55s
    9djcsJwKiSUcdu4tlyhOz6LikGclRDAYuO508tF1w2OwegrjSXiE0Xj1FITR2I9t/6hCEJVR
    EfHYeiPO7GShTDjKnq4kLdU268Qaqys05bVJNFPEoRL7Wubc3ta/1ivfFKtwxzg0cxmbeaDT
    yMC2Lb0vAGQ7qMGVmU9m8eAdrYIwRi3bJJJkTHVk274mTkbdXFfDClSZdFWK2+lqJVP6i2UF
    lM76vQWAp2XFCy3wm1T/9TnYprusSLew82Sd+dSlzpYy7WPbixvXIM1F2s85MIGpOthJlxJ1
    69GKhGqRmxUl1JHVUWtKXDPxL3JdkckRqZPYpAXVVik8VLX7NXRqibbS08X6xIHLEjs4DD6x
    opTPLWecRsPRDfZ+tC0ahjfiRgRIScKhY7aXdaVdxBNzbV9iRGKJjafzTkuuaMk/tN4Vrfe3
    tj8X5+JcrMvrdHEtTobxss/yFHbnnsuOBmFz7PXwXaCVfkm2iRAT+k2oTQLjxks9zXKGUTHU
    Sf8AG1VSLt0EAAA=

    • (Score: 0) by Anonymous Coward on Monday July 09 2018, @12:48PM

      by Anonymous Coward on Monday July 09 2018, @12:48PM (#704520)

      Don't tell an old girl how to suck. Uuencode is what her mother taught her and that's good enough for cafebabe.

(1)