# pobierz skrypt
wget https://gist.githubusercontent.com/hejmsdz/bb4acc23df5a2613bf7abc7e7753f48b/raw/hrnest.py
# opcjonalnie ustaw wirtualne środowisko
python3 -m venv .venv && . .venv/bin/activate
# zainstaluj Selenium
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
{ | |
"vim.vimrc.enable": true, | |
"vim.vimrc.path": "~/.config/nvim/init.vim", | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": ["<leader>", "\\"], | |
"commands": ["workbench.files.action.showActiveFileInExplorer"], | |
}, | |
{ | |
"before": ["<leader>", "1"], |
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
import fs from 'fs'; | |
import fetch from 'node-fetch'; | |
import { JSDOM } from 'jsdom'; | |
import YAML from 'yaml' | |
async function loadDocument(url) { | |
const response = await fetch(url); | |
const body = await response.text(); | |
const { document } = new JSDOM(body, { url }).window; | |
return document; |
OlderNewer