План:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "python.analysis.extraPaths": [ | |
| "venv/lib/python3.12/site-packages" | |
| ], | |
| "python.defaultInterpreterPath": "${workspaceFolder}/venv/bin/python" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| # replace query string is query fits | |
| if ($request_uri ~ "limit=24&start=0") { | |
| rewrite ^(.*) $1? permanent; | |
| } | |
| } |
Реализация задачи с fl.ru. Заказчик выбрал другого исполнителя.
Нужно написать функцию на JS, которая на входе будет получать текстовую переменную:
{Привет|Здравствуй|Хай}! У тебя есть {3|5|10|20} попыток, что бы {правильно ответить|угадать ответ} на вопрос.
А на выходе сгенерированный текст типа:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default (callback, time = 250, interval) => | |
| (...args) => | |
| clearTimeout(interval, interval = setTimeout(callback, time, ...args)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name ozon-wait-and-order | |
| // @namespace http://ozon.ru | |
| // @version 0.2 | |
| // @description wait for discount and order | |
| // @author br4instormer | |
| // @match https://www.ozon.ru/product/* | |
| // @match https://www.ozon.ru/cart* | |
| // @match https://www.ozon.ru/gocheckout* | |
| // @icon https://www.ozon.ru/public/favicon.ico |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name wildberries-search-and-add-to-cart2 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Depicting a flurry of activity | |
| // @author br4instormer | |
| // @match https://wildberries.ru/* | |
| // @match https://www.wildberries.ru/* | |
| // @icon https://www.wildberries.ru/favicon.ico | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM nginx:latest | |
| RUN sed -i '/index index.html index.htm;/a \\n\ | |
| autoindex on;\n\ | |
| autoindex_exact_size off;\n\ | |
| autoindex_format html;\n\ | |
| autoindex_localtime on;' /etc/nginx/conf.d/default.conf |
NewerOlder