ezii-os 0.0.0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/Icon/r +0 -0
  3. data/app/assets/stylesheets/apis.scss +3 -0
  4. data/app/assets/stylesheets/basecamp_integrations.scss +3 -0
  5. data/app/assets/stylesheets/code_link_batches.scss +3 -0
  6. data/app/assets/stylesheets/code_link_types.scss +3 -0
  7. data/app/assets/stylesheets/code_links.scss +3 -0
  8. data/app/assets/stylesheets/codes.scss +3 -0
  9. data/app/assets/stylesheets/cookie_changes.scss +3 -0
  10. data/app/assets/stylesheets/partners/get_paids.scss +3 -0
  11. data/app/assets/stylesheets/searches.scss +3 -0
  12. data/app/assets/stylesheets/types.scss +3 -0
  13. data/app/controllers/apis_controller.rb +74 -0
  14. data/app/controllers/basecamp_integrations_controller.rb +76 -0
  15. data/app/controllers/code_link_batches_controller.rb +74 -0
  16. data/app/controllers/code_link_types_controller.rb +74 -0
  17. data/app/controllers/code_links_controller.rb +74 -0
  18. data/app/controllers/codes_controller.rb +74 -0
  19. data/app/controllers/cookie_changes_controller.rb +78 -0
  20. data/app/controllers/directories_controller.rb +14 -14
  21. data/app/controllers/ezii_os_files_controller.rb +14 -1
  22. data/app/controllers/partners/get_paids_controller.rb +74 -0
  23. data/app/controllers/searches_controller.rb +74 -0
  24. data/app/controllers/types_controller.rb +74 -0
  25. data/app/helpers/apis_helper.rb +2 -0
  26. data/app/helpers/basecamp_integrations_helper.rb +2 -0
  27. data/app/helpers/code_link_batches_helper.rb +2 -0
  28. data/app/helpers/code_link_types_helper.rb +2 -0
  29. data/app/helpers/code_links_helper.rb +2 -0
  30. data/app/helpers/codes_helper.rb +2 -0
  31. data/app/helpers/cookie_changes_helper.rb +2 -0
  32. data/app/helpers/partners/get_paids_helper.rb +2 -0
  33. data/app/helpers/searches_helper.rb +2 -0
  34. data/app/helpers/types_helper.rb +2 -0
  35. data/app/models/api.rb +3 -0
  36. data/app/models/basecamp_integration.rb +2 -0
  37. data/app/models/code.rb +3 -0
  38. data/app/models/code_link.rb +3 -0
  39. data/app/models/code_link_batch.rb +3 -0
  40. data/app/models/code_link_type.rb +3 -0
  41. data/app/models/cookie_change.rb +2 -0
  42. data/app/models/partners/get_paid.rb +2 -0
  43. data/app/models/partners.rb +5 -0
  44. data/app/models/search.rb +2 -0
  45. data/app/models/type.rb +3 -0
  46. data/app/views/apis/_api.json.jbuilder +2 -0
  47. data/app/views/apis/_form.html.erb +32 -0
  48. data/app/views/apis/edit.html.erb +6 -0
  49. data/app/views/apis/index.html.erb +31 -0
  50. data/app/views/apis/index.json.jbuilder +1 -0
  51. data/app/views/apis/new.html.erb +5 -0
  52. data/app/views/apis/show.html.erb +19 -0
  53. data/app/views/apis/show.json.jbuilder +1 -0
  54. data/app/views/basecamp_integrations/_basecamp_integration.json.jbuilder +2 -0
  55. data/app/views/basecamp_integrations/_form.html.erb +27 -0
  56. data/app/views/basecamp_integrations/edit.html.erb +6 -0
  57. data/app/views/basecamp_integrations/index.html.erb +29 -0
  58. data/app/views/basecamp_integrations/index.json.jbuilder +1 -0
  59. data/app/views/basecamp_integrations/new.html.erb +5 -0
  60. data/app/views/basecamp_integrations/show.html.erb +14 -0
  61. data/app/views/basecamp_integrations/show.json.jbuilder +1 -0
  62. data/app/views/code_link_batches/_code_link_batch.json.jbuilder +2 -0
  63. data/app/views/code_link_batches/_form.html.erb +27 -0
  64. data/app/views/code_link_batches/edit.html.erb +6 -0
  65. data/app/views/code_link_batches/index.html.erb +29 -0
  66. data/app/views/code_link_batches/index.json.jbuilder +1 -0
  67. data/app/views/code_link_batches/new.html.erb +5 -0
  68. data/app/views/code_link_batches/show.html.erb +14 -0
  69. data/app/views/code_link_batches/show.json.jbuilder +1 -0
  70. data/app/views/code_link_types/_code_link_type.json.jbuilder +2 -0
  71. data/app/views/code_link_types/_form.html.erb +27 -0
  72. data/app/views/code_link_types/edit.html.erb +6 -0
  73. data/app/views/code_link_types/index.html.erb +29 -0
  74. data/app/views/code_link_types/index.json.jbuilder +1 -0
  75. data/app/views/code_link_types/new.html.erb +5 -0
  76. data/app/views/code_link_types/show.html.erb +14 -0
  77. data/app/views/code_link_types/show.json.jbuilder +1 -0
  78. data/app/views/code_links/_code_link.json.jbuilder +2 -0
  79. data/app/views/code_links/_form.html.erb +32 -0
  80. data/app/views/code_links/edit.html.erb +6 -0
  81. data/app/views/code_links/index.html.erb +31 -0
  82. data/app/views/code_links/index.json.jbuilder +1 -0
  83. data/app/views/code_links/new.html.erb +5 -0
  84. data/app/views/code_links/show.html.erb +19 -0
  85. data/app/views/code_links/show.json.jbuilder +1 -0
  86. data/app/views/codes/_code.json.jbuilder +2 -0
  87. data/app/views/codes/_form.html.erb +32 -0
  88. data/app/views/codes/edit.html.erb +6 -0
  89. data/app/views/codes/index.html.erb +31 -0
  90. data/app/views/codes/index.json.jbuilder +1 -0
  91. data/app/views/codes/new.html.erb +5 -0
  92. data/app/views/codes/show.html.erb +19 -0
  93. data/app/views/codes/show.json.jbuilder +1 -0
  94. data/app/views/cookie_changes/_cookie_change.json.jbuilder +2 -0
  95. data/app/views/cookie_changes/_form.html.erb +27 -0
  96. data/app/views/cookie_changes/edit.html.erb +6 -0
  97. data/app/views/cookie_changes/index.html.erb +29 -0
  98. data/app/views/cookie_changes/index.json.jbuilder +1 -0
  99. data/app/views/cookie_changes/new.html.erb +5 -0
  100. data/app/views/cookie_changes/show.html.erb +14 -0
  101. data/app/views/cookie_changes/show.json.jbuilder +1 -0
  102. data/app/views/directories/show.html.erb +6 -1
  103. data/app/views/ezii_os_files/_wit_ai_widget.html.erb +203 -49
  104. data/app/views/ezii_os_files/show.html.erb +6 -9
  105. data/app/views/layouts/application.html.erb +212 -52
  106. data/app/views/partners/get_paids/_form.html.erb +27 -0
  107. data/app/views/partners/get_paids/_partners_get_paid.json.jbuilder +2 -0
  108. data/app/views/partners/get_paids/edit.html.erb +6 -0
  109. data/app/views/partners/get_paids/index.html.erb +29 -0
  110. data/app/views/partners/get_paids/index.json.jbuilder +1 -0
  111. data/app/views/partners/get_paids/new.html.erb +5 -0
  112. data/app/views/partners/get_paids/show.html.erb +14 -0
  113. data/app/views/partners/get_paids/show.json.jbuilder +1 -0
  114. data/app/views/searches/_form.html.erb +22 -0
  115. data/app/views/searches/_search.json.jbuilder +2 -0
  116. data/app/views/searches/edit.html.erb +6 -0
  117. data/app/views/searches/index.html.erb +27 -0
  118. data/app/views/searches/index.json.jbuilder +1 -0
  119. data/app/views/searches/new.html.erb +5 -0
  120. data/app/views/searches/show.html.erb +9 -0
  121. data/app/views/searches/show.json.jbuilder +1 -0
  122. data/app/views/types/_form.html.erb +22 -0
  123. data/app/views/types/_type.json.jbuilder +2 -0
  124. data/app/views/types/edit.html.erb +6 -0
  125. data/app/views/types/index.html.erb +27 -0
  126. data/app/views/types/index.json.jbuilder +1 -0
  127. data/app/views/types/new.html.erb +5 -0
  128. data/app/views/types/show.html.erb +9 -0
  129. data/app/views/types/show.json.jbuilder +1 -0
  130. data/config/credentials.yml.enc +1 -1
  131. data/config/routes.rb +12 -0
  132. data/db/development.sqlite3 +0 -0
  133. data/db/migrate/20190827060151_create_searches.rb +9 -0
  134. data/db/migrate/20190827063427_create_partners_get_paids.rb +10 -0
  135. data/db/migrate/20190827180750_create_basecamp_integrations.rb +10 -0
  136. data/db/migrate/20190827180751_create_types.rb +9 -0
  137. data/db/migrate/20190827180752_create_code_link_types.rb +10 -0
  138. data/db/migrate/20190827180753_create_code_links.rb +11 -0
  139. data/db/migrate/20190827180754_create_codes.rb +11 -0
  140. data/db/migrate/20190828104427_create_apis.rb +12 -0
  141. data/db/migrate/20190828105156_create_code_link_batches.rb +10 -0
  142. data/db/migrate/20190829174432_create_cookie_changes.rb +10 -0
  143. data/db/schema.rb +88 -1
  144. data/db/seeds.rb +4 -0
  145. data/db/test.sqlite3 +0 -0
  146. data/ezii-os-0.0.0.1.0.gem +0 -0
  147. data/ezii-os.gemspec +1 -1
  148. data/lib/tasks/task.rake +5 -0
  149. data/log/development.log +13283 -0
  150. data/test/controllers/apis_controller_test.rb +48 -0
  151. data/test/controllers/basecamp_integrations_controller_test.rb +48 -0
  152. data/test/controllers/code_link_batches_controller_test.rb +48 -0
  153. data/test/controllers/code_link_types_controller_test.rb +48 -0
  154. data/test/controllers/code_links_controller_test.rb +48 -0
  155. data/test/controllers/codes_controller_test.rb +48 -0
  156. data/test/controllers/cookie_changes_controller_test.rb +48 -0
  157. data/test/controllers/partners/get_paids_controller_test.rb +48 -0
  158. data/test/controllers/searches_controller_test.rb +48 -0
  159. data/test/controllers/types_controller_test.rb +48 -0
  160. data/test/fixtures/apis.yml +11 -0
  161. data/test/fixtures/basecamp_integrations.yml +9 -0
  162. data/test/fixtures/code_link_batches.yml +9 -0
  163. data/test/fixtures/code_link_types.yml +9 -0
  164. data/test/fixtures/code_links.yml +11 -0
  165. data/test/fixtures/codes.yml +11 -0
  166. data/test/fixtures/cookie_changes.yml +9 -0
  167. data/test/fixtures/partners/get_paids.yml +9 -0
  168. data/test/fixtures/searches.yml +7 -0
  169. data/test/fixtures/types.yml +7 -0
  170. data/test/models/api_test.rb +7 -0
  171. data/test/models/basecamp_integration_test.rb +7 -0
  172. data/test/models/code_link_batch_test.rb +7 -0
  173. data/test/models/code_link_test.rb +7 -0
  174. data/test/models/code_link_type_test.rb +7 -0
  175. data/test/models/code_test.rb +7 -0
  176. data/test/models/cookie_change_test.rb +7 -0
  177. data/test/models/partners/get_paid_test.rb +7 -0
  178. data/test/models/search_test.rb +7 -0
  179. data/test/models/type_test.rb +7 -0
  180. data/test/system/apis_test.rb +47 -0
  181. data/test/system/basecamp_integrations_test.rb +45 -0
  182. data/test/system/code_link_batches_test.rb +45 -0
  183. data/test/system/code_link_types_test.rb +45 -0
  184. data/test/system/code_links_test.rb +47 -0
  185. data/test/system/codes_test.rb +47 -0
  186. data/test/system/cookie_changes_test.rb +45 -0
  187. data/test/system/partners/get_paids_test.rb +45 -0
  188. data/test/system/searches_test.rb +43 -0
  189. data/test/system/types_test.rb +43 -0
  190. metadata +176 -1
@@ -1,66 +1,220 @@
1
1
 
2
- <div id="entity-value-marking" style="display: none;">
3
- <%=
4
- File.read(file_path)
2
+ <script>
3
+ window.showRedDot = function(coordsString) {
4
+ alert(coordsString);
5
+ }
6
+ </script>
5
7
 
6
- res = ""
8
+ <% if params[:admin].present? %>
9
+ <textarea
10
+ onclick="$.post('/cookie_changes', {cookie_change: {identifier: 'erb_dummy_data', value: event.target.value}}, (data, status)=> { this.value = data;alert(this.value); });">
11
+ @code_links = []
12
+ </textarea>
7
13
 
8
- Dir.mktmpdir do |dir|
9
- Docsplit.extract_text([file_path], :ocr => false, :output => dir)
14
+ <pre><code>
15
+ <%= @last_file_input %>
16
+ </pre></code>
17
+ <% end %>
10
18
 
11
- res = Dir.glob('*.txt', base: dir).map { |f| File.read(File.join(dir, f)) }
12
- end
19
+ <% case File.extname(file_path.global_path) %>
20
+ <% when '.erb' %>
21
+ <% if params[:admin].present? %>
22
+ <h3>ERB output</h3>
13
23
 
14
- raw_text = res[0]
24
+ <pre><code>
25
+ <%=
26
+ begin
27
+ erb_dummy_data = cookies[:erb_dummy_data]
15
28
 
16
- raw_text.each_char.with_index.map { |char,i| "<span data-index=#{i}>#{char}</span>" }.join('').gsub("\n", "<br />").html_safe
17
- %>
18
- </div>
19
29
 
30
+ # eZii explain tool
20
31
 
21
- <dl>
22
32
 
23
- <p>
24
- Specify an entity you want to annotate (either select previous or create a new one) and click the Search button.
33
+ # put = -> { } instead of string.inspect for the following code interpolations?
25
34
 
26
- Then you will see the raw text from the PDF and can select one occurence of the entity.
35
+ # The symbol after the Q, which is repated at the end, can be replaced with arbitrary
36
+ # characters, it's just a MUST, that they don't appear in the string or
37
+ # ar properly escaped if they appear in the string
27
38
 
28
- Just mark the text like you would mark text before copy & pasting something.
39
+ dummy_binding = Object.new.instance_exec { eval(erb_dummy_data); notice = "test"; binding };
40
+ template = ::ERB.new @last_file_input
41
+ template.result(dummy_binding)
42
+
43
+ # -rerb = require erb -e = execute
29
44
 
30
- Once you confirm the text selection, the training data example will be automagically created for you.
31
- </p>
32
- <% 1.times do %>
33
- <%= form_with model: WitAiParseModelExample.new do |f| %>
34
- <%= f.hidden_field :parsable_resource, value: file_path %>
35
- <%= f.hidden_field :parsable_resource_text, value: raw_text %>
36
- <%= f.hidden_field :parsable_resource_entity_value_start_index %>
37
- <%= f.hidden_field :parsable_resource_entity_value_end_index %>
38
45
 
39
- <dt>
40
- <b>Property name</b>
41
- <i>Either select from previously used entity names or type to add a new one.</i>
42
- <%= f.text_field :entity_name,
43
- list: "entity_names"
46
+ # HART machine learning
47
+ rescue Exception => e
48
+ e.inspect
49
+ end
44
50
  %>
51
+ </pre></code>
52
+
53
+ <h3>HTML output</h3>
54
+ <pre>
55
+ <%=
56
+ begin
57
+ erb_dummy_data = cookies[:erb_dummy_data]
58
+
59
+
60
+ # eZii explain tool
61
+
62
+
63
+ # put = -> { } instead of string.inspect for the following code interpolations?
64
+
65
+ # The symbol after the Q, which is repated at the end, can be replaced with arbitrary
66
+ # characters, it's just a MUST, that they don't appear in the string or
67
+ # ar properly escaped if they appear in the string
68
+
69
+ dummy_binding = Object.new.instance_exec { eval(erb_dummy_data); notice = "test"; binding };
70
+ template = ::ERB.new @last_file_input
71
+ template.result(dummy_binding).html_safe
72
+
73
+ # -rerb = require erb -e = execute
74
+
45
75
 
46
- <datalist id="entity_names">
47
- <% WitAiParseModelExample.pluck(:entity_name).uniq.each do |entity_name| %>
48
- <option value="<%= entity_name %>">
49
- <% end %>
50
- </datalist>
51
- </dt>
52
- <dd>
53
- <div style="display: none;">
54
- Search for the property
55
- <%= f.text_field :parsable_resource_query %>
56
- </div>
57
-
58
- <div style="display: none;">
59
- What is the correct value for this file?
60
- <%= f.text_field :entity_value %>
61
- </div>
62
- </dd>
63
- <%= f.submit "Search" %>
76
+ # HART machine learning
77
+ rescue Exception => e
78
+ e.inspect
79
+ end
80
+ %>
81
+ </pre>
64
82
  <% end %>
83
+ <% when '.pdf' %>
84
+ <br />
85
+
86
+ <iframe src="data:application/pdf;base64,<%= Base64.encode64(open(file_path.global_path) { |io| io.read }) %>" width="600" height="780" style="border: none;"> </iframe>
87
+
88
+ # TODO: should be a partial
89
+ <div id="entity-value-marking" style="display: none;">
90
+ <%=
91
+ File.read(file_path.global_path)
92
+
93
+ res = ""
94
+
95
+ Dir.mktmpdir do |dir|
96
+ Docsplit.extract_text([file_path.global_path], :ocr => false, :output => dir)
97
+
98
+ res = Dir.glob('*.txt', base: dir).map { |f| File.read(File.join(dir, f)) }
99
+ end
100
+
101
+ raw_text = res[0]
102
+
103
+ raw_text.each_char.with_index.map { |char,i| "<span data-index=#{i}>#{char}</span>" }.join('').gsub("\n", "<br />").html_safe
104
+ %>
105
+ </div>
106
+
107
+
108
+ <dl>
109
+
110
+ <p>
111
+ Specify an entity you want to annotate (either select previous or create a new one) and click the Search button.
112
+
113
+ Then you will see the raw text from the PDF and can select one occurence of the entity.
114
+
115
+ Just mark the text like you would mark text before copy & pasting something.
116
+
117
+ Once you confirm the text selection, the training data example will be automagically created for you.
118
+ </p>
119
+ <% 1.times do %>
120
+ <%= form_with model: WitAiParseModelExample.new do |f| %>
121
+ <%= f.hidden_field :parsable_resource, value: file_path %>
122
+ <%= f.hidden_field :parsable_resource_text, value: raw_text %>
123
+ <%= f.hidden_field :parsable_resource_entity_value_start_index %>
124
+ <%= f.hidden_field :parsable_resource_entity_value_end_index %>
125
+
126
+ <dt>
127
+ <b>Property name</b>
128
+ <i>Either select from previously used entity names or type to add a new one.</i>
129
+ <%= f.text_field :entity_name,
130
+ list: "entity_names"
131
+ %>
132
+
133
+ <datalist id="entity_names">
134
+ <% WitAiParseModelExample.pluck(:entity_name).uniq.each do |entity_name| %>
135
+ <option value="<%= entity_name %>">
136
+ <% end %>
137
+ </datalist>
138
+ </dt>
139
+ <dd>
140
+ <div style="display: none;">
141
+ Search for the property
142
+ <%= f.text_field :parsable_resource_query %>
143
+ </div>
144
+
145
+ <div style="display: none;">
146
+ What is the correct value for this file?
147
+ <%= f.text_field :entity_value %>
148
+ </div>
149
+ </dd>
150
+ <%= f.submit "Search" %>
151
+ <% end %>
152
+ <% end %>
153
+ </dl>
154
+ <% when '.jpg' %>
155
+ <img
156
+ usemap="#planetmap"
157
+ ondrop="
158
+ alert('test dropzone');
159
+ let coords = `${event.x},${event.y},${ event.x + 250 },${ event.y + 250}`;
160
+ window.showRedDot(coords);
161
+ console.log(`[eZii OS]: Logging cords for image map ${this.coords}`);
162
+ this.coords = coords;
163
+ "
164
+ src="data:image/jpg;base64,<%= Base64.encode64(open(file_path.global_path) { |io| io.read }) %>" />
165
+
166
+ <map name="planetmap">
167
+ <area
168
+ style="border: solid red 1px;"
169
+ draggable="true"
170
+ ondragend="
171
+ alert('test dropzone');
172
+ let previousCoords = this.coords.split(',').map((x) => parseInt(x));
173
+
174
+ let vorzeichenX = Math.sign(event.x - window.eventXPrior);
175
+ let vorzeichenY = Math.sign(event.y - window.eventYPrior);
176
+
177
+ if(window.eventXPrior === undefined) {
178
+ window.eventXPrior = event.x;
179
+ window.eventYPrior = event.y;
180
+ return;
181
+ }
182
+
183
+ window.eventXPrior = event.x;
184
+ window.eventYPrior = event.y;
185
+
186
+ let directionX = (event.x / (event.x - 5)) * 10 * 9;
187
+ let directionY = (event.y / (event.y - 5)) * 10 * 9;
188
+
189
+ // let vorzeichenX = event.x / Math.abs(event.x);
190
+ // let vorzeichenY = event.y / Math.abs(event.y);
191
+
192
+ directionX = directionX * vorzeichenX;
193
+ directionY = directionY * vorzeichenY;
194
+
195
+ alert(directionX);
196
+ alert(directionY);
197
+
198
+ let coords = `${ previousCoords[0] + directionX },${ previousCoords[1] + directionY },${ previousCoords[2] + directionX },${ previousCoords[3] + directionY }`;
199
+ window.showRedDot(coords);
200
+ console.log(`[eZii OS]: Logging cords for image map ${this.coords}`);
201
+ this.coords = coords;
202
+
203
+ alert('test');
204
+ window.draggingActivated = true;
205
+ "
206
+ ondrop="alert('test');"
207
+ onclick="
208
+ let go = confirm('Do you find this useful?');
209
+ if(go) { fetch('/code_change_requests/1') };
210
+ "
211
+ shape="rect"
212
+ coords="0,0,82,126"
213
+ href="#"
214
+ alt="Sun"
215
+ onresize=""
216
+ >
217
+ </map>
218
+
219
+ <%= file_path.global_path %>
65
220
  <% end %>
66
- </dl>
@@ -1,15 +1,12 @@
1
1
 
2
+ <!-- @path.class.new because implementation could change -->
3
+ <%# @path.class.new because implementation could change %>
4
+ <%= "<h1>Admin</h1>".html_safe if params[:admin] %>
5
+
2
6
  <% if File.exist?(@path.file_system_path) %>
3
- <%= render 'wit_ai_widget', file_path: @path.file_systems_path %>
7
+ <%= render 'wit_ai_widget', file_path: @path.class.new(@path.file_systems_path) %>
4
8
  <% elsif File.exist?(@path.local_file_system_path) %>
5
- <%= render 'wit_ai_widget', file_path: @path.local_file_system_path %>
6
- <% end %>
7
-
8
- <br />
9
-
10
- <% if @path.https_url.present? %>
11
- <%= render 'wit_ai_widget', file_path: @path.file_systems_path %>
12
- <iframe src=<%= @path.https_url %> width="600" height="780" style="border: none;"> </iframe>
9
+ <%= render 'wit_ai_widget', file_path: @path.class.new(@path.local_file_system_path) %>
13
10
  <% end %>
14
11
 
15
12
 
@@ -1,52 +1,212 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>BanalTodo1</title>
5
- <%= csrf_meta_tags %>
6
- <%= csp_meta_tag %>
7
-
8
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
9
- <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
10
- </head>
11
-
12
- <body>
13
- <h1><a href="/">eZii Operating System Start</a></h1>
14
- <%= yield %>
15
- </body>
16
-
17
- <script
18
- src="https://code.jquery.com/jquery-3.4.1.js"
19
- integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
20
- crossorigin="anonymous"></script>
21
-
22
- <script>
23
- Turbolinks.__visit = Turbolinks.visit
24
- Turbolinks.visit = false;
25
- </script>
26
- <textarea
27
- id="story" name="story"
28
- rows="5" cols="33"
29
-
30
- onClick="if(!confirm()) { return; };$.post('/code_change_requests', {code_change_request: {text: this.value}}, (data, status)=> { this.value = data;alert(this.value) });"
31
- >
32
- </textarea>
33
-
34
- <a class="embedly-card" href="https://www.reddit.com/r/ruby/comments/cv8bqf/how_could_ruby_help_with_ai/ey2ql5r">Card</a>
35
- <script async src="//embed.redditmedia.com/widgets/platform.js" charset="UTF-8"></script>
36
-
37
- <footer>
38
- <!-- I wish i could render the following in the web browser somehow and then display it with an erb conditional -->
39
- <!-- Maybe it could work using artichoke -->
40
- <!--
41
- <widgetbot
42
- server="<%= ENV['DISCORD_SERVER_ID'] %>"
43
- channel="<%= ENV['DISCORD_CHANNEL_ID'] %>"
44
- width="800"
45
- height="600"
46
- shard="https://disweb.deploys.io"
47
- >
48
- </widgetbot>
49
- <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script>
50
- -->
51
- </footer>
52
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>BanalTodo1</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
9
+ <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
10
+ </head>
11
+ <% if Time.now.strftime('%M').to_i < 5 %>
12
+
13
+ <% if cookies['level'].to_s == '2' || (ENV['ALLOWED_LISTED_FOR_SECOND_LEVEL'] || '').split(',').include?(request.remote_ip) %>
14
+
15
+
16
+ <body>
17
+ <div class="content">
18
+ <header>
19
+ <h5 style="background-color: green; color: white;">BE CONSERVATIVELY SECURE</h5>
20
+ <h4 style="background-color: yellow; color: black">FIRST SIMULATE, THEN DEPLOY A PASSIVE (EXTREMELY PASSIVE) SYSTEM TO REAL WORLD, FINALLY MAKE IT ACTIVE IN A <b>SECURE</b> WAY</h4>
21
+ <h3 style="background-color: red; color: white">If you don't know what this is please only take the survey if you want to help and then leave this site again, thanks.</h3>
22
+ <script>(function(t,e,s,o){var n,a,c;t.SMCX=t.SMCX||[],e.getElementById(o)||(n=e.getElementsByTagName(s),a=n[n.length-1],c=e.createElement(s),c.type="text/javascript",c.async=!0,c.id=o,c.src=["https:"===location.protocol?"https://":"http://","widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd1xa5A9y8yPlVJPl45ILXuqWKd1oAWzR0gaU37YaYtdR.js"].join(""),a.parentNode.insertBefore(c,a))})(window,document,"script","smcx-sdk");</script>
23
+
24
+ <h2 onclick="window.location = '/searches'">Search</h2>
25
+ <h1><a href="/">eZii Operating System Start</a></h1>
26
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
27
+
28
+ </header>
29
+
30
+ <main>
31
+ <%= yield %>
32
+ </main>
33
+
34
+
35
+ <script>
36
+ Turbolinks.__visit = Turbolinks.visit
37
+ Turbolinks.visit = false;
38
+ </script>
39
+ <textarea
40
+ id="story" name="story"
41
+ rows="5" cols="33"
42
+
43
+ onClick="if(!confirm()) { return; };$.post('/code_change_requests', {code_change_request: {text: this.value}}, (data, status)=> { this.value = data;alert(this.value) });"
44
+ >
45
+ </textarea>
46
+
47
+ <div>
48
+ <button style="background-color: blue; color: white;" onclick="alert('Button 1')">Button 1</button>
49
+ <button style="background-color: black; color: white;" onclick="alert('Button 2')">Button 2</button>
50
+ <button style="background-color: yellow" onclick="alert('Button 3')">Button 3</button>
51
+ <button style="background-color: pink; color: red;" onclick="alert('Button 4')">Button 4</button>
52
+ </div>
53
+ <%- if ENV['HEROKU_FEATURE_SWITCH_GLITCH_APP_LAYOUT_EMBED'] == '1' %>
54
+ <!-- Copy and Paste Me -->
55
+ <!-- Copy and Paste Me -->
56
+ <div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
57
+ <iframe
58
+ src="https://glitch.com/embed/#!/embed/like-bladder?path=views/index.html&previewSize=100"
59
+ title="like-bladder on Glitch"
60
+ allow="geolocation; microphone; camera; midi; vr; encrypted-media"
61
+ style="height: 100%; width: 100%; border: 0;">
62
+ </iframe>
63
+ </div>
64
+ <% end %>
65
+ </br>
66
+ </br>
67
+ </br>
68
+ </br>
69
+ </br>
70
+
71
+ </br>
72
+ </br>
73
+ </br>
74
+ </br>
75
+ </br>
76
+ </br>
77
+ </br>
78
+ </br>
79
+ </br>
80
+ </br>
81
+ </br>
82
+ </br>
83
+ </br>
84
+ </br>
85
+ </br>
86
+ <footer>
87
+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAACmCAMAAABqbSMrAAABaFBMVEVLoPH////xtR/A0Bj///3//v////z9//+8zQBLoPDAzxpNn/GTnMK8zgDwth/xsQDo7PKHkb40SZUuRpV+iLXh4/CdpMjF0QA1SZZgbqkuRJcrRZNxfLK9w9iwt9JUZKX4tQDT2ek9nvhIWp5NnvTo7rrvtAA/U5/ysAAnPZP2253447P89uHzyGJAnfvyqwD104iKsspigsTxwE3Z4oXh6KNXp/D09dPFzeHyvkDt8sb0vDPd55b67tD56cTU33e4z13U3nfD1E3n7rKFt8v8/O+9vqRqr+2lxpy40W2tzYOLu8bI1kGWwLK80070ynH01Y9jmdqbqox3gaNZhNTGuouvyom3u7jQ32aewql2sty3z2m/1kuzzHalrsx8reDYunfivV5qi8WatMJDV43Y085unMaQwL2kpqVyfLupx5QLMo6NsNDIuJCDuMtwsOPbv23YqTKAnK+zuKijtrvpwVO/r53CupG7eJnXAAAXAElEQVR4nO2di2PaxpbGGRBIQpaEJWNAmJcAiYegxBhhwIAfJU5vuMHe2zTEuXHTdne79ya96W6b3X9/z0i8kYDWbm21fEkwBoKYH+ecOXM0mnG5ttrqzybG/EGP72y1UgyTKWPJspyhH/rDPH4BLf3zZ29PT0+/ePb9pZxhXFto9mJ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J7t0Hh00j/L1FM2X65tXLbxqN6jfvnn4AZ/wjTVv6LUTjE7yyXJZBuH6/NbCtttpqlf4fn5Hqi49pOZgAAAAASUVORK5CYII=" />
88
+
89
+ <script
90
+ src="https://code.jquery.com/jquery-3.4.1.js"
91
+ integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
92
+ crossorigin="anonymous"></script>
93
+
94
+
95
+ <!-- <span class='quora-content-embed' data-name='When-will-there-be-drones-that-taser-people-instead-of-killing-them-non-lethal-drone-eliminations/answer/David-Hambling'>Read <a class='quora-content-link' data-width='560' data-height='260' href='https://www.quora.com/When-will-there-be-drones-that-taser-people-instead-of-killing-them-non-lethal-drone-eliminations/answer/David-Hambling' data-type='answer' data-id='163921462' data-key='ee9e46a83d2467afb2fb815b9424ade1' load-full-answer='False' data-embed='bzrcecw'><a href='https://www.quora.com/David-Hambling'>David Hambling</a>&#039;s <a href='/When-will-there-be-drones-that-taser-people-instead-of-killing-them-non-lethal-drone-eliminations#ans163921462'>answer</a> to <a href='/When-will-there-be-drones-that-taser-people-instead-of-killing-them-non-lethal-drone-eliminations' ref='canonical'><span class="rendered_qtext">When will there be drones that taser people instead of killing them (non-lethal drone eliminations)?</span></a></a> on <a href='https://www.quora.com'>Quora</a><script type="text/javascript" src="https://www.quora.com/widgets/content"></script></span> -->
96
+
97
+ <span
98
+ onclick="
99
+ alert('Do u want to work? Write an email to manu@korfmann.info and ask for our Discord')
100
+ fetch('/code_change_requests/1')
101
+ "
102
+ class="pickaxe" style="font-size: 10em;">⛏️
103
+ </span>
104
+
105
+ <span
106
+ onclick="alert('Do u want to work? Write an email to manu@korfmann.info and ask for our Discord')
107
+ fetch('/code_change_requests/1')"
108
+ >
109
+ By using this website, you agree to the following: We show you your ip
110
+ </span>
111
+
112
+ <span
113
+ style="background-color: red"
114
+ onclick="confirm('Do you want peace? Peaceeful eliminations are a key, non-lethal weapons, like a drone that tasers, but without 80000 volt which could kill a being.');fetch('/code_change_requests/1');">
115
+ Do you want to get to the next level?
116
+ </span>
117
+
118
+ <div>
119
+ <span class="level-slider" style="font-size: 10em;">
120
+ 🎚️<%= cookies['level'] %>
121
+ </span>
122
+
123
+ <span>
124
+ <input
125
+ type="range"
126
+ name="level"
127
+ min="0"
128
+ max="10"
129
+ onchange="$.post('/cookie_changes', {cookie_change: {identifier: 'level', value: event.target.value}}, (data, status)=> { this.value = data;alert(this.value); });"
130
+ >
131
+ </span>
132
+ </div>
133
+ <%# RUSSIAN DOLL %>
134
+ YOUR IP
135
+
136
+ <%= request.remote_ip %>
137
+ <span class='yellow' style="background-color: yellow">
138
+ <% case cookies['level'] %>
139
+ <% when nil %>
140
+ Please select a level
141
+ <% when '1' %>
142
+ <p> Landing Page (glitch + discord) </p>
143
+ <% when '2' %>
144
+ <p>eZii OS</p>
145
+ <% when '3' %>
146
+ <p>GAM download (github.com/ezii123/gam)</p>
147
+ <% when '4' %>
148
+ <p>DEVIL IS IMPOSSIBLE TO UNDERSTAND</p>
149
+
150
+ <span>BRAINFREEZER VIA NEURALINK</span>
151
+
152
+ <span>Understanding ideas is often simple, translate it to your native language</span>
153
+ <% when '5' %>
154
+ <p>GAM in browser via artichoke</p>
155
+ <% when '6' %>
156
+ <p>GOD IS IMPOSSIBLE TO UNDERSTAND</p>
157
+ <% when '7' %>
158
+ <p>LIFE IS IMPOSSIBLE TO UNDERSTAND</p>
159
+ <% when '8' %>
160
+ <p>IMPOSSIBLE BURGER</p>
161
+ <% when '9' %>
162
+ <p>MAC DONALDS</p>
163
+ <% when '10' %>
164
+ <p>eZii</p>
165
+ <% end %>
166
+ </span>
167
+
168
+
169
+
170
+ <!-- I wish i could render the following in the web browser somehow and then display it with an erb conditional -->
171
+ <!-- Maybe it could work using artichoke -->
172
+ <!--
173
+ <widgetbot
174
+ server="<%= ENV['DISCORD_SERVER_ID'] %>"
175
+ channel="<%= ENV['DISCORD_CHANNEL_ID'] %>"
176
+ width="800"
177
+ height="600"
178
+ shard="https://disweb.deploys.io"
179
+ >
180
+ </widgetbot>
181
+ <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script>
182
+ -->
183
+ </footer>
184
+
185
+ <% elsif false %>
186
+ <div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
187
+ <iframe
188
+ src="https://glitch.com/embed/#!/embed/like-bladder?path=views/index.html&previewSize=100"
189
+ title="like-bladder on Glitch"
190
+ allow="geolocation; microphone; camera; midi; vr; encrypted-media"
191
+ style="height: 100%; width: 100%; border: 0;">
192
+ </iframe>
193
+ </div>
194
+
195
+ <widgetbot
196
+ server="<%= ENV['DISCORD_SERVER_ID'] %>"
197
+ channel="<%= ENV['DISCORD_CHANNEL_ID'] %>"
198
+ width="800"
199
+ height="600"
200
+ shard="https://disweb.deploys.io"
201
+ >
202
+ </widgetbot>
203
+ <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script>
204
+ <% end %>
205
+ </div>
206
+ </body>
207
+ <% else %>
208
+ <body>
209
+ <h1>Get back to work</h1>
210
+ </body>
211
+ <% end %>
212
+ </html>
@@ -0,0 +1,27 @@
1
+ <%= form_with(model: partners_get_paid, local: true) do |form| %>
2
+ <% if partners_get_paid.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(partners_get_paid.errors.count, "error") %> prohibited this partners_get_paid from being saved:</h2>
5
+
6
+ <ul>
7
+ <% partners_get_paid.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= form.label :enter_invoice_number %>
16
+ <%= form.number_field :enter_invoice_number %>
17
+ </div>
18
+
19
+ <div class="field">
20
+ <%= form.label :you_will_receive_this_when_question_mark %>
21
+ <%= form.text_field :you_will_receive_this_when_question_mark %>
22
+ </div>
23
+
24
+ <div class="actions">
25
+ <%= form.submit %>
26
+ </div>
27
+ <% end %>
@@ -0,0 +1,2 @@
1
+ json.extract! partners_get_paid, :id, :enter_invoice_number, :you_will_receive_this_when_question_mark, :created_at, :updated_at
2
+ json.url partners_get_paid_url(partners_get_paid, format: :json)
@@ -0,0 +1,6 @@
1
+ <h1>Editing Partners Get Paid</h1>
2
+
3
+ <%= render 'form', partners_get_paid: @partners_get_paid %>
4
+
5
+ <%= link_to 'Show', @partners_get_paid %> |
6
+ <%= link_to 'Back', partners_get_paids_path %>
@@ -0,0 +1,29 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <h1>Partners Get Paids</h1>
4
+
5
+ <table>
6
+ <thead>
7
+ <tr>
8
+ <th>Enter invoice number</th>
9
+ <th>You will receive this when question mark</th>
10
+ <th colspan="3"></th>
11
+ </tr>
12
+ </thead>
13
+
14
+ <tbody>
15
+ <% @partners_get_paids.each do |partners_get_paid| %>
16
+ <tr>
17
+ <td><%= partners_get_paid.enter_invoice_number %></td>
18
+ <td><%= partners_get_paid.you_will_receive_this_when_question_mark %></td>
19
+ <td><%= link_to 'Show', partners_get_paid %></td>
20
+ <td><%= link_to 'Edit', edit_partners_get_paid_path(partners_get_paid) %></td>
21
+ <td><%= link_to 'Destroy', partners_get_paid, method: :delete, data: { confirm: 'Are you sure?' } %></td>
22
+ </tr>
23
+ <% end %>
24
+ </tbody>
25
+ </table>
26
+
27
+ <br>
28
+
29
+ <%= link_to 'New Partners Get Paid', new_partners_get_paid_path %>
@@ -0,0 +1 @@
1
+ json.array! @partners_get_paids, partial: "partners_get_paids/partners_get_paid", as: :partners_get_paid
@@ -0,0 +1,5 @@
1
+ <h1>New Partners Get Paid</h1>
2
+
3
+ <%= render 'form', partners_get_paid: @partners_get_paid %>
4
+
5
+ <%= link_to 'Back', partners_get_paids_path %>