Skip to content

Instantly share code, notes, and snippets.

@TheAndrey
TheAndrey / mysql_dump_all.sh
Last active September 30, 2022 08:41
MySQL Backup
#!/bin/bash
for dbname in `echo SHOW DATABASES | mysql | grep -v Database`;
do
case $dbname in
information_schema)
continue ;;
mysql)
continue ;;
performance_schema)
@TheAndrey
TheAndrey / vk.user.css
Last active October 9, 2022 08:25
VKontakte user styles and JS
/* ==UserStyle==
@name VKontakte fixes
@namespace TheAndrey
@version 1.0.0
@license WTFPL
@preprocessor default
@updateURL https://gist.github.com/TheAndrey/19ed7f3f35fae7c7c8e0bb4db7da61cc/raw/vk.user.css
==/UserStyle== */
@-moz-document domain("vk.com") {
@TheAndrey
TheAndrey / mcmodding-forum.user.css
Created October 14, 2022 20:13
MCModding Forum animations disabler
/* ==UserStyle==
@name MCModding Forum
@namespace TheAndrey
@version 1.0.0
@license WTFPL
@preprocessor default
@updateURL https://gist.github.com/TheAndrey/0606b6824f7c2004908d1870f0ad34e0/raw/mcmodding-forum.user.css
==/UserStyle== */
@-moz-document domain("forum.mcmodding.ru") {
@TheAndrey
TheAndrey / redserver-forum.user.css
Last active December 7, 2022 10:09
Тёмная тема для форума RedServer
/* ==UserStyle==
@name RedServer Dark
@description `Dark theme for RedServer site.`
@namespace TheAndrey
@author TheAndrey
@version 1.2.2
@license WTFPL
@preprocessor default
@updateURL https://gist.github.com/TheAndrey/a66b48d46eb571376d0bae69d6c6c747/raw/redserver-forum.user.css
==/UserStyle== */
// ==UserScript==
// @name Yandex UnTurbo
// @namespace https://theandrey.name/
// @version 1.0
// @description Automatic redirection from turbo pages
// @author TheAndrey
// @match https://yandex.ru/turbo/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.ru
// @updateURL https://gist.github.com/TheAndrey/2b4ad36b2728d02c59a0843df39aa4ec/raw/yandex-unturbo.user.js
// @grant none
@TheAndrey
TheAndrey / topcraft-vote-btn.user.js
Last active September 29, 2023 22:56
Кнопка голосования для TopCraft & MCTOP
// ==UserScript==
// @name Кнопка голосования для TopCraft & MCTOP
// @namespace http://theandrey.name/
// @version 1.0
// @description Добавляет кнопку голосования на страницу своего проекта
// @author TheAndrey
// @match https://mctop.su/servers/*
// @match https://topcraft.ru/servers/*
// @match https://topcraft.club/servers/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=topcraft.club
@TheAndrey
TheAndrey / yandex.user.css
Last active March 26, 2024 09:52
Блокировка самой назойливой рекламы в мире
/* ==UserStyle==
@name Yandex ADBlock
@namespace TheAndrey
@version 1.1.8
@license WTFPL
@preprocessor default
@updateURL https://gist.github.com/TheAndrey/11eacc8ea931f33e846ec8edeb4b247a/raw/yandex.user.css
==/UserStyle== */
@-moz-document domain("yandex.ru"), domain("ya.ru"), domain("dzen.ru") {