Skip to content

Instantly share code, notes, and snippets.

@SavageCore
SavageCore / script.user.js
Last active November 26, 2016 06:38
It only checks for torrents of the same imdb, not the specific request. Preview: http://i.imgur.com/HCmqiH3.png
// ==UserScript==
// @name Check KG for PTP Requests
// @namespace https://savagecore.eu
// @description Add link to PTP requests page if found at KG
//
// @version 0.1.0
// @include http*://*passthepopcorn.me/requests.php*
//
// @connect karagarga.in
// @downloadURL https://gist.github.com/SavageCore/2432769391b727b022f7c509b1429757/raw/f757e33f464d22d31e565b5c9514ab4fc468bb92/script.user.js
@SavageCore
SavageCore / reclaimWindows10.ps1
Last active March 18, 2018 18:25 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Forked from http://pastebin.com/gQxCUkLP
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE
# This script will reboot your machine when completed.
##########
# Ask for elevated permissions if required
#!/bin/bash
# Bash script to setup testing alongside stable on Debian.
# Based on http://serverfault.com/a/382101
# with fixes from http://serverfault.com/a/653552
# FUNCTIONS #
# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.
# https://gist.github.com/davejamesmiller/1965569
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sublime_plugin
import subprocess
from time import sleep
import sys
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
log = lambda message: sys.stderr.write("Log: %s\n" % message)
@SavageCore
SavageCore / OpenWithSublimeTextAsAdmin.bat
Last active August 29, 2015 14:18 — forked from xtu/OpenWithSublimeTextAsAdmin.bat
Change menuText for folders to indicate opening as Project
@echo off
@rem ==================
@rem Source:
@rem https://gist.github.com/jcppkkk/8330314
@rem Description:
@rem Install context menu to allow user opens file with Sublime Text as User or Admin, or Open Folder with Sublime Text.
@rem Usage:
@rem Download this .bat file to in Sublime Text's installation folder.
@rem Execute this batch file. It will download elevate codes and setup context menu.
@rem ==================