Skip to content

Instantly share code, notes, and snippets.

View matthewbauer's full-sized avatar

Matthew Bauer matthewbauer

View GitHub Profile
// Geolocation support for Uzbl
navigator.geolocation = {};
navigator.geolocation.getCurrentPosition = function(success, error){
if ( Uzbl.run("sh 'zenity --question --text \'This website, " + location.href + ", wants to access your location. Do you want me to give it to them?\'; echo $?'") == '0' ){
success(Uzbl.run("sh 'geoiplookup $(curl -s icanhazip.com) | sed -rn \'s/GeoIP City Edition, Rev 1: [^,]*, [^,]*, [^,]*, [^,]*, ([^,]*), ([^,]*), [^,]*, [^,]*/\1 \2/p\''"));
} else {
error();
}
#!/bin/sh
if [ "$#" != "3" ]
then
echo "$0 username password joinid"
exit
fi
curl -s -c /tmp/roblox -d username="$1" -d password="$2" "https://www.roblox.com/login/dologin.aspx" > /dev/null
echo $uuid | openssl base64 -e -k 00E5A0E6526FAE66C5C1C6D4F16D6180 -in /dev/stdin
#!/bin/bash
# GPL3
# Copyright: 2010
# Matthew Bauer <mjbauer95@gmail.com>
# requires:
# coreutils
# md5sum
# curl
#PCSX2-svn maintainer: Hans-Kristian Arntzen <maister at archlinux.us>
pkgname=pcsx2-svn
pkgver=3120
pkgrel=1
pkgdesc="A PlayStation 2 emulator."
arch=('i686')
url="http://www.pcsx2.net"
license=('GPL')
depends=('bzip2' 'gtk2' 'nvidia-cg-toolkit' 'glew' 'alsa-lib' 'sdl')
install="pcsx2.install"
### Keybase proof
I hereby claim:
* I am matthewbauer on github.
* I am matthewbauer (https://keybase.io/matthewbauer) on keybase.
* I have a public key whose fingerprint is C020 783F 42C1 6A31 78E6 5D46 B3E5 0665 BC09 3D8C
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am matthewbauer on github.
* I am matthewbauer (https://keybase.io/matthewbauer) on keybase.
* I have a public key whose fingerprint is 17AA 2850 8E73 5429 56F4 4592 0006 80A4 D50B FE3F
To claim this, I am signing this object:
function testNonce(nonce) {
window.okay = false;
var script = document.createElement('script');
script.text = 'window.okay = true';
document.appendChild(script);
document.removeChild(script);
return window.okay;
}
function findNonce() {
### Keybase proof
I hereby claim:
* I am matthewbauer on github.
* I am matthewbauer (https://keybase.io/matthewbauer) on keybase.
* I have a public key ASCq9nR3CY_UJ8Ei-PsH-mnG5OYue7zHuFDPKqCCOQHN5Qo
To claim this, I am signing this object: