Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/sudo sh
## ruby_revealer.sh -- decrypt obfuscated GHE .rb files. 2.0.0 to 2.3.1+.
## From `strings ruby_concealer.so`:
##
## > This obfuscation is intended to discourage GitHub Enterprise customers
## > from making modifications to the VM.
##
## Well, good, as long as its not intended to discourage *me* from doing this!
@gsbabil
gsbabil / keybase.md
Created August 2, 2016 02:50
keybase.md

Keybase proof

I hereby claim:

  • I am gsbabil on github.
  • I am gsbabil (https://keybase.io/gsbabil) on keybase.
  • I have a public key ASB-FrnavpM-ni3G9LEuYF4WNVEvNsZ3it9caStijFC8Owo

To claim this, I am signing this object:

function isHidden(el) {
return (el.offsetParent === null)
}
function detect() {
n = parseInt(target.firstChild.nodeValue);
if (!isHidden(target) && !isNaN(n) && is_prime(n) === 'prime') {
console.log('>> ' + n + ' is prime, answering "Yes" ...');
yes.style.color = 'white';
no.style.color = '#aa3939';
yes.click();
@gsbabil
gsbabil / Disable_HP_Hotkey_Popup.reg
Created December 12, 2012 03:09
Disable HP EliteBook Laptop Keyboard HotKey Popups
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Hewlett-Packard\HP Hotkey Support]
@=""
"VolumeOSD"=dword:00000000
"AmbientLightSensorOSD"=dword:00000000
"BrightnessOSD"=dword:00000000
"CapsLockOSD"=dword:00000000
"NumLockOSD"=dword:00000000
"ScrollLockOSD"=dword:00000000