From b674e72882e1b4f8f803983e8fee57b7a6bf2d9c Mon Sep 17 00:00:00 2001 From: elektroll Date: Sat, 23 Jun 2018 11:03:50 +0200 Subject: [PATCH] add files --- LICENSE | 24 + color.cnf | 9 + ilovefoss.sh | 2565 ++++++++++++++++++++++++++++++++++++++++++++++++++ opacity.cnf | 49 + 4 files changed, 2647 insertions(+) create mode 100644 LICENSE create mode 100644 color.cnf create mode 100644 ilovefoss.sh create mode 100644 opacity.cnf diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cf1ab25 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/color.cnf b/color.cnf new file mode 100644 index 0000000..e9cbd6e --- /dev/null +++ b/color.cnf @@ -0,0 +1,9 @@ +#d6ffb3 +#d6ffff +#d6bfff +#d6bfb7 +#90bfb7 +#90ffb7 +#ffffb7 +#d9ffb7 +#ffffff diff --git a/ilovefoss.sh b/ilovefoss.sh new file mode 100644 index 0000000..5432627 --- /dev/null +++ b/ilovefoss.sh @@ -0,0 +1,2565 @@ +#!/bin/bash + +echo ' + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +' > graphic.svg + +while read line; do + echo $line | sed 's/#000000;fill-opacity:1;/#000000;'$(/usr/bin/python2 -c "import random, sys; lines = open(sys.argv[1]).readlines(); random.shuffle(lines); print ''.join(lines)," opacity.cnf | head -n1)';/g' >> .1.svg; +done < graphic.svg + +cat .1.svg | sed 's/#000000/'$(/usr/bin/python2 -c "import random, sys; lines = open(sys.argv[1]).readlines(); random.shuffle(lines); print ''.join(lines)," color.cnf | head -n1)'/g' >> .2.svg +cat .2.svg | sed 's/#db00ff/'$(/usr/bin/python2 -c "import random, sys; lines = open(sys.argv[1]).readlines(); random.shuffle(lines); print ''.join(lines)," color.cnf | head -n1)'/g' > foss-graphic.svg + +rm .1.svg +rm .2.svg +rm graphic.svg +convert -resize 4000x4000 foss-graphic.svg ilovefs.png diff --git a/opacity.cnf b/opacity.cnf new file mode 100644 index 0000000..552c604 --- /dev/null +++ b/opacity.cnf @@ -0,0 +1,49 @@ +fill-opacity:0.78431374 +fill-opacity:0.627451 +fill-opacity:0.47058824 +fill-opacity:0.3137255 +fill-opacity:0.15686275 +fill-opacity:0.15686275 +fill-opacity:0.3137255 +fill-opacity:0.39215687 +fill-opacity:0.54901963 +fill-opacity:0.627451 +fill-opacity:0.47058824 +fill-opacity:0.3137255 +fill-opacity:0.15686275 +fill-opacity:0.15686275 +fill-opacity:0.3137255 +fill-opacity:0.47058824 +fill-opacity:0.70588237 +fill-opacity:0.47058824 +fill-opacity:0.15686275 +fill-opacity:0.07843138 +fill-opacity:0.3137255 +fill-opacity:0.78431374 +fill-opacity:0.49019608 +fill-opacity:0.70588237 +fill-opacity:0.54901963 +fill-opacity:0.39215687 +fill-opacity:0.23529412 +fill-opacity:0.07843138 +fill-opacity:0.07843138 +fill-opacity:0.23529412 +fill-opacity:0.39215687 +fill-opacity:0.47058824 +fill-opacity:0.70588237 +fill-opacity:0.54901963 +fill-opacity:0.39215687 +fill-opacity:0.23529412 +fill-opacity:0.07843138 +fill-opacity:0.23529412 +fill-opacity:0.39215687 +fill-opacity:0.627451 +fill-opacity:0.627451 +fill-opacity:0.3137255 +fill-opacity:0.15686275 +fill-opacity:0.86274511 +fill-opacity:0.54901963 +fill-opacity:0.627451 +fill-opacity:0.47058824 +fill-opacity:0.3137255 +fill-opacity:0.15686275