diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-08-09 17:25:02 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-08-10 14:15:05 +0200 |
commit | edaa004348571857c03485950202722b6e4fb944 (patch) | |
tree | 8e5d5aeafb2278a62a1bf9ea7fbe9e2a786d899c /examples | |
parent | f1894d8aba1f8ae4a52dafc50b0a138978607bc4 (diff) | |
download | hydrilla-edaa004348571857c03485950202722b6e4fb944.tar.gz hydrilla-edaa004348571857c03485950202722b6e4fb944.zip |
properly install data in docdir
Diffstat (limited to 'examples')
25 files changed, 126 insertions, 0 deletions
diff --git a/examples/README.txt b/examples/README.txt new file mode 100644 index 0000000..1f1f57f --- /dev/null +++ b/examples/README.txt @@ -0,0 +1,4 @@ +This directory contains example resources for Hydrilla. They do not do anything +useful - just print some kind of "hello" message on given websites. They are +meant for use as a reference for data format and as a mock of real resources +for use when developing. diff --git a/examples/content/bhello_ap/index.json b/examples/content/bhello_ap/index.json new file mode 100644 index 0000000..2552c31 --- /dev/null +++ b/examples/content/bhello_ap/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_apple", +"components" : [ +["script", "hello_apple"] +] +} diff --git a/examples/content/bhello_ap_cu/index.json b/examples/content/bhello_ap_cu/index.json new file mode 100644 index 0000000..5f093e7 --- /dev/null +++ b/examples/content/bhello_ap_cu/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_apple_and_cucumber", +"components" : [ +["bag", "hello_apple"], +["bag", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_cu/index.json b/examples/content/bhello_cu/index.json new file mode 100644 index 0000000..47023ca --- /dev/null +++ b/examples/content/bhello_cu/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_cucumber", +"components" : [ +["script", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_pe/index.json b/examples/content/bhello_pe/index.json new file mode 100644 index 0000000..07de71a --- /dev/null +++ b/examples/content/bhello_pe/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pear", +"components" : [ +["script", "hello_pear"] +] +} diff --git a/examples/content/bhello_pe_pi/index.json b/examples/content/bhello_pe_pi/index.json new file mode 100644 index 0000000..5ceff86 --- /dev/null +++ b/examples/content/bhello_pe_pi/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_pear_and_pineapple", +"components" : [ +["bag", "hello_pear"], +["bag", "hello_pineapple"] +] +} diff --git a/examples/content/bhello_pi/index.json b/examples/content/bhello_pi/index.json new file mode 100644 index 0000000..8e6946e --- /dev/null +++ b/examples/content/bhello_pi/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pineapple", +"components" : [ +["script", "hello_pineapple"] +] +} diff --git a/examples/content/phachettebugs1/index.json b/examples/content/phachettebugs1/index.json new file mode 100644 index 0000000..fac24ef --- /dev/null +++ b/examples/content/phachettebugs1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.koszko.org/***", +"payload" : ["script", "hello_pear"] +} diff --git a/examples/content/phachettebugs2/index.json b/examples/content/phachettebugs2/index.json new file mode 100644 index 0000000..891f0d2 --- /dev/null +++ b/examples/content/phachettebugs2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/**", +"payload" : ["bag", "hello_pear"] +} diff --git a/examples/content/phachettebugs3/index.json b/examples/content/phachettebugs3/index.json new file mode 100644 index 0000000..7187af5 --- /dev/null +++ b/examples/content/phachettebugs3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/boards/***", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/phachettebugs4/index.json b/examples/content/phachettebugs4/index.json new file mode 100644 index 0000000..203153a --- /dev/null +++ b/examples/content/phachettebugs4/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/projects/***", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/pkoszko.org_hello1/index.json b/examples/content/pkoszko.org_hello1/index.json new file mode 100644 index 0000000..013ce7c --- /dev/null +++ b/examples/content/pkoszko.org_hello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/en/", +"payload" : ["bag", "hello_apple_and_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello2/index.json b/examples/content/pkoszko.org_hello2/index.json new file mode 100644 index 0000000..a61f7e6 --- /dev/null +++ b/examples/content/pkoszko.org_hello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/**", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello3/index.json b/examples/content/pkoszko.org_hello3/index.json new file mode 100644 index 0000000..d0e00d0 --- /dev/null +++ b/examples/content/pkoszko.org_hello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/***", +"payload" : ["bag", "hello_pear_and_pineapple"] +} diff --git a/examples/content/pmyfsfhello1/index.json b/examples/content/pmyfsfhello1/index.json new file mode 100644 index 0000000..d151f1b --- /dev/null +++ b/examples/content/pmyfsfhello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org", +"payload" : ["bag", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello2/index.json b/examples/content/pmyfsfhello2/index.json new file mode 100644 index 0000000..2bd0be3 --- /dev/null +++ b/examples/content/pmyfsfhello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org/", +"payload" : ["script", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello3/index.json b/examples/content/pmyfsfhello3/index.json new file mode 100644 index 0000000..ba0a126 --- /dev/null +++ b/examples/content/pmyfsfhello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.fsf.org/", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/shello_apple/hello.js b/examples/content/shello_apple/hello.js new file mode 100644 index 0000000..b6b1a02 --- /dev/null +++ b/examples/content/shello_apple/hello.js @@ -0,0 +1 @@ +console.log("hello, apple!"); diff --git a/examples/content/shello_apple/index.json b/examples/content/shello_apple/index.json new file mode 100644 index 0000000..c52c32c --- /dev/null +++ b/examples/content/shello_apple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_apple", +"sha256" : "d349309ba674c092a7d03cd5ecc90c6370402482286db28b3d32d86052b6cf69", +"location" : "hello.js" +} diff --git a/examples/content/shello_cucumber/hello.js b/examples/content/shello_cucumber/hello.js new file mode 100644 index 0000000..b285094 --- /dev/null +++ b/examples/content/shello_cucumber/hello.js @@ -0,0 +1 @@ +console.log("hello, cucumber!"); diff --git a/examples/content/shello_cucumber/index.json b/examples/content/shello_cucumber/index.json new file mode 100644 index 0000000..788d51e --- /dev/null +++ b/examples/content/shello_cucumber/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_cucumber", +"sha256" : "1d65dda24c08e928cfd06a98b57def4599ff4cfe85e01e517d852a87feb03111", +"location" : "hello.js" +} diff --git a/examples/content/shello_pear/hello.js b/examples/content/shello_pear/hello.js new file mode 100644 index 0000000..0e98fdd --- /dev/null +++ b/examples/content/shello_pear/hello.js @@ -0,0 +1 @@ +console.log("hello, pear!"); diff --git a/examples/content/shello_pear/index.json b/examples/content/shello_pear/index.json new file mode 100644 index 0000000..65d8d61 --- /dev/null +++ b/examples/content/shello_pear/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pear", +"sha256" : "f61c50e1b977235260ee8b708b31ee003b1585afbe228cee6a0d754357e24b7e", +"location" : "hello.js" +} diff --git a/examples/content/shello_pineapple/hello.js b/examples/content/shello_pineapple/hello.js new file mode 100644 index 0000000..3632e67 --- /dev/null +++ b/examples/content/shello_pineapple/hello.js @@ -0,0 +1 @@ +console.log("hello, pineapple!"); diff --git a/examples/content/shello_pineapple/index.json b/examples/content/shello_pineapple/index.json new file mode 100644 index 0000000..f75935a --- /dev/null +++ b/examples/content/shello_pineapple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pineapple", +"sha256" : "f53bde306e0774618a1c9e12cb62175fbca90779c79d812a699b54c125c1634a", +"location" : "hello.js" +} |