I hereby claim:
- I am nuarknoir on github.
- I am nuark (https://keybase.io/nuark) on keybase.
- I have a public key whose fingerprint is 8326 2A29 10BB 3F66 B5DB A2EB D5D1 9F46 26C1 95E8
To claim this, I am signing this object:
| Array.from(document.querySelectorAll(".tw-full-width.tw-interactive.tw-link.tw-link--hover-underline-none.tw-link--inherit")).map(x => { | |
| return `${/\/videos\/(\d+)\?/.exec(x.href)[1]} "${x.textContent.trim()}"`; | |
| }).join("\n"); |
| (() => { | |
| let titles = [`test`, `"test whitespace"`, `"more whitespace"`, `no_whitespace`, `another`, `test`]; | |
| let types = [`childish`, `popular`, `sci-pop`, `scientific`,]; | |
| let getTitle = () => { | |
| return titles[Math.floor(Math.random() * titles.length)]; | |
| } | |
| let getCost = () => { | |
| return -3 + Math.floor(Math.random() * 104); |
| import warnings | |
| import sqlite3 as sqlite | |
| class Database(object): | |
| __connected = False | |
| __connection = None | |
| __autocommit = True | |
| def __init__(self, path=":memory:", autocommit=True): | |
| self.__path = path |
| // ==UserScript== | |
| // @name GradeCalcCorrector | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Correctly calcs grade on full report page. Not flexible, may contain errors. | |
| // @author You | |
| // @match https://e.sfu-kras.ru/grade/report/user/index.php?id=* | |
| // @grant none | |
| // ==/UserScript== |
I hereby claim:
To claim this, I am signing this object:
| URL=https://github.com/TachibanaYoshino/AnimeGAN/releases/download/Haoyao-style_V1.0/Haoyao-style.zip | |
| ZIP_FILE=./checkpoint/Haoyao-style.zip | |
| TARGET_DIR=./checkpoint/saved_model | |
| mkdir -p ./checkpoint | |
| wget -N $URL -O $ZIP_FILE | |
| mkdir -p $TARGET_DIR | |
| unzip $ZIP_FILE -d $TARGET_DIR | |
| rm $ZIP_FILE |
3 Практические задания
| Math.round((Array.from(document.querySelectorAll(".a-price-whole")).map(x=>~~(x.innerText)).concat(Array.from(document.querySelectorAll(".a-price-fraction")).map(x=>~~(x.innerText) / 100.))).reduce((a, b) => a + b, 0) * 100) / 100 |
| /* ==UserStyle== | |
| @name eCourses Prettifier | |
| @namespace github.com/openstyles/stylus | |
| @version 0.1.0 | |
| @description SFU's eCourses ultimate prettifier | |
| @author Nuark (tg: @Nuark) | |
| @updateUrl https://gist.githubusercontent.com/NuarkNoir/d2e6d04508d05b961a302d194f841401/raw | |
| ==/UserStyle== */ | |
| @-moz-document domain("e.sfu-kras.ru") { | |
| #nheader .users-online { |
| // ==UserScript== | |
| // @name Sankaku2Aria | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Generates parametrized links, compatible with aria2 (with `-P` parameter) | |
| // @author Nuark | |
| // @match *://sankakucomplex.com/*/*/*/*/ | |
| // @match *://www.sankakucomplex.com/*/*/*/*/ | |
| // @grant none | |
| // ==/UserScript== |