Skip to content

Instantly share code, notes, and snippets.

View phaus's full-sized avatar
🦓

Philipp Haussleiter phaus

🦓
View GitHub Profile
@sunnyone
sunnyone / gist:1175673
Created August 27, 2011 18:07
OpenIndiana Update-2
$ sudo pkg set-publisher -O http://pkg.openindiana.org/dev-il/ openindiana.org
$ sudo pkg publisher
PUBLISHER TYPE STATUS URI
openindiana.org (preferred) origin online http://pkg.openindiana.org/dev-il/
opensolaris.org origin online http://pkg.openindiana.org/legacy/
$ sudo pkg image-update
WARNING: pkg(5) appears to be out of date, and should be updated before
running image-update. Please update pkg(5) using 'pfexec pkg install
pkg:/package/pkg' and then retry the image-update.
$ sudo pkg install pkg:/package/pkg
@kylebarrow
kylebarrow / example.html
Created June 23, 2011 06:30
Prevent links in standalone web apps opening Mobile Safari
<!DOCTYPE html>
<head>
<title>Stay Standalone</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="stay_standalone.js" type="text/javascript"></script>
</head>
<body>
<ul>
<li><a href="http://google.com/">Remote Link (Google)</a></li>