compression-encoding.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4. <title>SlideScript API: Compression &amp; Encoding / Decoding ~ The Lazy Language</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1" />
  7. <meta name="description" content="SlideScript API and Documentation section - SlideScript is a micro stripting language with the intent to give the world an effective shell like experience with the ability to use a sloppy syntax! SlideScript can do simple every day shell tasks like manipulating and working with files, and directories, piping, variable support, and backquoting, with a bit of spice like: built-in md5, and encoder / decoder, webserver, networking functions, tar and compression functions, PLUS MORE!" />
  8. <link href="../style.css" rel="stylesheet" type="text/css" />
  9. </head>
  10. <body>
  11. <table><tr><td>
  12. <div class="header">
  13. <img src="../sslogo.png" class="logoimg" title="SlideScript logo" alt="SlideScript" />
  14. </div>
  15. </td></tr><tr><td>
  16. <div class="menu"><!--
  17. --><a href="../index.html">Home</a><!--
  18. --><a href="index.html">Documentation</a><!--
  19. --><a href="https://notabug.org/Pentium44/slidescript">Git</a><!--
  20. --></div>
  21. </td></tr></table>
  22. <div class="container">
  23. <p>Eventually, compression will be 100% working but tends to be slow and a proof
  24. of concept for sheer size. The encoding / decoding is more than perfect for what
  25. it does and for the sake of file checking, md5 does also exist in SlideScript
  26. for file checking.</p>
  27. <h2>Encoding and decoding</h2>
  28. <p>
  29. SlideScript has its own encoding algorithm unique to itself. In the future, I do
  30. plan on allowing the trigger change of encode stepping to give the user their own
  31. ability to give their twist to the encoding. This makes password encoding or decoding
  32. a bit more secure. Examples:
  33. <pre><code>
  34. #!/usr/bin/slidescript
  35. # Read a file and encode its contents
  36. read "docs/README.txt" | encode "%PIPE%" | fileenc=%PIPE%
  37. print "Encoded: %fileenc%"
  38. decode "%fileenc%" | filedec=%PIPE%
  39. print "Decoded: %filedec%"
  40. </code></pre>
  41. <br /><br />
  42. <h4><b>This page is still under development!</b></h4>
  43. </p>
  44. <h3>IRC server</h3>
  45. <p>
  46. Still need help? Want to report a bug? Join us!<br /><br />
  47. IP/Port: cddo.cc/1337<br />
  48. Main hang channel: <b>#theroot</b><br />
  49. FreeBox channel: <b>#freebox</b><br />
  50. FreonLinux channel: <b>#freonlinux</b>
  51. </p>
  52. </div>
  53. <div class="footer">
  54. &copy; Chris Dorman, 2021 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode">CC BY-NC-SA 4.0</a> - Software GPLv2 licensed<br />
  55. <p>
  56. Powered by:<br />
  57. <a href="https://freedns.afraid.org/">
  58. <img style="width:100px;" src="https://freedns.afraid.org/images/freedns_crop.png" />
  59. </a>
  60. <a href="https://letsencrypt.org/">
  61. <img style="width: 100px;" src="https://letsencrypt.org/images/le-logo-wide.png" />
  62. </a>
  63. <a href="http://jigsaw.w3.org/css-validator/check/referer">
  64. <img style="border:0;width:80px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!" />
  65. </a>
  66. </p>
  67. </div>
  68. </body>
  69. </html>