wsl --install archlinux -n
wsl -- bash -c "curl https://gist.githubusercontent.com/raitonoberu/912697ff224dff6c2c90ec175a3d2131/raw/wsl.sh -o /tmp/wsl.sh && bash /tmp/wsl.sh $Env:UserName"
wsl --shutdown
wsl --install archlinux -n
wsl -- bash -c "curl https://gist.githubusercontent.com/raitonoberu/912697ff224dff6c2c90ec175a3d2131/raw/wsl.sh -o /tmp/wsl.sh && bash /tmp/wsl.sh $Env:UserName"
wsl --shutdown
#!/bin/bash | |
set -euo pipefail | |
CHAIN_NAME=FIREWALL | |
SERVICE_NAME=firewall.service | |
SERVICE_PATH=/etc/systemd/system/$SERVICE_NAME | |
EXECUTABLE_PATH=/usr/local/sbin/firewall | |
INPUT_FILE=/etc/firewall_hosts |
URL = "https://up.htmlacademy.ru/univer-web-dev-start/2/module/8/item/2/{}" | |
TASKS = range(1, 21) | |
COOKIES = { | |
"h2": "2b43bedb9vvh...0d97b35", | |
"cff2ec2f6032shfkrfkrfkr2102eab2a": "RU.f2373b52ss7bda976fvb966s31bcww2", | |
"48bedib3nbdga01fvsd2v1073248c986": "cohort20.ddv31aa6215...1bd8fe121c", | |
"phpdemo": "eyJ0eXAcmrmgV1...2owZT7qv4BBL5Zc", | |
} | |
# ---------- |
This is a guide I wrote for my future self that will help to quickly set up a fully usable Void Linux installation with Wayland-only GNOME. This is heavily inspired by and based on nerdyslacker's guide (huge thanks!).
sudo xbps-install -Suv
sudo xbps-install -Rs void-repo-nonfree
sudo xbps-install gnome dbus xdg-user-dirs-gtk xdg-utils NetworkManager pipewire libspa-bluetooth ntp dejavu-fonts-ttf gnome-browser-connector qt5-wayland
// ==UserScript== | |
// @name EXAM1 ENGLISH HELPER | |
// @namespace https://github.com/raitonoberu/ | |
// @version 0.1 | |
// @description Помогает с копированием тестов | |
// @author raitonoberu | |
// @encoding utf-8 | |
// @homepage https://github.com/raitonoberu/ | |
// @match https://exam1.urfu.ru/mod/quiz/review.php?* | |
// @grant none |
import pygame | |
import pygame.draw | |
import pygame.locals | |
from math import sin, cos, pi | |
FILLED_COLOR = (108, 88, 123) | |
UNFILLED_COLOR = (204, 204, 204) | |
deg2Rad = (2 * pi) / 360 |
import pygame | |
import pygame.draw | |
import pygame.locals | |
from math import cos, pi | |
FILLED_COLOR = (108, 88, 123) | |
UNFILLED_COLOR = (204, 204, 204) | |
class ProgressBar(object): |