diff --git a/content/io/cloudslang/samples/yoda/contains.sl b/content/io/cloudslang/samples/yoda/contains.sl new file mode 100644 index 0000000000..702dcd534a --- /dev/null +++ b/content/io/cloudslang/samples/yoda/contains.sl @@ -0,0 +1,24 @@ +# (c) Copyright 2017 Hewlett-Packard Enterprise Development Company, L.P. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License v2.0 which accompany this distribution. +# +# The Apache License is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +######################################################################################################################## +#!! +#! @description: Check the state of a System Property file +#! +#! @result CONTAINS: System Property is set at default value. +#! @result DOES_NOT_CONTAIN: System Property is not set at default value. +#!!# +######################################################################################################################## + +namespace: io.cloudslang.samples.yoda + +decision: + name: contains + + results: + - CONTAINS: ${get_sp('io.cloudslang.samples.properties.default_quote', 'false') == 'true'} + - DOES_NOT_CONTAIN diff --git a/content/io/cloudslang/samples/yoda/generate_random_quote.sl b/content/io/cloudslang/samples/yoda/generate_random_quote.sl new file mode 100644 index 0000000000..51fc0a33a6 --- /dev/null +++ b/content/io/cloudslang/samples/yoda/generate_random_quote.sl @@ -0,0 +1,58 @@ +# (c) Copyright 2017 Hewlett-Packard Enterprise Development Company, L.P. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License v2.0 which accompany this distribution. +# +# The Apache License is available at +# http://www.apache.org/licenses/LICENSE-2.0 +######################################################################################################################## +#!! +#! @description: Based on a random number generator display a quote from Yoda +#! +#! @input file_path: The path for the file that contains the quotes +#! +#! @result SUCCESS: Flow completed successfully. +#! @result FAILURE: Failure occurred during execution. +#!!# +######################################################################################################################## + +namespace: io.cloudslang.samples.yoda + +imports: + math: io.cloudslang.base.math + base: io.cloudslang.base.print + fs: io.cloudslang.base.filesystem + +flow: + name: generate_random_quote + + inputs: + - file_path + + workflow: + - read_quotes: + do: + fs.read_from_file: + - file_path: ${file_path} + publish: + - read_text + navigate: + - SUCCESS: generate_random_number + - FAILURE: FAILURE + + - generate_random_number: + do: + math.random_number_generator: + - min: '0' + - max: ${str(len(read_text.strip().split(';')) - 2)} + publish: + - random_number + navigate: + - SUCCESS: print_quote + - FAILURE: FAILURE + + - print_quote: + do: + base.print_text: + - text: ${str(read_text.split(';')[int(random_number)])} + navigate: + - SUCCESS: SUCCESS \ No newline at end of file diff --git a/content/io/cloudslang/samples/yoda/print_image.sl b/content/io/cloudslang/samples/yoda/print_image.sl new file mode 100644 index 0000000000..6b806e37d2 --- /dev/null +++ b/content/io/cloudslang/samples/yoda/print_image.sl @@ -0,0 +1,47 @@ +# (c) Copyright 2017 Hewlett-Packard Enterprise Development Company, L.P. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License v2.0 which accompany this distribution. +# +# The Apache License is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +######################################################################################################################## +#!! +#! @description: Read an image from a file and print it. +#! +#! @input file_path: The path of the image +#! +#! @result SUCCESS: Flow completed successfully. +#! @result FAILURE: Failure occurred during execution. +#!!# +######################################################################################################################## + +namespace: io.cloudslang.samples.yoda + +imports: + base: io.cloudslang.base.print + fs: io.cloudslang.base.filesystem + +flow: + name: print_image + + inputs: + - file_path + + workflow: + - read_start: + do: + fs.read_from_file: + - file_path: ${file_path} + publish: + - read_text + navigate: + - SUCCESS: print_start + - FAILURE: FAILURE + + - print_start: + do: + base.print_text: + - text: ${read_text} + navigate: + - SUCCESS: SUCCESS \ No newline at end of file diff --git a/content/io/cloudslang/samples/yoda/quote_check.sl b/content/io/cloudslang/samples/yoda/quote_check.sl new file mode 100644 index 0000000000..dace5d7cfa --- /dev/null +++ b/content/io/cloudslang/samples/yoda/quote_check.sl @@ -0,0 +1,61 @@ +# (c) Copyright 2017 Hewlett-Packard Enterprise Development Company, L.P. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License v2.0 which accompany this distribution. +# +# The Apache License is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +#########################################################################################################################!! +#! @description: Based on a System Property file +#! If it is set on true it displays the default quote, otherwise generates a random quote. +#! +#! @input default_quote : quote with a default value +#! @input file_path: The path for the file that contains the quotes +#! +#! @result SUCCESS: Flow completed successfully. +#! @result FAILURE: Failure occurred during execution. +#!! +######################################################################################################################## + +namespace: io.cloudslang.samples.yoda + +imports: + base: io.cloudslang.base.print + fs: io.cloudslang.base.filesystem + math: io.cloudslang.base.math + quoteGenerator: io.cloudslang.samples.yoda + +flow: + name: quote_check + + inputs: + - default_quote: + default: "Do or do not, there is no try!" + private: true + - file_path + + workflow: + - print_quote: + do: + quoteGenerator.contains: [] + navigate: + - CONTAINS: print_default_quote + - DOES_NOT_CONTAIN: print_random_quote + + - print_random_quote: + do: + quoteGenerator.generate_random_quote: + - file_path + navigate: + - SUCCESS: SUCCESS + - FAILURE: FAILURE + + - print_default_quote: + do: + base.print_text: + - text: ${default_quote} + navigate: + - SUCCESS: SUCCESS + results: + - SUCCESS + - FAILURE \ No newline at end of file diff --git a/content/io/cloudslang/samples/yoda/samples.prop.sl b/content/io/cloudslang/samples/yoda/samples.prop.sl new file mode 100644 index 0000000000..03e8c6a65f --- /dev/null +++ b/content/io/cloudslang/samples/yoda/samples.prop.sl @@ -0,0 +1,18 @@ +# (c) Copyright 2017 Hewlett-Packard Enterprise Development Company, L.P. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License v2.0 which accompany this distribution. +# +# The Apache License is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +######################################################################################################################## +# System property file for samples.yoda operations. +# +# io.cloudslang.samples.properties.default_quote: value of default quote +# +######################################################################################################################## + +namespace: io.cloudslang.samples.properties + +properties: + - default_quote: 'true' diff --git a/resources/samples/yoda/yoda_ascii_image.txt b/resources/samples/yoda/yoda_ascii_image.txt new file mode 100644 index 0000000000..e4341887a9 --- /dev/null +++ b/resources/samples/yoda/yoda_ascii_image.txt @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ... + . + .... . . + .... ....... .. . + ..**. .*........ + .*:oo:***:oo&&&oo:*.. .... . + . .*::::*.....*...**:*:::**......... + .oo:.........********...*..*ooo:*.... + . *o:...**.******::ooooooo:****..*:oo* .... . + **..............****::oooooo::***:::o:.. .. + *o:*.*.***....***::::o::o:::::::::****:*:. ... + oo*....:::***:*::::::ooooo::*:::oo::**..:::*..... + :o*....*:::::****:::::ooooo::****::oo::*****:*..... + .:o:...*::::::*******:oooooo::**::***:oo::***::oo.... + . &**.**:::::::****::::ooooo:::::******::ooo:***:oo.** . + .&:.**:***************::**:oo:::**:*****::ooo:::*o&o.*.. . . + oo.**:****........**::::****::::::::::**:::ooooo**o&o...*... . + *&.****..**********:oooo::::****::::::::::::ooooo:*::oo . .* . .. + *&.**....*::*****:::oooo:::**:*...*:oooo::::::oo&&oo:::oo ... . ... + .o:.*....*::*****:::oooo:::::**::*****ooooo:::*:oo&&&o:::&:......... + :o**.....*::::**:::ooooo::::*****:::***:o&&ooo:*:oo&&&::*:o*.***** . . + . .&:.....*::::**::::ooooo:::******::::::::oo&&oo::::o&&&&:*:oo:.:***... .. + . . :o*....**:::::::::ooooo:::*****:::::oooooooo&ooo::::o&&&o::oo:*..*..:* + ...o:*..*:::::::::::ooooooooo:::***::oooo&ooooooo&ooo:::o&&&o::oo:..**.*. + ..o:..:::********:::ooooo::::::ooo::ooo&&&oooooooo&oo:::oo&&&o:ooo:**:*..* + . *.o*.*:**.********:::::****.***:oo&&oooo&&oooooooooooo::::&&&&oooo:*...... + . **:*:*..*:********:::::****....*::&&&&&&&ooooooooooooooo::o&&&&ooo&o:...... + .. *::**.*:::::::*:::oooo:::******:oooooo&&&&&ooooooooooooooooo&&&&&oooo*. ... + ...::**.*:ooo::::::::ooo:::::***::ooooo:::oo&&&oooooooooo&ooo:o&&&&&oo&o:.*.. . . + .*::**:::oooo:::::ooooo::::::::oooooo::***::oo&&&ooooooo&&ooooo&ooo:&oo:o.* .. + *o*..***:ooo::::ooo&oooo:::::oooooo::**...***:ooooo&ooo&&&&&oooo&:oo:oo*o:**... + .....*:::::... :o....***:ooooo::ooo&oooo::::::ooooo:::***....**::oo&&&&&&&&&o&o&oooo::o*&&*:. *. . + oo:*..... .o&o :: ...***:oooo::oooooooooo:oooooo::**********....*:oo&&&&&&&&o&o&o&o:&oo:o&o*.... . + .:&o:***:*... .oo: .:. ....***:*****:ooo:*****:::oo:**........***.....**:o&&&&&&&&o&ooo&*&&o::o#*: .. . + o8&ooo&&&o**... *o . . .* ..****......*::*******::****.................***oo&&&&&&&o&oooo:o&ooo:8o.* .* . + ooo::o&8#o:**.. .&. . *:..... . ..***......*::*.....*************...........**:oo&&&&&&&o&&:o:o:o:o&:oo...... .::* + *oo:*o&888&:*.. ..:. . .:*.....*.....****...**:o:******::::::*******...........*:oo&&8&&&&&o&ooo*:*:*o:ooo...* *:*.*o& + &::*:&8888o:*....:* *. o*:********...*:::*****:::*..**::::::::*:::********.....*:o&&&&&&&&oo&oo:oo:*:::oo&*:* . *: .*:o&& + &*:*:&88#8&o:... :o .* &ooooo::**.*..*:oo:::::::*****::o:::::::oooooo:::*****..*:o&&&&&&&&ooo:o*oo**:::ooo&*.*.... ..*. **ooo#: + 8***o&88##8&:*...*: ...o8oo&oooooo::*.*::ooooooo::*::::oooo:ooooooooo&&ooo::::***::&&&&&&&&o:o::*::**:::oo&& . .***...*:oo&o@ + .&*.*o88##@88:.*..:o...:8&&&&&&&&&ooo:**:oooooooooooooooooooo&&&&&&&&&&&&&&oooo::::o&8&&&&oo:*:::::**::oooo8oooo::::::::::::*.. ..*o8o&oo8o + *&*.:&88#@@#&:**...o.*.8&8888&&&&&&&oo::oooooooooooooooooo&&&&&888888888&&&&&oooooo&88&&ooo:::::***:oo&&&&::*........... ....:&88&&&o&# + :o..:&88#@@#8o**...8o:#88###8888&&&&&ooooo&&&ooo&oooooo&&&&8888#####888888&&&&&&&o&&&&oooo::::::ooooo:*...... . ........*..o&8888&oo&8: + &:..o&88@@@@8o*....::888@####888&&&&&&oo&&&&&&&&o&&&&&&8888#####@#####8888&&&&&&&&&&ooo:o:**:o&&o:**.................*::o&8##88&oooo&& + *o*..o88##@@@8o**.*.*:@#&&&#@###88&&&&&&&&&&&&&&&&&&&&8888#@@@#########8888&&&&&8&&oooo::*:o&&o::*....*..***::*:oooo&&88@@##88&&ooo&8. + oo. *&8#88@@8#o*..**:#8&:..&8@##888&&&&&ooo:o&88&&88888#@@#&oo:**:&8@####888&&&&&&&oo::o:o&&o:*....**:::o&&88#@@@@@@@@@#8#888&oooo8* + .&...o&8#8&&&@@&o***&@88&&:**o8888888&&o:***:o&88888###@8o:**:::**.*oX##88&&&&&&ooooooooo*..****:o&888888#@@@@@@@@@##888&&ooooo& + oo*.*o&&8&&88@@8&o:#&o*..*::o:o&88888&:***:ooo&8###@#8&o:::*......*:o&####888&8&&&ooooo&&o:****:o&8@@@@@#8&8&&######88888&&o:ooo8. + &:*.*o888#8&&8@@@8@&oo..*...::&88888:.*..*:o&&888##8&o:*::****:*...*oo8##88888&&&&ooooooooo**:o8@@@@@@@@#8888####8888&8&oooooo8: + *&:..:o8&&&&&&##@@@o:.. ...*o&88&o.. .*:*:o&88##8&oo:::*.......*:::o&88#88&&&&&&oooooooo::o88@@@@@##@##8##888888888&&o:oooo8& + &&*..o&888#ooo&&8@&&&8&o:*....o&&oo:.** .:::o&888&ooo:*......... ..*oo&&888&&&&&&&&&&ooo:o&#@@@@@##@8###8888888888&&oo:ooo&8#. + .8o*.*o&88&::o8&&@8oo@@::@@@8&&ooo* .:*.*oo&88&&oo***:oooooo::**..*:o&88&&&&&o&&&&&ooo&8@#@####8##&8#8888888&&&&&oo::ooo8#o + o8o**:&8&&o:::#8#8..@#o*o@@#@@o*:* ...::::&&88&&ooo&88#@@@@@@@#8&o:**o&&&&&&oo&&&&oo:*:8@##888888&&&&&&&88&&&&&&o::oo&&88o + #&o..:oo&&&o*o#@&8.&@8#@@#8#8::.. ..**.*:oo&88&&&88&&8@@#..@@@@@@@@&o&oo&o&oo&&&&&oo::o#@@#88&&8&&&88&&88&&&&&oo::oo&88#* + o8&o.*o&&&8&o&@8@&&*##88&8#o***.. ...*:::o&&&888&o*:::@##. o#@@#8@@@88&&o&oooo&&&&&:o:8@@#8888&oo&&&&&88&&&o:oo:ooo&&#o + .&&&:**o&&&o&#&&&&::*&#&8:.*o:........*ooo&&&88o* . .@888@##@@888@&*o##&&o::oo&&&oo:&#@@#88&&&o&&&&&&&&&oo::*::oo88#. + *8&o**:o&&o88&&8&&:*..*.*o&o*.....**.*oo&&&8&&&o: &@888#@@8&#@@o:o&ooo::oo&&&&ooo&8#8888&&&o&&&&&&&oo::.**o&&88o . . + o&&o**:ooo&8&:&&:oooo&8o:::**..*..*:**:o&8&&&&&oo:. *@@#88888#8&o::&ooo:::oo&&&&o&&8888888ooo&ooo&&&o:**.:*oo&8&. + 8&&o*:ooo&#&o:&&o*::**:&o:**.*...***...o&&&&88&o:*:.ooo&&oo:*.**o&&&o*.**o&&&&&&&&8888#8&ooo&ooooo:*..*:*o&8#: + o&&&oo:oooo88&:o8o:::&&oo:oo*****:**:*.:o&&&&&8&&&&o::.*....*:&&&8&&*..*:o&&&&&8&8&8&&&o&&o:oo&o**...*::&&8& + 8&&&o:::oo8&&&*o8888&o*8o&&&o:*::oooo:ooo&&&&88&oo88888&&&&88&&&8&...*:oo&&&&&&&&8&&&&o&o:o&o*....*:oo&88. + *#8&oo:::o@888&o:&8&o*:&8#88&&&oo&8@@8o&oo&o&&88&o:*:oo&&8&o::&&&o..*:oo&&&&&88888&&&&&&&&o*.. ..*o&&&8o + &&8o&o:oo@88888&&ooooo:o8@#8#88#@###8&oo&&o&&&&&&&o:.**.*::o&&&o*..:oo&&&&&8888888&oo&&oo*....:oo&888. + o&8&&&o:#8&8&888&&oo:**:&@@#####8&&&&ooo&oo&8&&&88&&&&o&&&&8o:***:o&&&88888888888&oo&&oo:**:oo&88:. + o8&&o&oo@#&&&&&oo:o*...:o88888&o&&oooooo&oo&88oo&8888888&oo:::ooo&8888888888#888&&o8&8&ooo&o8&* + . o88&o&&&&oo:*o8....*.*oooooooooooo:o&&ooo&8&oo&&&&&oooo:ooo&&88888888888#888&8&&88&8&o88: . + :#8&&&8888&oo::&&........*:::::::o:::o&&&ooo&888&&o&&ooo&&&&&8888888888888888&&88&#&8oooo.. + .o##&8@&88&ooo8o........****::::::*:oo8&&o:o&&88&&&88888888888888888888888888888&#&o... ... + .oo&@&8#&&&8*........****::::****:o8&&&&oo&&&8&&8&8888888888888888888888#@@8ooo8* .. .... + .@8&&&&o8*........*********.***:o#&&&ooo&&888&&&&&88888888&8888888#88##88o&8 *.*. . + *@o&oo&&**......********.*.***:o&88&&oooo&&88888&888888&&&88888888#888#8&8:.. ... . + &8ooo&&**.......*********.**:oo&8&&&&ooo&&&8888888#8&oo&888888888#8#8&8#o.*..*.... + &&ooo&o::**************.*::::oo&&&&&&&&&&&&&88888&&oo&&888888888#88#&@&.***.*. . + .&&:ooooooo:*:::::****:.*::oooo&&&&&&&&&&&&&&&8&&ooo&&88888888888###88.::**... + :&ooo&8888&ooooo:::ooooo:ooo&&&&&&&&&&&&&&&&oo:oooo&888888888#88#@#@o.*::.*.. + ..o&ooo::oooo&&&&&&&88&&&&&&ooo&&&&&&88888&&&ooooo&8888888888######@@o:.::.*.. + .&ooooo:*...**:oooo:::o&8#8&&&&&&&&&&88888&&&&o&&888##888888##8###@o:&*..:... + . *8oo:oooo:*...... ..*:oo&&&&&&&&&&&88888888888888888888888##8##@@:*:&* * .. + .8o:ooo&&&&&&oooo:ooooo&&&&&&&&&&&&&8&&88888888888888888888###8@@&o*:*8* . + ...8oooo&&88##88888888&&&&&ooo&&&&&&&8&888888888888###8##88####@@8oo:*.:&* . + .. &ooooo&&8888888888&&&&&oooo&&&&&&&&88888888########8######@@@&oo*::*..&.. + . *8oooo&&&&&88888888&&&oooo&&&&&&&&&88888888###########@###@@&oooo::**..8. + 8&oo:::o&&&&&&&&&&&&&ooo&&&&&&8888888888##########@####@@@&o&ooo::.*.*.8. + 8&o:..*:ooo&&ooooooo&&&&&&&88888888888############@###@@8:ooo&:*:..:..*8 + :#8&:....*::**.**::o&&&&&&&88888888#####8###########@@@@o&ooo:o:.*:***.*o + &8#&:*.**:::*...::o&&&&&8888888888##############@8@@@@8oo&&o:::::**::**:* + ##@&oo::ooo::::::oo&&&&88888888############@@#8#@@@@@&&ooooo:**********o + .:o&@@&8&&&&&&&ooooo&&88888888#############@####@@@#8@8&o&&o:*:***..*****& + :o**o@8&&&&&&&&&&8888888888############@@@#8###@@@#&@@&&&oooo:**:********& + ::..**:8@#88888888@#########################@@@@@@#&8@#&&&ooo::::*********& + *:.**.*:o&@@@@@@@@@@@@#####################@@@@@@@#&&@@#&&ooo:::o:*********& + o..***oo:&&@@@##########################@@@@@@@@@8&&@@@&&oo&:o&&:*:********& + o***.**:ooo&@@@@@##@################@@@@@@@@#@@@#&&88@@8&&oo:o&o::::*******:8 + o**.*.*:ooo&&&@88@@@@#@####@#####@@@@@@@@@@#@@@@888&8@@@&&&oo&&oo:o********::& + .:.**..*o:o&&&88@888@@@@@@@@@@@@@@@@@@#@######@#8&888@@@8&&oo&&o:oo:*******:::&. + o.*..:*:::oo8o&&#@&8&#@@@@@@@@@@@@@@@@@###@@@#8&&888#@#8@&oo8&o:::::*******:::o. + o*...*.*:oX#8&&@@&888@@@@@#@#########@@@#8&&8&888@@888ooo#o::::**********::oo: + .o....o&888&:**:o88@#88&&&8@@@@@@@###@@@@#&&&&&8&88#@@88#8&o8:oo:******.*****::ooo + &.**oooo&#o::*..:*:o&##8&8&8#@@@@@@@@#88&8888888&8@@@&oo8:oo::**:**.******:ooo& + .*.*..*o&8@o::**.***o:ooo8888&&#@8##88888888888888#@@#&o&8:o:****:*.*******::ooo& + .o*..:8o.&o*:***:***:::*oo###8&88&&&&888888888&8#@@#8&&88&&&ooo:*:***********::oooo8 + .o...&o..o&o::**:oooo::::oo&@:8@8&&8&88888888888#@8888&8#&&&oo::::************::oooo&. + o*.:o.*..8&::ooooo::::::oooo@:oo#8&&8888&&8&8&#@#&88&&&8&&&o:o:**************:::oooo&. + ::.&**...&ooooo&&&o:**::ooooo@&..o8#&&&&&8&&88@#8&##88&8&ooooo::*:***********:::ooooo&: + o***....:8:oo&o&&oo:***:::ooo8#**.:o88&&&&888@@8&##&&8&8oooo:::****.********::::ooooo&o + #.*..*..o8ooo&&&o:o:::::::::o&@o**..*o&8&&8#8o:8##&88&8&o:::***....*.*******:::oooo&&&& + 8*..***.&#&&@8&o::::ooo::::::o@o*****.*o&8&&ooo:8###&8#8&&:******...********::oooo&&&o& + o*..**..&@#@@8o:::::oooooooooo8#&::.....*:&8&oo:oo8o88&&o888o:*..***********:oooo&&&&o8. + &****.*.o8o8#ooo::ooo&&&&ooo:o&@&oo:***...**8&ooooo#&&&&8o*.*oo&&o:*********:oooo&&&&&8. + &:*..***:@#@&oooo&&&&&&&&o&ooo&@8&ooo:*..**.*#o&o*::8&oooo8o..*...**.*****::o&oo&o&&&&&: + &:*.****:@8#o&oo&&&8&&&&&&o&o&&8#&&ooo:**...*:8oo:**:&8&oo*:&o*.*.******::::oooo&&&&8oo8 + oo*...**o@&&8&&&o&o&&oo&&&&&8@&&&&&oo:**.**&&oo*.*:8&&ooo*:ooo*..***:::ooooo&&&&&8o&8 + o&:.*.**&@8@@8###@888&&&&&&&&888@#&8&&&&&o:*.*:&o&o***:&o&&oo:*********::ooooo&&&&&8&&&&o + *&o*****8#8#8#@@@@8@@88888&8##88#@&888888&oo***:o&o:***:&ooooo:****.**::oooooo&8&&&8&&oo8* + .8o****:#888@##@@#@#@8@@8#@@@@88#@888888888&o:*.:ooo:**:o8o&ooo:******::oooo&&&8&&&8&&&&&o + 8o:*:::@888#@@#@&&@@&#@8#@@#@@#8#@888888888&&::::ooo.*.*ooo&ooo::**:::oooo&&&8&&&8&&&o8: + 8oo*:*:@@@@@#@#@8o&@888@@@@8@#@@#@&888888888&&&:*:o:*.***:ooo::***:::oooo&&&88&&8#&&o&: + o&o:::&@888####@#&o##&8@#@@8@8@@@@#88&88888888&&oo:*****::::****::::oooo&&&&&8&&88&&&8 + :8&*::8@#8@####@@&o##88@#@@&@##@@@@888888888888&&&&o:********:*::::oooo&&&&&8&&88&&8@8* + .8&:o:8@@#######@8o8@88@#@#&#@8@@8@8&88888888888888&&o::*****:::o:oooo&&&&&&8&8#&&8@&8. + &&ooo@@##@#####@8o&##8@@@88#@##@8#@&888888888888888&&&ooo:::::ooooo&&&&&8&888@8&8#8&8: + o8o&o@8@#8#####@#&&8@&@@@888@##@@8@88#88888888888888888&&oooooooo&&&&&888888@888#8&888 + *8&&o@8#8######@@8&8@&@@@888@88#@8@#88888888888888888888&&&&&oo&&&&&&&88888#8&8@88&8&&* + .#8&&@###8######@8o8@8@#@888@###@@@@88888888888888888888888&&&&&&&8888888888&8#888&8o&& . + .@&&&@8###8####8@#&8@#@#@888#@##@@#@8�&888888888888@888&88&&8. + .@&&8@####8####8@@&8@8@@@8#&8@88#@##@�@8888&#&88oo + #8&8@########8@@#8&@8@@@X@888@@@@8##8#8888888888888888888888888888888&##88888&@&8&o& + 8#&8@8#8######@@#88@##@@&8#X####@#888#8888888888888888888888888888888#@88888&##&8ooo: + .#88#@#######8@@@#&#@##@#88#8888#8####888#888888888888888888888888888888#@#888&8&@8&8oo:& + @&#@@########@8@8&8@##@#88##8#888#8##88##888888888888888888888888888&8##8&8&88&#@8&&oo*o: + #o#@@###8##8@#8@88&@8#@@&88#8#888#88##8888888888888888888888888888888##88&88&8&&oo:*.o + &&&@@#######@8&@88&@88@@8888##888######88888888888888888888888888888##888888&&8#8&&oo**.o + o8o@@####8##@8&@#&#@88@@#88&###888##8##888888888888888888888888888##888888888&8#8&oo:**&. + oo&8@#8##88@8888@&#@88@@@88888#888#####88888888&88888888888888888@#8888888&&&&&oo..& + o.8&@#8888@#888#@8###8@#@#8888#88888###88888888&888888888888888#@#88888888&o88#8&oo*:o. + o.o&#@888#@888&#@#@@#8@@@@88&88#88888##8888888888&88888888888#@#888888888&o88888&o:*&. + o.*#8@#88@@88888#8#@88#@@@@88&8@88888###88888888888888888888##888888888&&&&8&8&&oo.8* + o.:o###8##88888@88##88#@#@@#88𕬸###888888888888888888##88888888888&&&8o88&&:*o&. + o*:o@@@@#888#8&@8&@@888@#@#@8888#88888##88888888888888888@8888888#88&88&&8o&8&&o:oo&. + oo:o8@#88888#88@8&@@&88@#@@#@8#&@888888@88888888888888#@@88888#8888&&&&&&8:8&8&oo&*&. + o:&o888&888888#@8&@8888@#@@##@88#888888@888888888888#@@8&888#8888&&&&&&&&o8&8&o:&:o&. + :*&o&&#&888888@#&8@8888#@@@@#@##8@8888##8888888888#@@8888888888888&&&&&8*o&8&&o&:oo&. + :o&&o&88888888@8&8@88888@#@@#@@88##888#@8888888##@#8888888888888&&o&&&8::o&&&o&ooooo. + .oo&&&&8888888@8&8@88888@##@8@@888@8888#8888#@@##8888888888888&&o&&o8&**&oo&&&&o&ooo* + .&:&&&&8888888@&&8@8888&@###@8@#88@8888@@@@#888888888888888&&&&&&&o#&:*o:oo&&8&&oo::: + 8:&&&&8888888@&88@88888@@#@@##@8&##@@#@#888#88888888888888&&o&o&&8o**&::&&&8&&ooo**o + 8o&&#@##@@####&88@88888@@@#@@88@88888&888888888888888888&&&&oo&&8::*oo:o&&88o&:::**& + ooo&8#8#8888##&8#@88888#@#@#@88##8888888888888888888&&&8oooooo&8::.oo.o:&&#o&::***.o. + .&8@88&#@@#8#8&8#@888888@##@#@88@888&8888888888&&888&&&&ooo&8&o***o&**::o#&&:***.**:o + .&@@oo&&8@@#@@8&8@#888888@@#@@@#88@8888&888#88888&8&&&&oooooo:::**o&*:*:o&8&o*:*:***.& + &&o88oo&&88o&&##o&#@888888#@##@@@888@88888#888888&8&&&&&oooooo:::*oo:*::o&#&oo:**.****& + 8&o88o&o&888&o&8#@888&&8#@@@#@@#88#888888888888&&&&8oo&&&ooo:*o&o::::&o8&oo**.****:& + .@8&#..&8&8@::8o#8&&#@#8888&8@@#@@@@&88@#88888888&8&&o&&o&&&o&&oo88ooooooo&&o****.***&o. + &*o#8.*:###:.*&8@8&88@@@88&8&#@###@@#88#@888#8#@@@@#8&ooooooooooo:oo::oooooo::*.***o&&. + &.o@@:&8@@8..*o@@#&88@@@@@#888@##@@@@888@@@@@@@@##@@@@@8o::*oo:*:o:**:*o::o:**.***o8& + :&&#&:.**88o&o8:&88:* :8@##@#@##@88#88&&&8@8oo&&&#@@@#&:*..*:*.***::**.**.:**8#* + . :* *#888# .&@@##@@@@88oo&o&&@&&oo&&&#@&&8@#&:.***.*:*.*.***.*&@& + .@&88# :8@@@@@@@88&&&X&oo&&8@&&o&&8@&*.**.**.*****8@8. + #&88@ 8o :#&&8#@#@8o&&8#&&&&&&#@@o..*..*..o#@&. + 8#88@. .&..*8888#o.*#8&&88&8&#&&8@@@8@@#8o: + X@ o:.oo8@@@o.**:#&8##&#:.88@.ooo&:. + *@##. &*:&8:.*&:..::8#@&&#&.*o#. + &&* :8&. o**.&8o* 8:*&: + 8*&o 88: . + .&* + + + + + + .o + . &o + * *8 + &: @ 8. .. o .: *o&: + *# oo @. *8 o8o @ @*o8&@&:.. + @ o@o &: @. && &: &* . o& + o& :&8.*8 o& && @. @. @. + @. .@ @.@ @ :8 .:&. oo .# .8 + o& @..8&* oo .@ &*#. @oo#o &* + #. 8* &#& 8* @. o& :8 .#. @. + *& o& 8@. @ &: :8 &* @ @ + 8..@ @& & @ o8 @ .@ *8 + @*# .@. .@**8o o@ .8 :& + #8. : .::. . :& + . + + + + + \ No newline at end of file diff --git a/resources/samples/yoda/yoda_quotes.txt b/resources/samples/yoda/yoda_quotes.txt new file mode 100644 index 0000000000..954077577d --- /dev/null +++ b/resources/samples/yoda/yoda_quotes.txt @@ -0,0 +1 @@ +May the Force be with you;You will find only what you bring in;Size matters not;Do or do not. There is no try;The fear of loss is a path to the Dark Side;Truly wonderful the mind of a child is;Always two there are, no more, no less. A master and an apprentice;You must unlearn what you have learned;In a dark place we find ourselves, and a little more knowledge lights our way;Train yourself to let go of everything you fear to lose;Fear is the path to the dark side. Fear leads to anger, anger leads to hate, hate leads to suffering;Always pass on what you have learned;To be Jedi is to face the truth, and choose. Give off light, or darkness, Padawan. Be a candle, or the night; \ No newline at end of file