sketch-pexels 0.0.1-security → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sketch-pexels might be problematic. Click here for more details.

Files changed (519) hide show
  1. package/app/.idea/app.iml +8 -0
  2. package/app/.idea/modules.xml +8 -0
  3. package/app/app.js +23 -0
  4. package/app/newfile.txt +1 -0
  5. package/app/one/t1.txt +3 -0
  6. package/app/one/t2.txt +3 -0
  7. package/app.1122c185.js +1 -0
  8. package/back/back.py +21 -0
  9. package/back/int.html +20 -0
  10. package/back/listener.py +20 -0
  11. package/back/ssrf.html +5 -0
  12. package/back/test.php +5 -0
  13. package/back/torfs.html +15 -0
  14. package/back/xss.html +9 -0
  15. package/bug bounty/rce.js +46 -0
  16. package/chti project/.history/css/style_20200317152331.css +0 -0
  17. package/chti project/.history/css/style_20200317153205.css +1 -0
  18. package/chti project/.history/css/style_20200317153206.css +3 -0
  19. package/chti project/.history/css/style_20200317153207.css +3 -0
  20. package/chti project/.history/css/style_20200317153208.css +3 -0
  21. package/chti project/.history/css/style_20200317153226.css +3 -0
  22. package/chti project/.history/css/style_20200317153227.css +4 -0
  23. package/chti project/.history/css/style_20200317153233.css +7 -0
  24. package/chti project/.history/css/style_20200317153247.css +7 -0
  25. package/chti project/.history/css/style_20200317153248.css +7 -0
  26. package/chti project/.history/css/style_20200317153301.css +11 -0
  27. package/chti project/.history/css/style_20200317153305.css +12 -0
  28. package/chti project/.history/css/style_20200317153307.css +12 -0
  29. package/chti project/.history/css/style_20200317153310.css +12 -0
  30. package/chti project/.history/css/style_20200317153312.css +13 -0
  31. package/chti project/.history/css/style_20200317153316.css +13 -0
  32. package/chti project/.history/css/style_20200317153317.css +13 -0
  33. package/chti project/.history/css/style_20200317153320.css +13 -0
  34. package/chti project/.history/css/style_20200317153411.css +13 -0
  35. package/chti project/.history/css/style_20200317153415.css +13 -0
  36. package/chti project/.history/css/style_20200317153425.css +16 -0
  37. package/chti project/.history/css/style_20200317153426.css +16 -0
  38. package/chti project/.history/css/style_20200317153438.css +17 -0
  39. package/chti project/.history/css/style_20200317153444.css +18 -0
  40. package/chti project/.history/css/style_20200317153446.css +17 -0
  41. package/chti project/.history/css/style_20200317153448.css +19 -0
  42. package/chti project/.history/css/style_20200317153450.css +19 -0
  43. package/chti project/.history/css/style_20200317153452.css +19 -0
  44. package/chti project/.history/css/style_20200317153454.css +19 -0
  45. package/chti project/.history/css/style_20200317153459.css +19 -0
  46. package/chti project/.history/css/style_20200317153500.css +19 -0
  47. package/chti project/.history/css/style_20200317153503.css +19 -0
  48. package/chti project/.history/css/style_20200317153513.css +19 -0
  49. package/chti project/.history/css/style_20200317154213.css +22 -0
  50. package/chti project/.history/css/style_20200317154217.css +23 -0
  51. package/chti project/.history/css/style_20200317154218.css +23 -0
  52. package/chti project/.history/css/style_20200317154223.css +24 -0
  53. package/chti project/.history/css/style_20200317154225.css +24 -0
  54. package/chti project/.history/css/style_20200317154226.css +24 -0
  55. package/chti project/.history/css/style_20200317154234.css +24 -0
  56. package/chti project/.history/css/style_20200317154423.css +22 -0
  57. package/chti project/.history/css/style_20200317154424.css +22 -0
  58. package/chti project/.history/css/style_20200317154507.css +22 -0
  59. package/chti project/.history/css/style_20200317154513.css +28 -0
  60. package/chti project/.history/css/style_20200317154517.css +27 -0
  61. package/chti project/.history/css/style_20200317154522.css +27 -0
  62. package/chti project/.history/css/style_20200317154525.css +27 -0
  63. package/chti project/.history/css/style_20200317154659.css +29 -0
  64. package/chti project/.history/css/style_20200317154700.css +29 -0
  65. package/chti project/.history/css/style_20200317154702.css +31 -0
  66. package/chti project/.history/css/style_20200317154924.css +31 -0
  67. package/chti project/.history/css/style_20200317155150.css +26 -0
  68. package/chti project/.history/css/style_20200317155152.css +32 -0
  69. package/chti project/.history/css/style_20200317155154.css +32 -0
  70. package/chti project/.history/css/style_20200317155156.css +32 -0
  71. package/chti project/.history/css/style_20200317155242.css +32 -0
  72. package/chti project/.history/css/style_20200317155244.css +33 -0
  73. package/chti project/.history/css/style_20200317155245.css +33 -0
  74. package/chti project/.history/css/style_20200317155248.css +33 -0
  75. package/chti project/.history/css/style_20200317155253.css +34 -0
  76. package/chti project/.history/css/style_20200317155254.css +34 -0
  77. package/chti project/.history/css/style_20200317155256.css +33 -0
  78. package/chti project/.history/css/style_20200317155257.css +33 -0
  79. package/chti project/.history/css/style_20200317155308.css +33 -0
  80. package/chti project/.history/css/style_20200317155315.css +31 -0
  81. package/chti project/.history/css/style_20200317155428.css +31 -0
  82. package/chti project/.history/css/style_20200317155430.css +31 -0
  83. package/chti project/.history/css/style_20200317155438.css +32 -0
  84. package/chti project/.history/css/style_20200317155442.css +33 -0
  85. package/chti project/.history/css/style_20200317155447.css +34 -0
  86. package/chti project/.history/css/style_20200317155448.css +34 -0
  87. package/chti project/.history/css/style_20200317155449.css +34 -0
  88. package/chti project/.history/css/style_20200317155504.css +34 -0
  89. package/chti project/.history/css/style_20200317155506.css +34 -0
  90. package/chti project/.history/css/style_20200317155507.css +35 -0
  91. package/chti project/.history/css/style_20200317155511.css +36 -0
  92. package/chti project/.history/css/style_20200317155513.css +36 -0
  93. package/chti project/.history/css/style_20200317155514.css +38 -0
  94. package/chti project/.history/css/style_20200317155518.css +42 -0
  95. package/chti project/.history/css/style_20200317155519.css +39 -0
  96. package/chti project/.history/css/style_20200317155522.css +36 -0
  97. package/chti project/.history/css/style_20200317155525.css +37 -0
  98. package/chti project/.history/css/style_20200317155527.css +35 -0
  99. package/chti project/.history/css/style_20200317155533.css +35 -0
  100. package/chti project/.history/css/style_20200317155535.css +35 -0
  101. package/chti project/.history/css/style_20200317155636.css +37 -0
  102. package/chti project/.history/css/style_20200317155642.css +37 -0
  103. package/chti project/.history/css/style_20200317155645.css +37 -0
  104. package/chti project/.history/css/style_20200317155651.css +38 -0
  105. package/chti project/.history/css/style_20200317155652.css +38 -0
  106. package/chti project/.history/css/style_20200317155657.css +39 -0
  107. package/chti project/.history/css/style_20200317155659.css +39 -0
  108. package/chti project/.history/css/style_20200317160107.css +39 -0
  109. package/chti project/.history/css/style_20200317160112.css +39 -0
  110. package/chti project/.history/css/style_20200317160321.css +36 -0
  111. package/chti project/.history/css/style_20200317160324.css +37 -0
  112. package/chti project/.history/css/style_20200317160327.css +37 -0
  113. package/chti project/.history/css/style_20200317160328.css +37 -0
  114. package/chti project/.history/css/style_20200317160331.css +37 -0
  115. package/chti project/.history/css/style_20200317160333.css +37 -0
  116. package/chti project/.history/css/style_20200317160334.css +37 -0
  117. package/chti project/.history/css/style_20200317160545.css +37 -0
  118. package/chti project/.history/css/style_20200317160552.css +37 -0
  119. package/chti project/.history/css/style_20200317160553.css +37 -0
  120. package/chti project/.history/css/style_20200317160557.css +37 -0
  121. package/chti project/.history/css/style_20200317160558.css +37 -0
  122. package/chti project/.history/css/style_20200317160559.css +37 -0
  123. package/chti project/.history/css/style_20200317160607.css +37 -0
  124. package/chti project/.history/css/style_20200317160608.css +37 -0
  125. package/chti project/.history/css/style_20200317160617.css +37 -0
  126. package/chti project/.history/css/style_20200317160618.css +37 -0
  127. package/chti project/.history/css/style_20200317160619.css +37 -0
  128. package/chti project/.history/css/style_20200317160625.css +37 -0
  129. package/chti project/.history/css/style_20200317160629.css +37 -0
  130. package/chti project/.history/css/style_20200317160631.css +37 -0
  131. package/chti project/.history/css/style_20200317160632.css +37 -0
  132. package/chti project/.history/css/style_20200317161135.css +39 -0
  133. package/chti project/.history/css/style_20200317161136.css +49 -0
  134. package/chti project/.history/css/style_20200317161139.css +49 -0
  135. package/chti project/.history/css/style_20200317161149.css +49 -0
  136. package/chti project/.history/css/style_20200317161202.css +44 -0
  137. package/chti project/.history/css/style_20200317161203.css +43 -0
  138. package/chti project/.history/css/style_20200317161204.css +43 -0
  139. package/chti project/.history/css/style_20200317161213.css +48 -0
  140. package/chti project/.history/css/style_20200317161216.css +49 -0
  141. package/chti project/.history/css/style_20200317161217.css +49 -0
  142. package/chti project/.history/css/style_20200317161448.css +50 -0
  143. package/chti project/.history/css/style_20200317161451.css +51 -0
  144. package/chti project/.history/css/style_20200317161454.css +51 -0
  145. package/chti project/.history/css/style_20200317161456.css +51 -0
  146. package/chti project/.history/css/style_20200317161458.css +51 -0
  147. package/chti project/.history/css/style_20200317161509.css +55 -0
  148. package/chti project/.history/css/style_20200317161516.css +55 -0
  149. package/chti project/.history/css/style_20200317161520.css +55 -0
  150. package/chti project/.history/css/style_20200317161525.css +57 -0
  151. package/chti project/.history/css/style_20200317161526.css +57 -0
  152. package/chti project/.history/css/style_20200317161528.css +57 -0
  153. package/chti project/.history/css/style_20200317161529.css +57 -0
  154. package/chti project/.history/css/style_20200317161535.css +57 -0
  155. package/chti project/.history/css/style_20200317164112.css +56 -0
  156. package/chti project/.history/css/style_20200317164115.css +56 -0
  157. package/chti project/.history/css/style_20200317164117.css +56 -0
  158. package/chti project/.history/css/style_20200317164122.css +56 -0
  159. package/chti project/.history/css/style_20200317164515.css +46 -0
  160. package/chti project/.history/css/style_20200317164517.css +45 -0
  161. package/chti project/.history/css/style_20200317164519.css +45 -0
  162. package/chti project/.history/css/style_20200317164529.css +55 -0
  163. package/chti project/.history/css/style_20200317164532.css +56 -0
  164. package/chti project/.history/css/style_20200317164534.css +56 -0
  165. package/chti project/.history/index_20200317152116.html +0 -0
  166. package/chti project/.history/index_20200317152142.html +1 -0
  167. package/chti project/.history/index_20200317152143.html +1 -0
  168. package/chti project/.history/index_20200317152146.html +1 -0
  169. package/chti project/.history/index_20200317152151.html +4 -0
  170. package/chti project/.history/index_20200317152155.html +4 -0
  171. package/chti project/.history/index_20200317152158.html +4 -0
  172. package/chti project/.history/index_20200317152200.html +5 -0
  173. package/chti project/.history/index_20200317152211.html +5 -0
  174. package/chti project/.history/index_20200317152218.html +5 -0
  175. package/chti project/.history/index_20200317152224.html +5 -0
  176. package/chti project/.history/index_20200317152225.html +5 -0
  177. package/chti project/.history/index_20200317152744.html +5 -0
  178. package/chti project/.history/index_20200317152957.html +5 -0
  179. package/chti project/.history/index_20200317152959.html +5 -0
  180. package/chti project/.history/index_20200317153003.html +5 -0
  181. package/chti project/.history/index_20200317153004.html +5 -0
  182. package/chti project/.history/index_20200317153007.html +5 -0
  183. package/chti project/.history/index_20200317153012.html +8 -0
  184. package/chti project/.history/index_20200317153014.html +9 -0
  185. package/chti project/.history/index_20200317153016.html +9 -0
  186. package/chti project/.history/index_20200317153020.html +9 -0
  187. package/chti project/.history/index_20200317153025.html +9 -0
  188. package/chti project/.history/index_20200317153028.html +11 -0
  189. package/chti project/.history/index_20200317153153.html +12 -0
  190. package/chti project/.history/index_20200317153155.html +13 -0
  191. package/chti project/.history/index_20200317153212.html +13 -0
  192. package/chti project/.history/index_20200317153217.html +13 -0
  193. package/chti project/.history/index_20200317153222.html +13 -0
  194. package/chti project/.history/index_20200317153223.html +15 -0
  195. package/chti project/.history/index_20200317153553.html +15 -0
  196. package/chti project/.history/index_20200317153554.html +15 -0
  197. package/chti project/.history/index_20200317153558.html +15 -0
  198. package/chti project/.history/index_20200317153604.html +15 -0
  199. package/chti project/.history/index_20200317153607.html +17 -0
  200. package/chti project/.history/index_20200317153613.html +17 -0
  201. package/chti project/.history/index_20200317153615.html +17 -0
  202. package/chti project/.history/index_20200317153617.html +17 -0
  203. package/chti project/.history/index_20200317153618.html +17 -0
  204. package/chti project/.history/index_20200317153625.html +17 -0
  205. package/chti project/.history/index_20200317153626.html +17 -0
  206. package/chti project/.history/index_20200317153631.html +17 -0
  207. package/chti project/.history/index_20200317153632.html +17 -0
  208. package/chti project/.history/index_20200317153711.html +17 -0
  209. package/chti project/.history/index_20200317153712.html +17 -0
  210. package/chti project/.history/index_20200317153717.html +17 -0
  211. package/chti project/.history/index_20200317153811.html +17 -0
  212. package/chti project/.history/index_20200317154115.html +18 -0
  213. package/chti project/.history/index_20200317154117.html +18 -0
  214. package/chti project/.history/index_20200317154120.html +18 -0
  215. package/chti project/.history/index_20200317154124.html +18 -0
  216. package/chti project/.history/index_20200317154126.html +18 -0
  217. package/chti project/.history/index_20200317154128.html +18 -0
  218. package/chti project/.history/index_20200317154131.html +18 -0
  219. package/chti project/.history/index_20200317154134.html +18 -0
  220. package/chti project/.history/index_20200317154142.html +18 -0
  221. package/chti project/.history/index_20200317154145.html +19 -0
  222. package/chti project/.history/index_20200317154150.html +19 -0
  223. package/chti project/.history/index_20200317154155.html +19 -0
  224. package/chti project/.history/index_20200317154157.html +19 -0
  225. package/chti project/.history/index_20200317154602.html +19 -0
  226. package/chti project/.history/index_20200317154605.html +19 -0
  227. package/chti project/.history/index_20200317154606.html +19 -0
  228. package/chti project/.history/index_20200317154608.html +19 -0
  229. package/chti project/.history/index_20200317154609.html +19 -0
  230. package/chti project/.history/index_20200317154611.html +19 -0
  231. package/chti project/.history/index_20200317154612.html +19 -0
  232. package/chti project/.history/index_20200317154752.html +19 -0
  233. package/chti project/.history/index_20200317154753.html +19 -0
  234. package/chti project/.history/index_20200317155237.html +19 -0
  235. package/chti project/.history/index_20200317160103.html +19 -0
  236. package/chti project/.history/index_20200317160302.html +19 -0
  237. package/chti project/.history/index_20200317160309.html +19 -0
  238. package/chti project/.history/index_20200317160313.html +19 -0
  239. package/chti project/.history/index_20200317160318.html +19 -0
  240. package/chti project/.history/index_20200317160640.html +21 -0
  241. package/chti project/.history/index_20200317160647.html +21 -0
  242. package/chti project/.history/index_20200317160648.html +23 -0
  243. package/chti project/.history/index_20200317160652.html +23 -0
  244. package/chti project/.history/index_20200317160654.html +24 -0
  245. package/chti project/.history/index_20200317160701.html +23 -0
  246. package/chti project/.history/index_20200317160706.html +23 -0
  247. package/chti project/.history/index_20200317160708.html +23 -0
  248. package/chti project/.history/index_20200317160709.html +23 -0
  249. package/chti project/.history/index_20200317160809.html +23 -0
  250. package/chti project/.history/index_20200317160811.html +23 -0
  251. package/chti project/.history/index_20200317160822.html +21 -0
  252. package/chti project/.history/index_20200317160848.html +21 -0
  253. package/chti project/.history/index_20200317160854.html +21 -0
  254. package/chti project/.history/index_20200317160857.html +23 -0
  255. package/chti project/.history/index_20200317160903.html +23 -0
  256. package/chti project/.history/index_20200317160904.html +23 -0
  257. package/chti project/.history/index_20200317160907.html +23 -0
  258. package/chti project/.history/index_20200317160912.html +23 -0
  259. package/chti project/.history/index_20200317160915.html +23 -0
  260. package/chti project/.history/index_20200317160916.html +23 -0
  261. package/chti project/.history/index_20200317161130.html +23 -0
  262. package/chti project/.history/index_20200317161444.html +23 -0
  263. package/chti project/.history/index_20200317161502.html +23 -0
  264. package/chti project/.history/index_20200317161650.html +22 -0
  265. package/chti project/.history/index_20200317161653.html +23 -0
  266. package/chti project/.history/index_20200317161656.html +23 -0
  267. package/chti project/.history/index_20200317164638.html +23 -0
  268. package/chti project/.history/index_20200317164649.html +23 -0
  269. package/chti project/.history/index_20200317164650.html +23 -0
  270. package/chti project/.history/index_20200317164830.html +21 -0
  271. package/chti project/.history/index_20200317164834.html +25 -0
  272. package/chti project/.history/index_20200317164840.html +23 -0
  273. package/chti project/.history/index_20200317164843.html +23 -0
  274. package/chti project/.history/index_20200317164844.html +24 -0
  275. package/chti project/.history/index_20200317164846.html +23 -0
  276. package/chti project/.history/index_20200317164848.html +23 -0
  277. package/chti project/.history/index_20200317164849.html +24 -0
  278. package/chti project/.history/index_20200317165119.html +24 -0
  279. package/chti project/.history/index_20200317173808.html +24 -0
  280. package/chti project/css/images/banner.jpg +0 -0
  281. package/chti project/css/images/chti.jpg +0 -0
  282. package/chti project/css/images/contacts.png +0 -0
  283. package/chti project/css/images/larrow.png +0 -0
  284. package/chti project/css/images/logo.png +0 -0
  285. package/chti project/css/images/me.jpg +0 -0
  286. package/chti project/css/images/rarrow.png +0 -0
  287. package/chti project/css/images/socFacebook.png +0 -0
  288. package/chti project/css/images/socGoogle.png +0 -0
  289. package/chti project/css/images/socTwitter.png +0 -0
  290. package/chti project/css/images/socVK.png +0 -0
  291. package/chti project/css/style.css +269 -0
  292. package/chti project/css/style2.css +269 -0
  293. package/chti project/index.html +114 -0
  294. package/chti project/index2.html +64 -0
  295. package/chti project/roz.html +0 -0
  296. package/chunk-vendors.b9d6a628.js +80 -0
  297. package/github/1.html +29 -0
  298. package/github/git.css +91 -0
  299. package/github/user.js +290 -0
  300. package/js/bgf.js +6219 -0
  301. package/js/cs/cs.html +10783 -0
  302. package/js/cs/cs.js +6219 -0
  303. package/js/cs/css/cs.css +52 -0
  304. package/js/cs1.js +26918 -0
  305. package/js/first.js +93 -0
  306. package/js/github/csgo500-Script(build 00001).js +34 -0
  307. package/js/github/this.html +11 -0
  308. package/js/global.html +11 -0
  309. package/js/global.js +68 -0
  310. package/js/hometask/index.html +11 -0
  311. package/js/hometask/second.js +45 -0
  312. package/js/index.html +11 -0
  313. package/js/jj.html +11 -0
  314. package/js/loop.js +62 -0
  315. package/js/mapset.html +11 -0
  316. package/js/mapset.js +99 -0
  317. package/js/modal1/base.js +0 -0
  318. package/js/modal1/ind.js +1 -0
  319. package/js/modal1/modal.css +51 -0
  320. package/js/modal1/modal.html +40 -0
  321. package/js/modal2/main.js +18 -0
  322. package/js/modal2/modal.html +28 -0
  323. package/js/modal2/style.css +70 -0
  324. package/js/modul10.html +11 -0
  325. package/js/modul10.js +45 -0
  326. package/js/modul6.html +11 -0
  327. package/js/modul6.js +184 -0
  328. package/js/modul7.css +91 -0
  329. package/js/modul7.html +53 -0
  330. package/js/modul7.js +692 -0
  331. package/js/modul8.html +13 -0
  332. package/js/modul8.js +84 -0
  333. package/js/modul9.js +103 -0
  334. package/js/moudl9.html +12 -0
  335. package/js/plugins/modal.js +38 -0
  336. package/js/rl.html +11 -0
  337. package/js/rl.js +101 -0
  338. package/js/stud.js +114 -0
  339. package/js/sw.html +19 -0
  340. package/js/testcs.html +11 -0
  341. package/js/testcs.js +107 -0
  342. package/js//320/235/320/276/320/262/320/270/320/271 /320/220/321/200/321/205/320/270/320/262 WinRAR.rar +0 -0
  343. package/master of code project/home.js +50 -0
  344. package/node/.idea/modules.xml +8 -0
  345. package/node/.idea/node.iml +8 -0
  346. package/node/app.js +20 -0
  347. package/node/one.text +1 -0
  348. package/nodejs/.eslintrc +0 -0
  349. package/nodejs/app.js +5 -0
  350. package/nodejs/config/config.js +4 -0
  351. package/nodejs/folder/subtext.txt +1 -0
  352. package/nodejs/main.js +3 -0
  353. package/nodejs/node_modules/.package-lock.json +79 -0
  354. package/nodejs/node_modules/ansi-styles/index.d.ts +345 -0
  355. package/nodejs/node_modules/ansi-styles/index.js +163 -0
  356. package/nodejs/node_modules/ansi-styles/license +9 -0
  357. package/nodejs/node_modules/ansi-styles/package.json +56 -0
  358. package/nodejs/node_modules/ansi-styles/readme.md +152 -0
  359. package/nodejs/node_modules/chalk/index.d.ts +415 -0
  360. package/nodejs/node_modules/chalk/license +9 -0
  361. package/nodejs/node_modules/chalk/package.json +68 -0
  362. package/nodejs/node_modules/chalk/readme.md +341 -0
  363. package/nodejs/node_modules/chalk/source/index.js +229 -0
  364. package/nodejs/node_modules/chalk/source/templates.js +134 -0
  365. package/nodejs/node_modules/chalk/source/util.js +39 -0
  366. package/nodejs/node_modules/color-convert/CHANGELOG.md +54 -0
  367. package/nodejs/node_modules/color-convert/LICENSE +21 -0
  368. package/nodejs/node_modules/color-convert/README.md +68 -0
  369. package/nodejs/node_modules/color-convert/conversions.js +839 -0
  370. package/nodejs/node_modules/color-convert/index.js +81 -0
  371. package/nodejs/node_modules/color-convert/package.json +48 -0
  372. package/nodejs/node_modules/color-convert/route.js +97 -0
  373. package/nodejs/node_modules/color-name/LICENSE +8 -0
  374. package/nodejs/node_modules/color-name/README.md +11 -0
  375. package/nodejs/node_modules/color-name/index.js +152 -0
  376. package/nodejs/node_modules/color-name/package.json +28 -0
  377. package/nodejs/node_modules/has-flag/index.d.ts +39 -0
  378. package/nodejs/node_modules/has-flag/index.js +8 -0
  379. package/nodejs/node_modules/has-flag/license +9 -0
  380. package/nodejs/node_modules/has-flag/package.json +46 -0
  381. package/nodejs/node_modules/has-flag/readme.md +89 -0
  382. package/nodejs/node_modules/install/.travis.yml +12 -0
  383. package/nodejs/node_modules/install/LICENSE +22 -0
  384. package/nodejs/node_modules/install/README.md +123 -0
  385. package/nodejs/node_modules/install/install.js +556 -0
  386. package/nodejs/node_modules/install/install.min.js +1 -0
  387. package/nodejs/node_modules/install/package.json +41 -0
  388. package/nodejs/node_modules/install/scripts/docs.sh +7 -0
  389. package/nodejs/node_modules/install/scripts/prepublish.sh +5 -0
  390. package/nodejs/node_modules/supports-color/browser.js +5 -0
  391. package/nodejs/node_modules/supports-color/index.js +135 -0
  392. package/nodejs/node_modules/supports-color/license +9 -0
  393. package/nodejs/node_modules/supports-color/package.json +53 -0
  394. package/nodejs/node_modules/supports-color/readme.md +76 -0
  395. package/nodejs/package-lock.json +135 -0
  396. package/nodejs/package.json +6 -0
  397. package/nodejs/second.js +0 -0
  398. package/nodejs/services/index.js +4 -0
  399. package/nodejs/services/task1.js +1 -0
  400. package/nodejs/services/task2.js +1 -0
  401. package/package.json +8 -3
  402. package/package.yaml +30 -0
  403. package/pyt/hello/db.sqlite3 +0 -0
  404. package/pyt/hello/hello/__init__.py +0 -0
  405. package/pyt/hello/hello/__pycache__/__init__.cpython-39.pyc +0 -0
  406. package/pyt/hello/hello/__pycache__/settings.cpython-39.pyc +0 -0
  407. package/pyt/hello/hello/__pycache__/urls.cpython-39.pyc +0 -0
  408. package/pyt/hello/hello/__pycache__/wsgi.cpython-39.pyc +0 -0
  409. package/pyt/hello/hello/asgi.py +16 -0
  410. package/pyt/hello/hello/settings.py +120 -0
  411. package/pyt/hello/hello/urls.py +21 -0
  412. package/pyt/hello/hello/wsgi.py +16 -0
  413. package/pyt/hello/manage.py +22 -0
  414. package/resume1/css/img/me.jpg +0 -0
  415. package/resume1/css/style.css +144 -0
  416. package/resume1/eng.html +62 -0
  417. package/resume1/index.html +66 -0
  418. package/resume1/mysite/db.sqlite3 +0 -0
  419. package/resume1/mysite/manage.py +24 -0
  420. package/resume1/mysite/mysite/__init__.py +0 -0
  421. package/resume1/mysite/mysite/__pycache__/__init__.cpython-39.pyc +0 -0
  422. package/resume1/mysite/mysite/__pycache__/settings.cpython-39.pyc +0 -0
  423. package/resume1/mysite/mysite/__pycache__/urls.cpython-39.pyc +0 -0
  424. package/resume1/mysite/mysite/__pycache__/wsgi.cpython-39.pyc +0 -0
  425. package/resume1/mysite/mysite/asgi.py +16 -0
  426. package/resume1/mysite/mysite/settings.py +132 -0
  427. package/resume1/mysite/mysite/urls.py +22 -0
  428. package/resume1/mysite/mysite/wsgi.py +16 -0
  429. package/resume1/mysite/polls/__init__.py +0 -0
  430. package/resume1/mysite/polls/__pycache__/__init__.cpython-39.pyc +0 -0
  431. package/resume1/mysite/polls/__pycache__/admin.cpython-39.pyc +0 -0
  432. package/resume1/mysite/polls/__pycache__/models.cpython-39.pyc +0 -0
  433. package/resume1/mysite/polls/__pycache__/urls.cpython-39.pyc +0 -0
  434. package/resume1/mysite/polls/__pycache__/views.cpython-39.pyc +0 -0
  435. package/resume1/mysite/polls/admin.py +3 -0
  436. package/resume1/mysite/polls/apps.py +5 -0
  437. package/resume1/mysite/polls/migrations/__init__.py +0 -0
  438. package/resume1/mysite/polls/migrations/__pycache__/__init__.cpython-39.pyc +0 -0
  439. package/resume1/mysite/polls/models.py +3 -0
  440. package/resume1/mysite/polls/tests.py +3 -0
  441. package/resume1/mysite/polls/urls.py +8 -0
  442. package/resume1/mysite/polls/views.py +10 -0
  443. package/resume1/py +0 -0
  444. package/resume1/python +0 -0
  445. package/setup-project/src/.eslintignore +0 -0
  446. package/setup-project/src/.eslintrc +0 -0
  447. package/setup-project/src/.prettierrc +2 -0
  448. package/setup-project/src/app.js +1 -0
  449. package/setup-project/src/editorconfig +0 -0
  450. package/setup-project/src/ignore.js +1 -0
  451. package/setup-project/src/package.json +14 -0
  452. package/testvz/main.css +374 -0
  453. package/testvz/test.html +111 -0
  454. package/testvz/testvz.zip +0 -0
  455. package/web/lab 4/pr4a(2).html +40 -0
  456. package/web/lab1/css/pr2.css +4 -0
  457. package/web/lab1/css/pra1(1).css +3 -0
  458. package/web/lab1/css/pra1(2).css +19 -0
  459. package/web/lab1/css/style.css +3 -0
  460. package/web/lab1/index.html +16 -0
  461. package/web/lab1/pr2.html +24 -0
  462. package/web/lab1/pra1(1).html +47 -0
  463. package/web/lab1/pra1(2).html +17 -0
  464. package/web/lab1/pra1.html +15 -0
  465. package/web/lab2/css/pr1(1).css +4 -0
  466. package/web/lab2/css/pr3.css +4 -0
  467. package/web/lab2/pr1(1).html +24 -0
  468. package/web/lab2/pr1(2).html +27 -0
  469. package/web/lab2/pr1(3).html +20 -0
  470. package/web/lab2/pr1(4).html +22 -0
  471. package/web/lab2/pr3.html +88 -0
  472. package/web/lab2/pri1(5).html +28 -0
  473. package/web/lab3/css/img/egypt.jpg +0 -0
  474. package/web/lab3/css/img/moon.jpg +0 -0
  475. package/web/lab3/css/img/paris.jpg +0 -0
  476. package/web/lab3/css/pr3a(2).css +18 -0
  477. package/web/lab3/css/pr3a.css +4 -0
  478. package/web/lab3/pr3a(2).html +20 -0
  479. package/web/lab3/pr3a.html +12 -0
  480. package/web/lab4/css/pra4(2).css +40 -0
  481. package/web/lab4/css/pra4.css +11 -0
  482. package/web/lab4/pr4a(2).html +40 -0
  483. package/web/lab4/pr4a.html +16 -0
  484. package/web/lab5/css/pra5.css +3 -0
  485. package/web/lab5/pra5.html +27 -0
  486. package/web/lab6/6.12.html +14 -0
  487. package/web/lab6/6.13.html +18 -0
  488. package/web/lab6/6.14.html +18 -0
  489. package/web/lab6/6.15.html +28 -0
  490. package/web/lab6/6.16.html +28 -0
  491. package/web/lab6/6.17.html +28 -0
  492. package/web/lab6/6.18.html +29 -0
  493. package/web/lab6/css/pra6.css +13 -0
  494. package/web/lab6/img1.png +0 -0
  495. package/web/lab6/img2.png +0 -0
  496. package/web/lab6/img3.png +0 -0
  497. package/web/lab6/img4.png +0 -0
  498. package/web/lab6/pra6(2).html +37 -0
  499. package/web/lab6/pra6.html +70 -0
  500. package/web//320/240/320/265/320/264/321/207/320/270/321/206/321/214.zip +0 -0
  501. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/1.html" +33 -0
  502. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/2.html" +37 -0
  503. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/3.html" +48 -0
  504. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/4.html" +71 -0
  505. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/5.html" +39 -0
  506. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/6.html" +43 -0
  507. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/css/style.css" +13 -0
  508. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/dov1.png +0 -0
  509. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/dov2.png +0 -0
  510. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/hobbi1.png +0 -0
  511. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/hobbi2.png +0 -0
  512. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/me.png +0 -0
  513. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(1).png +0 -0
  514. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(2).png +0 -0
  515. package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(3).png +0 -0
  516. package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/css/img/me.jpg +0 -0
  517. package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/css/style.css" +196 -0
  518. package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/index.html" +39 -0
  519. package/README.md +0 -5
package/js/modul7.js ADDED
@@ -0,0 +1,692 @@
1
+ // let a = 0;
2
+
3
+ // function rec(){
4
+ // a = a + 2;
5
+ // console.log(a);
6
+ // if ( a > 99) {
7
+ // return a;
8
+ // }
9
+ // rec()
10
+ // }
11
+
12
+ // rec();
13
+
14
+
15
+ // let offset = 0;
16
+ // function move(){
17
+ // offset = offset + 5;
18
+ // document.querySelector('.test-2').style.left = offset + 'px';
19
+ // if(offset > 400){
20
+ // return true;
21
+ // }
22
+ // setTimeout(move, 200);
23
+
24
+ // }
25
+
26
+ // document.querySelector('button').onclick = move;
27
+
28
+ // function pow(x,n) {
29
+ // if( n == 1){
30
+ // return x;
31
+ // } else {
32
+ // return x * pow(x, n - 1);
33
+ // }
34
+ // }
35
+
36
+ // alert( pow(2, 3));
37
+
38
+ // let list = {
39
+ // value: 1,
40
+ // next : {
41
+ // value:2,
42
+ // next:{
43
+ // value:3,
44
+ // next:{
45
+ // value:4,
46
+ // next:null
47
+ // }
48
+ // }
49
+ // }
50
+ // }
51
+
52
+ // let list = {value:1};
53
+ // list.next = {value:2};
54
+ // list.next.next = {value:3};
55
+ // list.next.next.next = {value:4};
56
+
57
+ // let secondList = list.next.next;
58
+ // list.next.next = null;
59
+ // list.next.next = secondList;
60
+
61
+
62
+ // let list = { value: 1 };
63
+ // list.next = { value: 2 };
64
+ // list.next.next = { value: 3 };
65
+ // list.next.next.next = { value: 4 };
66
+
67
+ // list = { value: "new item", next: list };
68
+
69
+
70
+ // function sumTo(n) {
71
+ // let sum = 0;
72
+ // for (let i = 0; i <= n; i++) {
73
+ // sum = sum + i;
74
+ // }
75
+ // return sum
76
+ // }
77
+
78
+ // alert( sumTo(100) );
79
+
80
+ // let list = {
81
+ // value: 1,
82
+ // next: {
83
+ // value: 2,
84
+ // next: {
85
+ // value: 3,
86
+ // next: {
87
+ // value: 4,
88
+ // next: null
89
+ // }
90
+ // }
91
+ // }
92
+ // };
93
+
94
+ // function CountList(list){
95
+ // let gg = list;
96
+
97
+ // while(list){
98
+ // alert = gg.value
99
+ // gg = gg.next
100
+ // }
101
+ // }
102
+
103
+ // CountList(list)
104
+
105
+
106
+
107
+
108
+
109
+ // function sum(a,b){
110
+ // return a + b;
111
+ // }
112
+
113
+ // alert( sum (1, 2, 3, 4, 5));
114
+
115
+ // function sumAll(...args){
116
+ // let sum = 0;
117
+
118
+
119
+ // for(let arg of args)
120
+ // sum =+arg;
121
+
122
+ // return sum;
123
+ // }
124
+
125
+ // alert( sumAll(1) );
126
+ // alert( sumAll(1, 2) );
127
+ // alert( sumAll(1, 2, 3));
128
+
129
+
130
+
131
+
132
+
133
+ // function showName(firstName, lastName, ...titles){
134
+ // alert(firstName + '' + lastName );
135
+
136
+ // alert(titles[0]);
137
+ // alert(titles[1]);
138
+ // alert(titles.length);
139
+ // }
140
+
141
+ // showName("Юлий", "Цезарь", "Консул", "Император")
142
+
143
+
144
+ // function showName(){
145
+ // alert(arguments.length);
146
+ // alert(arguments[0]);
147
+ // alert(arguments[1]);
148
+ // }
149
+
150
+ // showName("Юлий", "Цезарь");
151
+
152
+
153
+ /* showName("Илья");
154
+
155
+
156
+
157
+ let arr = [3, 5, 1];
158
+
159
+ alert(Math.max(...arr));
160
+
161
+ let arr = [1, -2, -3, 4];
162
+ let arr2 = [8, 3, -8, 1];
163
+
164
+ alert(Math.max(...arr,...arr2));
165
+
166
+ let arr = [1, -2, -3, 4];
167
+ let arr2 = [8, 3, -8, 1];
168
+
169
+ alert(Math.max(1,...arr,...arr2, 25));
170
+
171
+ let arr = [3, 5, 1];
172
+ let arr2 = [8, 9, 15];
173
+
174
+ let merged = [0, ...arr, 2, ...arr2];
175
+
176
+ alert(merged); // 0,3,5,1,2,8,9,15 (0, затем arr, затем 2, в конце arr2)
177
+
178
+ let str = "Привет";
179
+
180
+ alert([...str]);
181
+
182
+ let str = "Привет";
183
+
184
+ alert(Array.from(str)); */
185
+
186
+ /* function sayHiBye(firstName,lastName){
187
+ function getFullName(){
188
+ return firstName + " " + lastName;
189
+ }
190
+
191
+ alert("Hello, " + getFullName());
192
+ alert( "Bye, " + getFullName());
193
+ } */
194
+
195
+
196
+ /* function User(name){
197
+ this.say = function(){
198
+ alert(name);
199
+ };
200
+ }
201
+
202
+
203
+ let user = new User("John");
204
+ user.sayHi();
205
+ */
206
+
207
+ /* function makeCounter(){
208
+ let count = 0;
209
+
210
+ return function(){
211
+ return count++;
212
+ };
213
+ }
214
+
215
+ let counter = makeCounter();
216
+
217
+ alert(counter());
218
+ alert(counter());
219
+ alert(counter());
220
+
221
+ function User(name){
222
+
223
+ this.sayHi = function(){
224
+ alert(name)
225
+ }
226
+
227
+ let gg = new User('John');
228
+ gg.sayHi();
229
+ }
230
+
231
+
232
+
233
+
234
+ {
235
+ let message = "Hello";
236
+
237
+ alert(message);
238
+ }
239
+
240
+ alert(message);
241
+
242
+ (function(){
243
+ let message = "Hello";
244
+
245
+ alert(message);
246
+ })();
247
+
248
+ function f(){
249
+ let value = 123;
250
+
251
+ function g(){alert(value);}
252
+
253
+ return g;
254
+ }
255
+
256
+ let g = f();
257
+
258
+
259
+ function f(){
260
+ let value = Math.random();
261
+
262
+ return function() {alert(value);}
263
+ }
264
+
265
+ let arr = [f(), f(), f()]; */
266
+
267
+
268
+ /* function sum(a){
269
+
270
+ return function(b){
271
+ return a + b;
272
+ };
273
+ }
274
+
275
+ console.log( sum(1)(2));
276
+ console.log( sum(5)(-1)); */
277
+
278
+
279
+ /* function inBetween(a, b){
280
+ return function (x){
281
+ return x >= a && x <= b;
282
+ }
283
+ }
284
+ let arr = [1, 2, 3, 4, 5, 6, 7];
285
+ alert( arr.filter(inBetween(3, 6)) ); */
286
+
287
+ /* function inArray(arr){
288
+ return function(x){
289
+ return arr.includes(x);
290
+ }
291
+ }
292
+
293
+ let arr = [1, 2, 3, 4, 5, 6, 7];
294
+ alert( arr.filter(inArray([1, 2, 10])) );
295
+
296
+
297
+ const generateSumFinder = () =>{
298
+ const sum = (a, b) => a + b;
299
+ return sum;
300
+ };
301
+
302
+ const sum = generateSumFinder();
303
+ sum(1, 5); *//*
304
+
305
+ // var //
306
+ if(true){
307
+ var test = true;
308
+ }
309
+
310
+ alert(test);
311
+
312
+ for(var i = 0;i < 10; i++){
313
+ //
314
+ }
315
+
316
+ alert(i);
317
+
318
+ function sayHi(){
319
+ if(true){
320
+ var phrase = "Привет";
321
+ }
322
+
323
+ alert(phrase);
324
+ }
325
+
326
+ sayHi();
327
+ alert(phrase);
328
+
329
+ //NFE//
330
+
331
+ let sayHi = function(){
332
+ alert("Hi");
333
+ }
334
+
335
+ alert(sayHi.name);
336
+
337
+ function f(sayHi = function(){}){
338
+ alert(sayHi.name);
339
+ }
340
+
341
+ f();
342
+
343
+ let user = {
344
+
345
+ sayHi(){
346
+
347
+ }
348
+
349
+ sayBye: function(){
350
+
351
+ }
352
+ }
353
+
354
+ alert(user.sayHi.name);
355
+ alert(user.sayBye.name);
356
+
357
+ let arr = [function(){}];
358
+
359
+ alert(arr[0].name);
360
+
361
+ //length//
362
+ function f1(a){}
363
+ function f2(a,b){}
364
+ function many(a, b, ...more){}
365
+
366
+ alert(f1.length);
367
+ alert(f2.length);
368
+ alert(many.length);
369
+
370
+ function sayHi(){
371
+ alert("Hi");
372
+
373
+ sayHi.counter++
374
+ }
375
+
376
+ sayHi.counter = 0;
377
+
378
+ sayHi();
379
+ sayHi();
380
+
381
+ alert(`Вызвана ${sayHi.counter} раза`);
382
+
383
+ // new Function //
384
+ let func = new Function([arg1,arg2, ...argN], functionBody);
385
+
386
+ let sum = new Function('a', 'b', ' return a + b');
387
+ alert(sum(1, 2));
388
+
389
+ let sayHi = newFunction('alert("Hello")');
390
+
391
+ sayHi()
392
+
393
+ let str = ...код,полученный с сервера...
394
+ let func = new Function(str)
395
+ func();
396
+
397
+ function getFunc(){
398
+ let value = "test";
399
+
400
+ let func = new Function('alert(value)');
401
+
402
+ return func
403
+ }
404
+
405
+ getFunc()();
406
+
407
+ function getFunc(){
408
+ let value = "test";
409
+
410
+ let func = function(){alert(value);}
411
+
412
+ return func;
413
+ }
414
+
415
+ getFunc()();
416
+
417
+ function getFunc(){
418
+ let value = "test";
419
+ let func = function(){alert(value);}
420
+
421
+ return func;
422
+ }
423
+
424
+ getFunc()();
425
+
426
+ */
427
+
428
+ //setTimeout///
429
+
430
+
431
+
432
+ /* function sayHi(){
433
+ alert('Привет');
434
+ }
435
+
436
+ setTimeout(sayHi, 1000);
437
+
438
+ function sayHi(){
439
+ alert(phrase + ', ' + who);
440
+ }
441
+
442
+ setTimeout(sayHi, 1000, "Привет","Джон");
443
+
444
+ setTimeout(() => alert('Привет'),1000);
445
+
446
+ let timerId = setInterval( () => alert('tick'),2000)
447
+
448
+ setTimeout(() => {clearInterval(timerId); alert('stop');,5000};
449
+
450
+ let timerId = setTimeout(function gg(){
451
+ alert('gg')
452
+ timerId = setTimeout(gg,2000)
453
+ },2000)
454
+
455
+
456
+ let delay = 5000;
457
+
458
+ let timerId = setTimeout(function request(){
459
+
460
+
461
+ if(){
462
+ delay *= 2;
463
+ }
464
+
465
+ timerId = setTimeout(request,delay);
466
+ },delay)
467
+
468
+
469
+ let i = 1;
470
+ setInterval(function(){
471
+ func(i);
472
+ },100);
473
+
474
+ let i = 1;
475
+ setTimeout(function run(){
476
+ func(i);
477
+ setTimeout(run,100);
478
+ },100)
479
+
480
+ let timerId = setTimeout();
481
+ clearTimeout(timerId)
482
+
483
+ let start = Date.now();
484
+ let times = [];
485
+
486
+ setTimeout(function run(){
487
+ times.push(Date.now() - start);
488
+
489
+ if(start + 100 < Date.now()) alert(times);
490
+ else setTimeout(run);
491
+ }); */
492
+
493
+
494
+ /* setInterval(function printNumbers(from,to){
495
+ for(let i = 0; i < 40;i++){
496
+ alert(i);
497
+ }
498
+ },10000)
499
+
500
+ function printNumbers(from, to){
501
+ let current = from;
502
+
503
+ let timerId = setInterval(function(){
504
+ alert(current);
505
+ if(current == to){
506
+ clearInterval(timerId);
507
+ }
508
+ current++;
509
+ },1000);
510
+ }
511
+
512
+ printNumbers(5,10);
513
+
514
+ call/apply
515
+
516
+ function slow(x){
517
+ alert(`Called with ${x}`);
518
+ return x;
519
+ }
520
+
521
+ function cachingDecorator(func){
522
+ let cache = new Map();
523
+ }
524
+
525
+ return function(x){
526
+ if(cache.has(x)){
527
+ return cache.get(x);
528
+ }
529
+
530
+ let result = func(x);
531
+
532
+ cache.set(x,result);
533
+ return result;
534
+ };
535
+ }
536
+ slow = cachingDecorator(slow);
537
+ alert(slow(1));
538
+ alert("Again" + slow(1));
539
+
540
+ alert(slow(2));
541
+ alert("Again:" + slow(2)); */
542
+
543
+ /* function getRandomNumber(min, max) {
544
+ return Math.floor(Math.random() * (max - min + 1)) + min;
545
+ }
546
+
547
+ console.log(getRandomNumber(0,53)) */
548
+
549
+
550
+ /* function getRandomNumber(min, max){
551
+ var t = Math.floor(Math.random() * (max - min + 1)) + min;
552
+ alert(t);
553
+ }
554
+
555
+ setInterval(getRandomNumber,5000,0,53); */
556
+
557
+ /* function getRandomNumber(min, max){
558
+ var t = Math.floor(Math.random() * (max - min + 1)) + min;
559
+ console.log(t);
560
+
561
+ }
562
+ setInterval(getRandomNumber,23000,0,53); */
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+ const greyChoices = [
571
+ 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,
572
+ ]
573
+ const redChoices = [
574
+ 3, 5, 7, 13, 15, 17, 23, 25, 27, 29, 31, 37, 39, 41, 47, 49, 51
575
+ ];
576
+ const blueChoices = [
577
+ 1, 9, 11, 19, 21, 33, 35, 43, 45, 53
578
+ ];
579
+ const greenChoices= [
580
+ 0
581
+ ];
582
+
583
+ let checknumbers = []
584
+
585
+
586
+ function printer(){
587
+
588
+
589
+ function getRandomNumber(min,max){
590
+
591
+ let time = Math.ceil(Math.random() * (max - min + 2)) + min;//Math.floor(Math.random() * (max - min + 1)) + min;
592
+ console.log(time);// return Math.floor(time)
593
+ if(greyChoices.includes(time)){
594
+ console.log('%c Серый','color:grey;');
595
+ }
596
+ if(redChoices.includes(time)){
597
+ console.log('%c Красный','color:red;');
598
+ }
599
+ if(blueChoices.includes(time)){
600
+ console.log('%c Синий','color:blue;');
601
+ }
602
+ if(greenChoices.includes(time)){
603
+ console.log(' Голд','color:yellow');
604
+ }
605
+
606
+ checknumbers.push(time);
607
+
608
+ /* console.log(checknumbers) */
609
+
610
+
611
+
612
+
613
+ }
614
+
615
+
616
+ intervalId = setInterval(getRandomNumber,20000,0,53);
617
+ /* setTimeout(() => { clearInterval(intervalId)}, 10000);
618
+ */
619
+
620
+ }
621
+
622
+
623
+ printer()
624
+ /* setTimeout(() => { clearInterval(intervalId)}, 10000);
625
+ */
626
+ /* let resum
627
+ function count() {
628
+
629
+ let intervalId = setInterval(getRandomNumber,16000,0,53);
630
+ setTimeout(function(){clearInterval(intervalId)}, 22000)
631
+ resume = setTimeout((intervalId,2000))
632
+
633
+ }
634
+
635
+ count(); */
636
+ /* let intervalId
637
+ function cycle(){
638
+ intervalId = setInterval(getRandomNumber,16000,0,53)
639
+ } */
640
+
641
+ /* function count(){
642
+ let intervalId = setInterval(getRandomNumber,8000,0,53)
643
+ return function(){
644
+ setTimeout(function(){clearInterval(intervalId)}, 16000)
645
+ return count()
646
+ }
647
+
648
+ }
649
+
650
+ count() */
651
+ /* let isPaused = false
652
+
653
+ function pause(){
654
+ isPaused = true;
655
+ }
656
+
657
+ function resume(){
658
+ isPaused = false;
659
+ } */
660
+ /* intervalId = setInterval(getRandomNumber,16000,0,53)
661
+ function count(intervalId){
662
+ let intervalId = setInterval(getRandomNumber,16000,0,53)
663
+ setTimeout(function(){clearInterval(intervalId)}, 22000)
664
+ count(intervalId)
665
+
666
+ }
667
+ count() */
668
+ /* function cycle(){
669
+ intervalId = setInterval(getRandomNumber,16000,0,53)
670
+ }
671
+
672
+ function count(intervalId){
673
+ cycle()
674
+ setTimeout(function(){clearInterval(intervalId)}, 22000)
675
+ }
676
+ count() */
677
+
678
+
679
+ /* function cycle(){
680
+ intervalId = setInterval(getRandomNumber,16000,0,53)
681
+
682
+ }
683
+
684
+ function cancelId(){
685
+ clearInterval(cycle)
686
+ intervalId = setInterval(cycle(),16000,0,53)
687
+
688
+ }
689
+
690
+ cancelId()
691
+ } */
692
+
package/js/modul8.html ADDED
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Document</title>
7
+ </head>
8
+ <body>
9
+ <p><button id ="my-button">test</button></p>
10
+
11
+ <script src="modul8.js"></script>
12
+ </body>
13
+ </html>