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.
- package/app/.idea/app.iml +8 -0
- package/app/.idea/modules.xml +8 -0
- package/app/app.js +23 -0
- package/app/newfile.txt +1 -0
- package/app/one/t1.txt +3 -0
- package/app/one/t2.txt +3 -0
- package/app.1122c185.js +1 -0
- package/back/back.py +21 -0
- package/back/int.html +20 -0
- package/back/listener.py +20 -0
- package/back/ssrf.html +5 -0
- package/back/test.php +5 -0
- package/back/torfs.html +15 -0
- package/back/xss.html +9 -0
- package/bug bounty/rce.js +46 -0
- package/chti project/.history/css/style_20200317152331.css +0 -0
- package/chti project/.history/css/style_20200317153205.css +1 -0
- package/chti project/.history/css/style_20200317153206.css +3 -0
- package/chti project/.history/css/style_20200317153207.css +3 -0
- package/chti project/.history/css/style_20200317153208.css +3 -0
- package/chti project/.history/css/style_20200317153226.css +3 -0
- package/chti project/.history/css/style_20200317153227.css +4 -0
- package/chti project/.history/css/style_20200317153233.css +7 -0
- package/chti project/.history/css/style_20200317153247.css +7 -0
- package/chti project/.history/css/style_20200317153248.css +7 -0
- package/chti project/.history/css/style_20200317153301.css +11 -0
- package/chti project/.history/css/style_20200317153305.css +12 -0
- package/chti project/.history/css/style_20200317153307.css +12 -0
- package/chti project/.history/css/style_20200317153310.css +12 -0
- package/chti project/.history/css/style_20200317153312.css +13 -0
- package/chti project/.history/css/style_20200317153316.css +13 -0
- package/chti project/.history/css/style_20200317153317.css +13 -0
- package/chti project/.history/css/style_20200317153320.css +13 -0
- package/chti project/.history/css/style_20200317153411.css +13 -0
- package/chti project/.history/css/style_20200317153415.css +13 -0
- package/chti project/.history/css/style_20200317153425.css +16 -0
- package/chti project/.history/css/style_20200317153426.css +16 -0
- package/chti project/.history/css/style_20200317153438.css +17 -0
- package/chti project/.history/css/style_20200317153444.css +18 -0
- package/chti project/.history/css/style_20200317153446.css +17 -0
- package/chti project/.history/css/style_20200317153448.css +19 -0
- package/chti project/.history/css/style_20200317153450.css +19 -0
- package/chti project/.history/css/style_20200317153452.css +19 -0
- package/chti project/.history/css/style_20200317153454.css +19 -0
- package/chti project/.history/css/style_20200317153459.css +19 -0
- package/chti project/.history/css/style_20200317153500.css +19 -0
- package/chti project/.history/css/style_20200317153503.css +19 -0
- package/chti project/.history/css/style_20200317153513.css +19 -0
- package/chti project/.history/css/style_20200317154213.css +22 -0
- package/chti project/.history/css/style_20200317154217.css +23 -0
- package/chti project/.history/css/style_20200317154218.css +23 -0
- package/chti project/.history/css/style_20200317154223.css +24 -0
- package/chti project/.history/css/style_20200317154225.css +24 -0
- package/chti project/.history/css/style_20200317154226.css +24 -0
- package/chti project/.history/css/style_20200317154234.css +24 -0
- package/chti project/.history/css/style_20200317154423.css +22 -0
- package/chti project/.history/css/style_20200317154424.css +22 -0
- package/chti project/.history/css/style_20200317154507.css +22 -0
- package/chti project/.history/css/style_20200317154513.css +28 -0
- package/chti project/.history/css/style_20200317154517.css +27 -0
- package/chti project/.history/css/style_20200317154522.css +27 -0
- package/chti project/.history/css/style_20200317154525.css +27 -0
- package/chti project/.history/css/style_20200317154659.css +29 -0
- package/chti project/.history/css/style_20200317154700.css +29 -0
- package/chti project/.history/css/style_20200317154702.css +31 -0
- package/chti project/.history/css/style_20200317154924.css +31 -0
- package/chti project/.history/css/style_20200317155150.css +26 -0
- package/chti project/.history/css/style_20200317155152.css +32 -0
- package/chti project/.history/css/style_20200317155154.css +32 -0
- package/chti project/.history/css/style_20200317155156.css +32 -0
- package/chti project/.history/css/style_20200317155242.css +32 -0
- package/chti project/.history/css/style_20200317155244.css +33 -0
- package/chti project/.history/css/style_20200317155245.css +33 -0
- package/chti project/.history/css/style_20200317155248.css +33 -0
- package/chti project/.history/css/style_20200317155253.css +34 -0
- package/chti project/.history/css/style_20200317155254.css +34 -0
- package/chti project/.history/css/style_20200317155256.css +33 -0
- package/chti project/.history/css/style_20200317155257.css +33 -0
- package/chti project/.history/css/style_20200317155308.css +33 -0
- package/chti project/.history/css/style_20200317155315.css +31 -0
- package/chti project/.history/css/style_20200317155428.css +31 -0
- package/chti project/.history/css/style_20200317155430.css +31 -0
- package/chti project/.history/css/style_20200317155438.css +32 -0
- package/chti project/.history/css/style_20200317155442.css +33 -0
- package/chti project/.history/css/style_20200317155447.css +34 -0
- package/chti project/.history/css/style_20200317155448.css +34 -0
- package/chti project/.history/css/style_20200317155449.css +34 -0
- package/chti project/.history/css/style_20200317155504.css +34 -0
- package/chti project/.history/css/style_20200317155506.css +34 -0
- package/chti project/.history/css/style_20200317155507.css +35 -0
- package/chti project/.history/css/style_20200317155511.css +36 -0
- package/chti project/.history/css/style_20200317155513.css +36 -0
- package/chti project/.history/css/style_20200317155514.css +38 -0
- package/chti project/.history/css/style_20200317155518.css +42 -0
- package/chti project/.history/css/style_20200317155519.css +39 -0
- package/chti project/.history/css/style_20200317155522.css +36 -0
- package/chti project/.history/css/style_20200317155525.css +37 -0
- package/chti project/.history/css/style_20200317155527.css +35 -0
- package/chti project/.history/css/style_20200317155533.css +35 -0
- package/chti project/.history/css/style_20200317155535.css +35 -0
- package/chti project/.history/css/style_20200317155636.css +37 -0
- package/chti project/.history/css/style_20200317155642.css +37 -0
- package/chti project/.history/css/style_20200317155645.css +37 -0
- package/chti project/.history/css/style_20200317155651.css +38 -0
- package/chti project/.history/css/style_20200317155652.css +38 -0
- package/chti project/.history/css/style_20200317155657.css +39 -0
- package/chti project/.history/css/style_20200317155659.css +39 -0
- package/chti project/.history/css/style_20200317160107.css +39 -0
- package/chti project/.history/css/style_20200317160112.css +39 -0
- package/chti project/.history/css/style_20200317160321.css +36 -0
- package/chti project/.history/css/style_20200317160324.css +37 -0
- package/chti project/.history/css/style_20200317160327.css +37 -0
- package/chti project/.history/css/style_20200317160328.css +37 -0
- package/chti project/.history/css/style_20200317160331.css +37 -0
- package/chti project/.history/css/style_20200317160333.css +37 -0
- package/chti project/.history/css/style_20200317160334.css +37 -0
- package/chti project/.history/css/style_20200317160545.css +37 -0
- package/chti project/.history/css/style_20200317160552.css +37 -0
- package/chti project/.history/css/style_20200317160553.css +37 -0
- package/chti project/.history/css/style_20200317160557.css +37 -0
- package/chti project/.history/css/style_20200317160558.css +37 -0
- package/chti project/.history/css/style_20200317160559.css +37 -0
- package/chti project/.history/css/style_20200317160607.css +37 -0
- package/chti project/.history/css/style_20200317160608.css +37 -0
- package/chti project/.history/css/style_20200317160617.css +37 -0
- package/chti project/.history/css/style_20200317160618.css +37 -0
- package/chti project/.history/css/style_20200317160619.css +37 -0
- package/chti project/.history/css/style_20200317160625.css +37 -0
- package/chti project/.history/css/style_20200317160629.css +37 -0
- package/chti project/.history/css/style_20200317160631.css +37 -0
- package/chti project/.history/css/style_20200317160632.css +37 -0
- package/chti project/.history/css/style_20200317161135.css +39 -0
- package/chti project/.history/css/style_20200317161136.css +49 -0
- package/chti project/.history/css/style_20200317161139.css +49 -0
- package/chti project/.history/css/style_20200317161149.css +49 -0
- package/chti project/.history/css/style_20200317161202.css +44 -0
- package/chti project/.history/css/style_20200317161203.css +43 -0
- package/chti project/.history/css/style_20200317161204.css +43 -0
- package/chti project/.history/css/style_20200317161213.css +48 -0
- package/chti project/.history/css/style_20200317161216.css +49 -0
- package/chti project/.history/css/style_20200317161217.css +49 -0
- package/chti project/.history/css/style_20200317161448.css +50 -0
- package/chti project/.history/css/style_20200317161451.css +51 -0
- package/chti project/.history/css/style_20200317161454.css +51 -0
- package/chti project/.history/css/style_20200317161456.css +51 -0
- package/chti project/.history/css/style_20200317161458.css +51 -0
- package/chti project/.history/css/style_20200317161509.css +55 -0
- package/chti project/.history/css/style_20200317161516.css +55 -0
- package/chti project/.history/css/style_20200317161520.css +55 -0
- package/chti project/.history/css/style_20200317161525.css +57 -0
- package/chti project/.history/css/style_20200317161526.css +57 -0
- package/chti project/.history/css/style_20200317161528.css +57 -0
- package/chti project/.history/css/style_20200317161529.css +57 -0
- package/chti project/.history/css/style_20200317161535.css +57 -0
- package/chti project/.history/css/style_20200317164112.css +56 -0
- package/chti project/.history/css/style_20200317164115.css +56 -0
- package/chti project/.history/css/style_20200317164117.css +56 -0
- package/chti project/.history/css/style_20200317164122.css +56 -0
- package/chti project/.history/css/style_20200317164515.css +46 -0
- package/chti project/.history/css/style_20200317164517.css +45 -0
- package/chti project/.history/css/style_20200317164519.css +45 -0
- package/chti project/.history/css/style_20200317164529.css +55 -0
- package/chti project/.history/css/style_20200317164532.css +56 -0
- package/chti project/.history/css/style_20200317164534.css +56 -0
- package/chti project/.history/index_20200317152116.html +0 -0
- package/chti project/.history/index_20200317152142.html +1 -0
- package/chti project/.history/index_20200317152143.html +1 -0
- package/chti project/.history/index_20200317152146.html +1 -0
- package/chti project/.history/index_20200317152151.html +4 -0
- package/chti project/.history/index_20200317152155.html +4 -0
- package/chti project/.history/index_20200317152158.html +4 -0
- package/chti project/.history/index_20200317152200.html +5 -0
- package/chti project/.history/index_20200317152211.html +5 -0
- package/chti project/.history/index_20200317152218.html +5 -0
- package/chti project/.history/index_20200317152224.html +5 -0
- package/chti project/.history/index_20200317152225.html +5 -0
- package/chti project/.history/index_20200317152744.html +5 -0
- package/chti project/.history/index_20200317152957.html +5 -0
- package/chti project/.history/index_20200317152959.html +5 -0
- package/chti project/.history/index_20200317153003.html +5 -0
- package/chti project/.history/index_20200317153004.html +5 -0
- package/chti project/.history/index_20200317153007.html +5 -0
- package/chti project/.history/index_20200317153012.html +8 -0
- package/chti project/.history/index_20200317153014.html +9 -0
- package/chti project/.history/index_20200317153016.html +9 -0
- package/chti project/.history/index_20200317153020.html +9 -0
- package/chti project/.history/index_20200317153025.html +9 -0
- package/chti project/.history/index_20200317153028.html +11 -0
- package/chti project/.history/index_20200317153153.html +12 -0
- package/chti project/.history/index_20200317153155.html +13 -0
- package/chti project/.history/index_20200317153212.html +13 -0
- package/chti project/.history/index_20200317153217.html +13 -0
- package/chti project/.history/index_20200317153222.html +13 -0
- package/chti project/.history/index_20200317153223.html +15 -0
- package/chti project/.history/index_20200317153553.html +15 -0
- package/chti project/.history/index_20200317153554.html +15 -0
- package/chti project/.history/index_20200317153558.html +15 -0
- package/chti project/.history/index_20200317153604.html +15 -0
- package/chti project/.history/index_20200317153607.html +17 -0
- package/chti project/.history/index_20200317153613.html +17 -0
- package/chti project/.history/index_20200317153615.html +17 -0
- package/chti project/.history/index_20200317153617.html +17 -0
- package/chti project/.history/index_20200317153618.html +17 -0
- package/chti project/.history/index_20200317153625.html +17 -0
- package/chti project/.history/index_20200317153626.html +17 -0
- package/chti project/.history/index_20200317153631.html +17 -0
- package/chti project/.history/index_20200317153632.html +17 -0
- package/chti project/.history/index_20200317153711.html +17 -0
- package/chti project/.history/index_20200317153712.html +17 -0
- package/chti project/.history/index_20200317153717.html +17 -0
- package/chti project/.history/index_20200317153811.html +17 -0
- package/chti project/.history/index_20200317154115.html +18 -0
- package/chti project/.history/index_20200317154117.html +18 -0
- package/chti project/.history/index_20200317154120.html +18 -0
- package/chti project/.history/index_20200317154124.html +18 -0
- package/chti project/.history/index_20200317154126.html +18 -0
- package/chti project/.history/index_20200317154128.html +18 -0
- package/chti project/.history/index_20200317154131.html +18 -0
- package/chti project/.history/index_20200317154134.html +18 -0
- package/chti project/.history/index_20200317154142.html +18 -0
- package/chti project/.history/index_20200317154145.html +19 -0
- package/chti project/.history/index_20200317154150.html +19 -0
- package/chti project/.history/index_20200317154155.html +19 -0
- package/chti project/.history/index_20200317154157.html +19 -0
- package/chti project/.history/index_20200317154602.html +19 -0
- package/chti project/.history/index_20200317154605.html +19 -0
- package/chti project/.history/index_20200317154606.html +19 -0
- package/chti project/.history/index_20200317154608.html +19 -0
- package/chti project/.history/index_20200317154609.html +19 -0
- package/chti project/.history/index_20200317154611.html +19 -0
- package/chti project/.history/index_20200317154612.html +19 -0
- package/chti project/.history/index_20200317154752.html +19 -0
- package/chti project/.history/index_20200317154753.html +19 -0
- package/chti project/.history/index_20200317155237.html +19 -0
- package/chti project/.history/index_20200317160103.html +19 -0
- package/chti project/.history/index_20200317160302.html +19 -0
- package/chti project/.history/index_20200317160309.html +19 -0
- package/chti project/.history/index_20200317160313.html +19 -0
- package/chti project/.history/index_20200317160318.html +19 -0
- package/chti project/.history/index_20200317160640.html +21 -0
- package/chti project/.history/index_20200317160647.html +21 -0
- package/chti project/.history/index_20200317160648.html +23 -0
- package/chti project/.history/index_20200317160652.html +23 -0
- package/chti project/.history/index_20200317160654.html +24 -0
- package/chti project/.history/index_20200317160701.html +23 -0
- package/chti project/.history/index_20200317160706.html +23 -0
- package/chti project/.history/index_20200317160708.html +23 -0
- package/chti project/.history/index_20200317160709.html +23 -0
- package/chti project/.history/index_20200317160809.html +23 -0
- package/chti project/.history/index_20200317160811.html +23 -0
- package/chti project/.history/index_20200317160822.html +21 -0
- package/chti project/.history/index_20200317160848.html +21 -0
- package/chti project/.history/index_20200317160854.html +21 -0
- package/chti project/.history/index_20200317160857.html +23 -0
- package/chti project/.history/index_20200317160903.html +23 -0
- package/chti project/.history/index_20200317160904.html +23 -0
- package/chti project/.history/index_20200317160907.html +23 -0
- package/chti project/.history/index_20200317160912.html +23 -0
- package/chti project/.history/index_20200317160915.html +23 -0
- package/chti project/.history/index_20200317160916.html +23 -0
- package/chti project/.history/index_20200317161130.html +23 -0
- package/chti project/.history/index_20200317161444.html +23 -0
- package/chti project/.history/index_20200317161502.html +23 -0
- package/chti project/.history/index_20200317161650.html +22 -0
- package/chti project/.history/index_20200317161653.html +23 -0
- package/chti project/.history/index_20200317161656.html +23 -0
- package/chti project/.history/index_20200317164638.html +23 -0
- package/chti project/.history/index_20200317164649.html +23 -0
- package/chti project/.history/index_20200317164650.html +23 -0
- package/chti project/.history/index_20200317164830.html +21 -0
- package/chti project/.history/index_20200317164834.html +25 -0
- package/chti project/.history/index_20200317164840.html +23 -0
- package/chti project/.history/index_20200317164843.html +23 -0
- package/chti project/.history/index_20200317164844.html +24 -0
- package/chti project/.history/index_20200317164846.html +23 -0
- package/chti project/.history/index_20200317164848.html +23 -0
- package/chti project/.history/index_20200317164849.html +24 -0
- package/chti project/.history/index_20200317165119.html +24 -0
- package/chti project/.history/index_20200317173808.html +24 -0
- package/chti project/css/images/banner.jpg +0 -0
- package/chti project/css/images/chti.jpg +0 -0
- package/chti project/css/images/contacts.png +0 -0
- package/chti project/css/images/larrow.png +0 -0
- package/chti project/css/images/logo.png +0 -0
- package/chti project/css/images/me.jpg +0 -0
- package/chti project/css/images/rarrow.png +0 -0
- package/chti project/css/images/socFacebook.png +0 -0
- package/chti project/css/images/socGoogle.png +0 -0
- package/chti project/css/images/socTwitter.png +0 -0
- package/chti project/css/images/socVK.png +0 -0
- package/chti project/css/style.css +269 -0
- package/chti project/css/style2.css +269 -0
- package/chti project/index.html +114 -0
- package/chti project/index2.html +64 -0
- package/chti project/roz.html +0 -0
- package/chunk-vendors.b9d6a628.js +80 -0
- package/github/1.html +29 -0
- package/github/git.css +91 -0
- package/github/user.js +290 -0
- package/js/bgf.js +6219 -0
- package/js/cs/cs.html +10783 -0
- package/js/cs/cs.js +6219 -0
- package/js/cs/css/cs.css +52 -0
- package/js/cs1.js +26918 -0
- package/js/first.js +93 -0
- package/js/github/csgo500-Script(build 00001).js +34 -0
- package/js/github/this.html +11 -0
- package/js/global.html +11 -0
- package/js/global.js +68 -0
- package/js/hometask/index.html +11 -0
- package/js/hometask/second.js +45 -0
- package/js/index.html +11 -0
- package/js/jj.html +11 -0
- package/js/loop.js +62 -0
- package/js/mapset.html +11 -0
- package/js/mapset.js +99 -0
- package/js/modal1/base.js +0 -0
- package/js/modal1/ind.js +1 -0
- package/js/modal1/modal.css +51 -0
- package/js/modal1/modal.html +40 -0
- package/js/modal2/main.js +18 -0
- package/js/modal2/modal.html +28 -0
- package/js/modal2/style.css +70 -0
- package/js/modul10.html +11 -0
- package/js/modul10.js +45 -0
- package/js/modul6.html +11 -0
- package/js/modul6.js +184 -0
- package/js/modul7.css +91 -0
- package/js/modul7.html +53 -0
- package/js/modul7.js +692 -0
- package/js/modul8.html +13 -0
- package/js/modul8.js +84 -0
- package/js/modul9.js +103 -0
- package/js/moudl9.html +12 -0
- package/js/plugins/modal.js +38 -0
- package/js/rl.html +11 -0
- package/js/rl.js +101 -0
- package/js/stud.js +114 -0
- package/js/sw.html +19 -0
- package/js/testcs.html +11 -0
- package/js/testcs.js +107 -0
- 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
- package/master of code project/home.js +50 -0
- package/node/.idea/modules.xml +8 -0
- package/node/.idea/node.iml +8 -0
- package/node/app.js +20 -0
- package/node/one.text +1 -0
- package/nodejs/.eslintrc +0 -0
- package/nodejs/app.js +5 -0
- package/nodejs/config/config.js +4 -0
- package/nodejs/folder/subtext.txt +1 -0
- package/nodejs/main.js +3 -0
- package/nodejs/node_modules/.package-lock.json +79 -0
- package/nodejs/node_modules/ansi-styles/index.d.ts +345 -0
- package/nodejs/node_modules/ansi-styles/index.js +163 -0
- package/nodejs/node_modules/ansi-styles/license +9 -0
- package/nodejs/node_modules/ansi-styles/package.json +56 -0
- package/nodejs/node_modules/ansi-styles/readme.md +152 -0
- package/nodejs/node_modules/chalk/index.d.ts +415 -0
- package/nodejs/node_modules/chalk/license +9 -0
- package/nodejs/node_modules/chalk/package.json +68 -0
- package/nodejs/node_modules/chalk/readme.md +341 -0
- package/nodejs/node_modules/chalk/source/index.js +229 -0
- package/nodejs/node_modules/chalk/source/templates.js +134 -0
- package/nodejs/node_modules/chalk/source/util.js +39 -0
- package/nodejs/node_modules/color-convert/CHANGELOG.md +54 -0
- package/nodejs/node_modules/color-convert/LICENSE +21 -0
- package/nodejs/node_modules/color-convert/README.md +68 -0
- package/nodejs/node_modules/color-convert/conversions.js +839 -0
- package/nodejs/node_modules/color-convert/index.js +81 -0
- package/nodejs/node_modules/color-convert/package.json +48 -0
- package/nodejs/node_modules/color-convert/route.js +97 -0
- package/nodejs/node_modules/color-name/LICENSE +8 -0
- package/nodejs/node_modules/color-name/README.md +11 -0
- package/nodejs/node_modules/color-name/index.js +152 -0
- package/nodejs/node_modules/color-name/package.json +28 -0
- package/nodejs/node_modules/has-flag/index.d.ts +39 -0
- package/nodejs/node_modules/has-flag/index.js +8 -0
- package/nodejs/node_modules/has-flag/license +9 -0
- package/nodejs/node_modules/has-flag/package.json +46 -0
- package/nodejs/node_modules/has-flag/readme.md +89 -0
- package/nodejs/node_modules/install/.travis.yml +12 -0
- package/nodejs/node_modules/install/LICENSE +22 -0
- package/nodejs/node_modules/install/README.md +123 -0
- package/nodejs/node_modules/install/install.js +556 -0
- package/nodejs/node_modules/install/install.min.js +1 -0
- package/nodejs/node_modules/install/package.json +41 -0
- package/nodejs/node_modules/install/scripts/docs.sh +7 -0
- package/nodejs/node_modules/install/scripts/prepublish.sh +5 -0
- package/nodejs/node_modules/supports-color/browser.js +5 -0
- package/nodejs/node_modules/supports-color/index.js +135 -0
- package/nodejs/node_modules/supports-color/license +9 -0
- package/nodejs/node_modules/supports-color/package.json +53 -0
- package/nodejs/node_modules/supports-color/readme.md +76 -0
- package/nodejs/package-lock.json +135 -0
- package/nodejs/package.json +6 -0
- package/nodejs/second.js +0 -0
- package/nodejs/services/index.js +4 -0
- package/nodejs/services/task1.js +1 -0
- package/nodejs/services/task2.js +1 -0
- package/package.json +8 -3
- package/package.yaml +30 -0
- package/pyt/hello/db.sqlite3 +0 -0
- package/pyt/hello/hello/__init__.py +0 -0
- package/pyt/hello/hello/__pycache__/__init__.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/settings.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/urls.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/wsgi.cpython-39.pyc +0 -0
- package/pyt/hello/hello/asgi.py +16 -0
- package/pyt/hello/hello/settings.py +120 -0
- package/pyt/hello/hello/urls.py +21 -0
- package/pyt/hello/hello/wsgi.py +16 -0
- package/pyt/hello/manage.py +22 -0
- package/resume1/css/img/me.jpg +0 -0
- package/resume1/css/style.css +144 -0
- package/resume1/eng.html +62 -0
- package/resume1/index.html +66 -0
- package/resume1/mysite/db.sqlite3 +0 -0
- package/resume1/mysite/manage.py +24 -0
- package/resume1/mysite/mysite/__init__.py +0 -0
- package/resume1/mysite/mysite/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/settings.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/urls.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/wsgi.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/asgi.py +16 -0
- package/resume1/mysite/mysite/settings.py +132 -0
- package/resume1/mysite/mysite/urls.py +22 -0
- package/resume1/mysite/mysite/wsgi.py +16 -0
- package/resume1/mysite/polls/__init__.py +0 -0
- package/resume1/mysite/polls/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/admin.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/models.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/urls.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/views.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/admin.py +3 -0
- package/resume1/mysite/polls/apps.py +5 -0
- package/resume1/mysite/polls/migrations/__init__.py +0 -0
- package/resume1/mysite/polls/migrations/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/models.py +3 -0
- package/resume1/mysite/polls/tests.py +3 -0
- package/resume1/mysite/polls/urls.py +8 -0
- package/resume1/mysite/polls/views.py +10 -0
- package/resume1/py +0 -0
- package/resume1/python +0 -0
- package/setup-project/src/.eslintignore +0 -0
- package/setup-project/src/.eslintrc +0 -0
- package/setup-project/src/.prettierrc +2 -0
- package/setup-project/src/app.js +1 -0
- package/setup-project/src/editorconfig +0 -0
- package/setup-project/src/ignore.js +1 -0
- package/setup-project/src/package.json +14 -0
- package/testvz/main.css +374 -0
- package/testvz/test.html +111 -0
- package/testvz/testvz.zip +0 -0
- package/web/lab 4/pr4a(2).html +40 -0
- package/web/lab1/css/pr2.css +4 -0
- package/web/lab1/css/pra1(1).css +3 -0
- package/web/lab1/css/pra1(2).css +19 -0
- package/web/lab1/css/style.css +3 -0
- package/web/lab1/index.html +16 -0
- package/web/lab1/pr2.html +24 -0
- package/web/lab1/pra1(1).html +47 -0
- package/web/lab1/pra1(2).html +17 -0
- package/web/lab1/pra1.html +15 -0
- package/web/lab2/css/pr1(1).css +4 -0
- package/web/lab2/css/pr3.css +4 -0
- package/web/lab2/pr1(1).html +24 -0
- package/web/lab2/pr1(2).html +27 -0
- package/web/lab2/pr1(3).html +20 -0
- package/web/lab2/pr1(4).html +22 -0
- package/web/lab2/pr3.html +88 -0
- package/web/lab2/pri1(5).html +28 -0
- package/web/lab3/css/img/egypt.jpg +0 -0
- package/web/lab3/css/img/moon.jpg +0 -0
- package/web/lab3/css/img/paris.jpg +0 -0
- package/web/lab3/css/pr3a(2).css +18 -0
- package/web/lab3/css/pr3a.css +4 -0
- package/web/lab3/pr3a(2).html +20 -0
- package/web/lab3/pr3a.html +12 -0
- package/web/lab4/css/pra4(2).css +40 -0
- package/web/lab4/css/pra4.css +11 -0
- package/web/lab4/pr4a(2).html +40 -0
- package/web/lab4/pr4a.html +16 -0
- package/web/lab5/css/pra5.css +3 -0
- package/web/lab5/pra5.html +27 -0
- package/web/lab6/6.12.html +14 -0
- package/web/lab6/6.13.html +18 -0
- package/web/lab6/6.14.html +18 -0
- package/web/lab6/6.15.html +28 -0
- package/web/lab6/6.16.html +28 -0
- package/web/lab6/6.17.html +28 -0
- package/web/lab6/6.18.html +29 -0
- package/web/lab6/css/pra6.css +13 -0
- package/web/lab6/img1.png +0 -0
- package/web/lab6/img2.png +0 -0
- package/web/lab6/img3.png +0 -0
- package/web/lab6/img4.png +0 -0
- package/web/lab6/pra6(2).html +37 -0
- package/web/lab6/pra6.html +70 -0
- package/web//320/240/320/265/320/264/321/207/320/270/321/206/321/214.zip +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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>
|