Skip to content

Instantly share code, notes, and snippets.

View rabel001's full-sized avatar

rabel001 rabel001

View GitHub Profile
@rabel001
rabel001 / superStackOverEx.js
Last active May 13, 2018 16:37
Open links contained in answers\responses on StackExchange, StackOverflow, AskUbuntu, and SuperUser in a new tab. Marks all edited links with a unicode checkbox followed by the link in red for visibility.
// ==UserScript==
// @name Add _blank to StackExchange\StackOverflow\Others
// @description Open StackExchange\StackOverflow\Other links in a new tab
// @namespace https://rawgit.com/rabel001/userscripts/master/superStackOverEx.js
// @updateURL https://rawgit.com/rabel001/userscripts/master/superStackOverEx.js
// @downloadURL https://rawgit.com/rabel001/userscripts/master/superStackOverEx.js
// @version 1.00
// @author rabel001
// @include *superuser.com*
// @include *askubuntu.com*
@rabel001
rabel001 / googlevideo.gridstack.uscript.js
Created April 30, 2018 06:21
Change Google Video Page to Grid View Using gridstack.js
// ==UserScript==
// @name Google Video Grid
// @author rabel00l
// @namespace https://github.com/rabel001
// @description Change Google Video Page to Grid using gridstack.js
// @include *google.com/search*&tbm=vid&*
// @grant none
// ==/UserScript==
(() => {
@rabel001
rabel001 / WikiwandCleanup.userscript.js
Last active April 22, 2018 18:39
Removes reference links, changes link color to black, and delete unsightly elements
// ==UserScript==
// @name Wikiwand Cleanup
// @author rabel001
// @description Removes reference links, changes link color to black, and delete unsightly elements
// @include *wikiwand.com*
// @grant none
// ==/UserScript==
window.checkjQuery = setInterval(() => {
if (window.location.pathname !== "/") {
@rabel001
rabel001 / EmbedPowerShell.ahk
Last active November 5, 2024 17:16
AutoHotKey Embed PowerShell
#SingleInstance, force
SetTitleMatchMode 2
SetKeyDelay, 10, 10
SetBatchLines, -1
;---------------------------------------------------------------------------
; Button Library found at https://github.com/AHK-just-me/Class_ImageButton
;---------------------------------------------------------------------------
;#Include ..\lib\Class_ImageButton.ahk
#Include <Class_ImageButton>
@rabel001
rabel001 / AlphabeticalSort.ahk
Last active April 21, 2018 23:33
Sort list alphabetically and exclude "The, the, A, a, An, and an" from sorting.
#SingleInstance Force
list = 10.20.12.6|SERVER19|AGENT2|The Red Server|98.67.8.0|Blue Server|GALAXY01|A Code Box|PRIME01|SECERTSV01|125.76.8.4|LUQUID10|VENUS04|The Azure Server|An Apple TV
Sort, list, F Compare D|
Compare( a , b )
{
arem := RegExReplace(a, ")The |the |A |a |An |an " , "" )
brem := RegExReplace(b, ")The |the |A |a |An |an " , "" )
return arem > brem ? 1 : arem < brem ? -1 : 0
}
var csstext = '.btn-new { margin: auto; } #_div { display: flex; }';
var style = document.createElement('style');
var cssTextNode = document.createTextNode(csstext);
style.type = 'text/css';
style.appendChild(cssTextNode);
style.id = "css-new";
document.head.appendChild(style);
var pagination = document.getElementById('pagination');
var div = document.createElement('div');
div.id = "_div";