Skip to content

Instantly share code, notes, and snippets.

View stripedpurple's full-sized avatar
💭
📷

Nixua stripedpurple

💭
📷
View GitHub Profile
!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
// ==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';
// ==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==
@stripedpurple
stripedpurple / cbr2pdf.sh
Created April 18, 2019 02:49
Converts CBRs (Comic Book Archives) to PDFs
#!/bin/bash
[[ $(which unrar) != /* ]] && {
echo Please install unrar
exit 1
}
[[ $(which convert) != /* ]] && {
echo Please install imagemagick
exit 1
(function () {
var modal = document.createElement('div');
modal.id = 'pihole-modal';
modal.style.cssText =
"background: rgba(0,0,0,0.5); \
position: fixed; \
width: 100%; \
height: 100%; \
top: 0; \
left: 0; \
^(.+[-_.])??adse?rv(er?|ice)?s?[0-9]*[-.]
^(.+[-_.])??m?ad[sxv]?[0-9]*[-_.]
^(.+[-_.])??xn--
^adim(age|g)s?[0-9]*[-_.]
^adtrack(er|ing)?[0-9]*[-.]
^advert(s|is(ing|ements?))?[0-9]*[-_.]
^aff(iliat(es?|ion))?[-.]
^analytics?[-.]
^banners?[-.]
#!/bin/bash
#
# Startup script for a node project
#
# require forever to be installed
#
# chkconfig: - 84 16
# description: node project
# Source function library.
// ==UserScript==
// @name DC Universe Capture Modifier
// @namespace http://stripedpurple.io
// @version 2019.01.03.1
// @description makes css tweaks for my benafit
// @author Austin Barrett
// @match *://www.dcuniverse.com/videos/watch/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Snahp Link Copier
// @namespace http://stripedpurple.io
// @version 2018.12.30.2
// @description adds copy button to Snahp link list
// @author Austin Barrett
// @match *://links.snahp.it/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Instagram Downloader
// @namespace http://stripedpurple.io
// @version 2018.12.29.2
// @description Download images from instagram. This was created so that I can test lightroom presets and LUTs on existing photos.
// @author Austin Barrett
// @match *://www.instagram.com/*
// @grant none
// ==/UserScript==