Skip to content

Instantly share code, notes, and snippets.

View prawwtocol's full-sized avatar
🌱
am plant

Aleksei Seliverstov prawwtocol

🌱
am plant
View GitHub Profile
@prawwtocol
prawwtocol / .zshrc
Created March 19, 2024 09:57
my zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@prawwtocol
prawwtocol / macos.ahk
Last active February 27, 2024 14:07
windows key macos like remap
#Requires AutoHotkey v2.0
!z::^z
!x::^x
!c::^c
!v::^v
!n::^n
!a::^a
!s::^s
!d::^d
@prawwtocol
prawwtocol / readme.md
Last active April 18, 2026 19:51
Отписаться от всех групп вконтакте (vk.com)
  1. Зайти во вкладку "сообщества" (https://vk.com/groups)
  2. Открыть консоль разработчика (обычно F12)
  3. Мы будем вставлять скрипт через CTRL+V для этого иногда нужно прописать в консоли "allow pasting"
  4. Вставить следующий скрипт
const links = document.querySelectorAll('a.ui_actions_menu_item');
links.forEach(link => {
  if (link.textContent === 'Отписаться' || link.textContent === 'Unfollow') {
    link.click();
 }
@prawwtocol
prawwtocol / medium-bypass
Created January 18, 2024 09:54
medium-bypass userscript for Violentmonkey
// ==UserScript==
// @name medium-bypass
// @version 0.1.0
// @description Bypass Medium paywall
// @author xiaotianxt <tianyp@pku.edu.cn> (https://xiaotianxt.com/)
// @homepage https://github.com/xiaotianxt/medium-bypass
// @match *://*.adelaidenow.com.au/*
// @match *://*.adweek.com/*
// @match *://*.afr.com/*
// @match *://*.ambito/*
@prawwtocol
prawwtocol / userChrome.css
Created January 18, 2024 09:32
userChrome.css for Firefox and Sideberry
#main-window #titlebar {
overflow: hidden;
transition: height 0.3s 0.3s !important;
}
/* Default state: Set initial height to enable animation */
#main-window #titlebar {
height: 3em !important;
}
@prawwtocol
prawwtocol / swap-usage.1m.sh
Created January 18, 2024 09:32
SwiftBar swap usage plugin
#!/usr/bin/env bash
# <xbar.title>Swap Usage</xbar.title>
# <xbar.version>v1.0</xbar.version>
# <xbar.author>Andrzej Wojciechowski (AAWO)</xbar.author>
# <xbar.author.github>AAWO</xbar.author.github>
# <xbar.desc>Swap memory usage indicator</xbar.desc>
# <xbar.image></xbar.image>
# <xbar.dependencies>bash, awk</xbar.dependencies>
# <xbar.abouturl></xbar.abouturl>
sudo spctl --master-disable
xattr -dr com.apple.quarantine /Applications/Chromium.app/
@prawwtocol
prawwtocol / sh.sh
Created December 4, 2023 11:34
Install ungoogled chromium
brew install --cask eloston-chromium
# https://github.com/ungoogled-software/ungoogled-chromium#downloads