Инструкция:
- Устанавливаем менеджер юзерскриптов (если не установлен).
- Firefox - Greasemonkey
- Chrome - Tampermonkey
- Нажимаем ссылку для установки скрипта.
- Добавляем скрипт.
- Обновляем стримы на ГГ, должно разблокироваться премиум-качество.
import {theSaga} from "somewhere"; | |
const ctx: Worker = self as any; | |
const workerIO: RunSagaOptions<Action, undefined> = { | |
subscribe: cb => { | |
const listener = (ev: MessageEvent) => cb(ev.data); | |
ctx.addEventListener("message", listener); | |
return () => ctx.removeEventListener("message", listener); | |
}, | |
dispatch: action => ctx.postMessage(action), |
Инструкция:
#!/bin/sh | |
export WINEPREFIX="$(realpath ./wineprefix)" # required to make separate wineserver session | |
export WINEARCH="win32" # might as well | |
# X dies when client stops executing | |
# unfortunately, windows programs tend to fork | |
# so we tie to wineserver by executing it in foreground, | |
# then we put it to background manually to run wine and then wait for wineserver to die | |
exec xinit /bin/sh -c 'wineserver -f & wine w3l.exe -opengl; wait' -- :1 |
#!/bin/sh | |
LOG=$(mktemp) | |
( | |
set -e | |
mkdir -p /home/dnt/portage | |
cd /home/dnt/portage | |
wget -N --ignore-length http://mirrors.digitalocean.com/gentoo/snapshots/portage-latest.tar.xz | |
if [ ! -s portage-latest.tar.xz ]; then exit 0; fi | |
tar -xJpf portage-latest.tar.xz | |
mksquashfs portage portage-latest.sqfs -comp xz -force-uid 250 -force-gid 250 -noappend |
zpool create \ | |
-f \ | |
-R /mnt/gentoo \ | |
-m none \ | |
-o ashift=12 \ | |
-o feature@lz4_compress=enabled \ | |
-O atime=off \ | |
-O canmount=off \ | |
-O compression=lz4 \ | |
-O dedup=off \ |
echo -n mem > /sys/power/state | |
hdparm --user-master u --security-set-pass 1 /dev/sda | |
hdparm --user-master u --security-erase 1 /dev/sda | |
hdparm -z /dev/sda |
#!/bin/bash | |
. /usr/share/slax/slaxbuildlib | |
# | |
# This is a template build script for Slax. | |
# Read all the comments in order to understand how to use it. | |
# Basically you fill in some necessary data and you run it. | |
# | |
# If it produces Slax module properly, you may upload it | |
# to Slax server by using command: | |
# |
#!/bin/bash | |
. /usr/share/slax/slaxbuildlib | |
# | |
# This is a template build script for Slax. | |
# Read all the comments in order to understand how to use it. | |
# Basically you fill in some necessary data and you run it. | |
# | |
# If it produces Slax module properly, you may upload it | |
# to Slax server by using command: | |
# |