Skip to content

Instantly share code, notes, and snippets.

@szv99
szv99 / app.py
Created November 27, 2023 20:42
RotateCookies by requests on Google services
import json
import random
from urllib.parse import parse_qs, parse_qsl, urlparse
import requests
import re
class Bard:
def __init__(self, timeout=6, proxies=None, session=None):
with open("API_KEYS.txt", "r") as f:
lines = f.readlines()
@andy-1983
andy-1983 / do_archive.sh
Created January 26, 2021 08:12
PSQL archiving script
#!/bin/bash
STARTSCRIPT=$(date +%s)
STOPSCRIPT=''
ListOfBases='dblist'
PORT='5432'
USERNAME='root'
SERVERNAME='localhost'
ARCHIVEDIR='/archive_dir'
MAXDBCOUNT='1000' #count of db names to select from cluster
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 30, 2024 17:13
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@Arignir
Arignir / README.md
Last active December 19, 2018 22:55
HoleyBeep exploit

HoleyBeep

This is an exploit for HoleyBeep.

To use it, place any command you want root to execute in /tmp/x.

$ cat /tmp/x
echo PWNED $(whoami)
#! python2
"""
uTorrent resume.dat => qbittorrent
Author: robot
Largely based on resumedata_2015.rb, see https://github.com/qbittorrent/qBittorrent/issues/1826 for discussion.
Zero error tolerance is assumed. As well see error.log for warnings.
Feel free to change defaults in def mkfr().
@koteq
koteq / gplus_img_title.user.js
Created June 23, 2017 11:44
G+ hover image title
// ==UserScript==
// @name G+ hover image title
// @version 1.0
// @match *://plus.google.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
/* jshint esnext: true */
const decodeFileName = (src) => {
@kawashirov
kawashirov / README.md
Last active April 6, 2020 06:48
Кавашировские расширения для Google+

Кавашировские расширения для Google+

Скриншот

Распространяется по лицензии WTFPL.

Внимание! Chromium-подобные браузеры (Chrome, Vivaldi, Opera, ...) на 2016.12.22 не поддерживают необходимые для работы скрипта HTML5 контекстные меню. Для включения эксперементальной поддержки необходимо включить ContextMenu в Blink. Это можно сделать флагом запуска --enable-blink-features=ContextMenu. При этом возможны проблемы.

Для нового интерфейса. Добавляет контекстные меню:

  • (На youtube-видео) "Открыть видео на YouTube", т.к. на данный невозможно открыть видео в отдельном окне не открыв видео в текущем.
  • (На youtube-видео) ... или скопировать ☝️ ссылку
# encoding: utf-8
# USE AT OWN RISK
#
# Follow this guide to install Ruby on Windows (step 1 and 2): https://forwardhq.com/support/installing-ruby-windows
# Install gems (with admin cmd prompt):
# https://rubygems.org/gems/bencode
# https://rubygems.org/gems/rest_client
#
# Edit datpath below to point to your utorrent resume.dat file