Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Solving puzzles

Kenny stickerboy

👨‍💻
Solving puzzles
View GitHub Profile
@stickerboy
stickerboy / halo.support.css
Last active Jan 14, 2020
Halo Support CSS
View halo.support.css
body {
background-color: #f6f6f6;
color: #3e3e3e;
}
a {
color: #1572a4 !important;
}
a:hover {
color: #ffae00 !important;
}
@stickerboy
stickerboy / regex
Created Apr 30, 2018
Regex Replace HTML parameters
View regex
^( x=")([\d]+)(") (y=")([\d]+)(")$
View hide.twitter.moments.js
// ==UserScript==
// @id HideMoments
// @name Hide Twitter Moments
// @version 1.0
// @namespace
// @author stckrboy
// @description
// @include https://twitter.com/*
// @run-at document-end
// ==/UserScript==
@stickerboy
stickerboy / get-win7-productkey.vbs
Last active Aug 29, 2015 — forked from eyecatchup/get-win7-productkey.vbs
VBS Script to get the Windows(R) 7 Product Key from a PC's registry.
View get-win7-productkey.vbs
' VBS Script to get the Windows(R) 7 Product Key from a PC's registry.
'
' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC.
' Now, when you double-click the local script file an alertbox pops up
' displaying the product key stored in the machine's Windows registry.
Set WshShell = WScript.CreateObject("WScript.Shell")
KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
MsgBox ExtractKey(WshShell.RegRead(KeyPath))
@stickerboy
stickerboy / gist:9002843
Created Feb 14, 2014
Windows 8 style password reveal
View gist:9002843
$(".reveal").mousedown(function() {
$(".pwd").replaceWith($('.pwd').clone().attr('type', 'text'));
})
.mouseup(function() {
$(".pwd").replaceWith($('.pwd').clone().attr('type', 'password'));
})
.mouseout(function() {
$(".pwd").replaceWith($('.pwd').clone().attr('type', 'password'));
});
You can’t perform that action at this time.