This file contains hidden or 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 | |
[[ $(which unrar) != /* ]] && { | |
echo Please install unrar | |
exit 1 | |
} | |
[[ $(which convert) != /* ]] && { | |
echo Please install imagemagick | |
exit 1 |
This file contains hidden or 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
// ==UserScript== | |
// @name snahp bas64 | |
// @version 0.4 | |
// @description try to take over the world! | |
// @author vcoba | |
// @match https://forum.snahp.it/viewtopic.php* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
This file contains hidden or 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
// ==UserScript== | |
// @name Hulu Record Mode | |
// @version 1.0.1 | |
// @grant none | |
// @match https://www.hulu.com/* | |
// ==/UserScript== | |
function addCss(rule) { | |
let css = document.createElement('style'); | |
css.type = 'text/css'; |
This file contains hidden or 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
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n()}(0,function(){"use strict";function e(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){return n.reject(t)})})}function n(e){return!(!e||"undefined"==typeof e.length)}function t(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],c(e,this)}function r(e,n){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn(function(){var t=1===e._state?n.onFulfilled:n.onRejected;if(null!==t){var o;try{o=t(e._value)}catch(r){return void f(n.promise,r)}i(n.promise,o)}else(1===e._state?i:f)(n.promise,e._value)})):e._deferreds.push(n)}function i(e,n){try{if(n===e)throw new TypeError("A promise cannot be r |
This file contains hidden or 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
if(!document.querySelectorAll){document.querySelectorAll=function(selector){var doc=document,head=doc.documentElement.firstChild,styleTag=doc.createElement("STYLE");head.appendChild(styleTag);doc.__qsaels=[];styleTag.styleSheet.cssText=selector+"{x:expression(document.__qsaels.push(this))}";window.scrollBy(0,0);return doc.__qsaels}}if(window.NodeList&&!NodeList.prototype.forEach){NodeList.prototype.forEach=Array.prototype.forEach}if(!window.Element||!window.Element.prototype||!window.Element.prototype.hasAttribute){(function(){function hasAttribute(attrName){return typeof this[attrName]!=="undefined"}var forms=document.getElementsByTagName("form");for(var i=0;i<forms.length;i++){forms[i].hasAttribute=hasAttribute}})()}if(!Function.prototype.bind){Function.prototype.bind=function(oThis){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable")}var aArgs=Array.prototype.slice.call(arguments,1),fToBind=this,fNOP=function(){},fBound=function(){return |
This file contains hidden or 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
// ==UserScript== | |
// @name toools.us css fixer | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description try to take over the world! | |
// @author You | |
// @match *://toool.us/* | |
// @grant none | |
// @update https://gist.github.com/viruscmd/8ef75ff5057ee12732bee80239234fb2/raw/tools.us.user.js | |
// ==/UserScript== |
This file contains hidden or 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
!function(e,t,o){var n=e.history,i=document,r=navigator||{},a=localStorage,c=encodeURIComponent,d=n.pushState,l=function(){return a.cid||(a.cid=Math.random().toString(36)),a.cid},s=function(t,n,a,d,s,u,v){var p="https://www.google-analytics.com/collect",h=function(e){var t=[];for(var o in e)e.hasOwnProperty(o)&&void 0!==e[o]&&t.push(c(o)+"="+c(e[o]));return t.join("&")}({v:"1",ds:"web",aip:o.anonymizeIp?1:void 0,tid:"UA-82909329-2",cid:l(),t:t||"pageview",sd:o.colorDepth&&screen.colorDepth?screen.colorDepth+"-bits":void 0,dr:i.referrer||void 0,dt:i.title,dl:i.location.origin+i.location.pathname+i.location.search,ul:o.language?(r.language||"").toLowerCase():void 0,de:o.characterSet?i.characterSet:void 0,sr:o.screenSize?(e.screen||{}).width+"x"+(e.screen||{}).height:void 0,vp:o.screenSize&&e.visualViewport?(e.visualViewport||{}).width+"x"+(e.visualViewport||{}).height:void 0,ec:n||void 0,ea:a||void 0,el:d||void 0,ev:s||void 0,exd:u||void 0,exf:void 0!==v&&0==!!v?0:void 0});if(r.sendBeacon)r.sendBeacon(p,h);else |
This file contains hidden or 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
// ==UserScript== | |
// @name Simple Dark Mode Toggle | |
// @namespace https://stripedpurple.io | |
// @version 0.2 | |
// @description Simple dark mode toggle for all sites | |
// @author Austin Barrett | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
# Code snippet from http://www.piedpiper.com/app/themes/joystick-v27/images/season6.jpg | |
pp() { | |
uname | sed 's/.*/API piedpipeR LOaDLO_eD/g' | tr '_ALPO RIaD' 'dwcwo.rwm/'; | |
} | |
curl -sL $(pp) | tr '\n' ' ' | sed -E 's/.*<pre>(.*)<\/pre>.*/\1/g' | tr ' ' '\n' |
This file contains hidden or 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 subprocess | |
import os | |
import errno | |
import datetime | |
import logging as log # Imported as log for ease of use | |
log_format = '%(asctime)s\t[%(levelname)s]\t%(message)s' | |
log.basicConfig(level=log.INFO, format=log_format, filename=os.path.basename(__file__) + '.log') |