This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; MajorGeeks.Com | |
; https://www.majorgeeks.com/content/page/how_to_add_or_remove_maximum_processor_frequency.html | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\75b0ae3f-bce0-45a7-8c89-c9611c25e100] | |
"Attributes"=dword:00000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os, shlex, subprocess | |
from tqdm import tqdm | |
# ddrescue directories instead of a whole drive | |
# creates directories recursively and ddrescues files into them | |
def fs (line): | |
import subprocess | |
PIPE = subprocess.PIPE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import json | |
import requests | |
import os | |
import time | |
# plugin for qBittorrent to filter out files in torrents by name or extension | |
# Enable web-interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import json | |
import requests | |
import os | |
# plugin for qBittorrent | |
# Enable web-interface. | |
# Check "Bypass authentication for localhost" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# program-specific xbindkeys bindings | |
# there's a tool called `autokey`, which does this, but unlike xbindkeys, it doesn't catch mouse buttons | |
# doesn't interfere with main xbindkeys | |
# `pacman -S xbindkeys xdotool` | |
# `sleep 3 && cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys, os, re, io | |
import requests, queue, threading | |
from PIL import Image | |
# Using google script seeks better quality copies of given images. | |
# Parses given dir with images, seeks similar with google and if there is a similar enough pic with bigger width, script replaces/adds it. |