Skip to content

Instantly share code, notes, and snippets.

Paul Maček macek

Block or report user

Report or block macek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
paulirish / gist:366184
Created Apr 14, 2010
html5 geolocation with fallback.
View gist:366184
// geo-location shim
// currentely only serves lat/long
// depends on jQuery
// doublecheck the ClientLocation results because it may returning null results
if (geolocation) return;
defunkt / browser
Created Mar 1, 2010
pipe html to a browser
View browser
#!/bin/sh -e
# Usage: browser
# pipe html to a browser
# e.g.
# $ echo '<h1>hi mom!</h1>' | browser
# $ ron -5 man/rip.5.ron | browser
if [ -t 0 ]; then
if [ -n "$1" ]; then
You can’t perform that action at this time.