Skip to content

Instantly share code, notes, and snippets.

View nickdesaulniers's full-sized avatar

Nick Desaulniers nickdesaulniers

View GitHub Profile
@rjz
rjz / notes.md
Last active August 29, 2015 13:57
Notes from Nick Desaulniers on Convergence of the Browser and the OS

Convergence of the Browser and OS

Nick Desaulniers (Open Source @ Mozilla)

  • [What does "Open Source" mean to me?][1]

What would a desktop environment look like if it were implemented entirely in a browser?

<scene>
<group translateY="0" rotateY="-0.05">
<!-- ground -->
<cube scaleX="2" scaleY="0.25" scaleZ="0.25" translateY="0" translateX="0" translateZ="0"/>
<cube scaleX="2" scaleY="0.25" scaleZ="0.25" translateY="0" translateX="0.87" translateZ="1" rotateY="1.57"/>
<cube scaleX="2" scaleY="0.25" scaleZ="0.25" translateY="0" translateX="0" translateZ="2"/>
<cube scaleX="2" scaleY="0.25" scaleZ="0.25" translateY="0" translateX="-0.87" translateZ="1" rotateY="1.57"/>
<!-- tha roof -->
<cube scaleX="2" scaleY="0.25" scaleZ="0.25" translateY="2" translateX="0" translateZ="0"/>
anonymous
anonymous / joshVR.xml
Created August 22, 2015 04:52
joshVR snapshot
<scene>
<group scaleX="0.8" scaleY="0.8" scaleZ="0.8">
<group translateY="1.12" rotateY="2.34" rotateX="0.80">
<group translateZ="0">
<group translateY="0">
<cube translateX="0"/>
<cube translateX="1.03"/>
<cube translateX="2.06"/>
</group>
<group translateY="1.03">
anonymous
anonymous / joshVR.xml
Created August 22, 2015 04:24
joshVR snapshot
<!-- Gabriel Carvalho de Campes-->
<scene>
<group rotateY="-0.55" translateZ="2.03" translateX="-0.62" rotateZ="0.02">
<group translateY="1.75">
<group>
<cube scaleX="0.25" scaleY="0.25" scaleZ="0.25" translateY="0.05"/>
<cube scaleX="0.25" scaleY="0.25" scaleZ="0.25" translateY="0.05" translateX="0.25"/>
<cube scaleX="0.25" scaleY="0.25" scaleZ="0.25" translateY="0.05" translateX="0.50"/>
<cube scaleX="0.25" scaleY="0.25" scaleZ="0.25" translateY="0.05" translateX="0.75"/>
<scene>
<group translateY="0.30" rotateY="-0.84">
<!-- body -->
<cube scaleX="1" scaleY="0.6" scaleZ="2" translateY="2" translateX="-0.43" translateZ="1"/>
<cube scaleX="1" scaleY="0.6" scaleZ="1" translateY="2.3" translateX="-0.43" translateZ="1.5" rotateX="0.2"/>
<cube scaleX="1" scaleY="0.6" scaleZ="1" translateY="2.3" translateX="-0.43" translateZ="0.5" rotateX="-0.2"/>
<cube scaleX="1" scaleY="0.6" scaleZ="1" translateY="2.4" translateX="-0.43" translateZ="1"/>
<cube scaleX="1" scaleY="0.4" scaleZ="0.7" translateY="2.0" translateX="-0.43" translateZ="2.4"/>
<!-- leg FL -->
anonymous
anonymous / joshVR.xml
Created August 22, 2015 03:47
joshVR snapshot
<scene>
<group id="body" rotateY="0.8">
<group id="upperBody" translateY="2"
rotateX="0.0"
rotateY="-0.0">
<!-- X = bow/bullet time -->
<!-- Y = face left/face right -->
<group id="headnneck" translateY="1.5">
<sphere id="head" translateY="0.5" scaleX="0.7" scaleY="0.8" scaleZ="0.8"/>
<cube id="neck" translateY="0.1" scaleX="0.25" scaleZ="0.25" scaleY="0.2"/>
anonymous
anonymous / joshVR.xml
Created August 22, 2015 12:41
joshVR snapshot
<scene>
<!-- Daniel -->
<group translateY="2" rotateY="-3.14">
<!-- <cube scaleX="2.75" translateY="1.0"/> -->
<!-- Each 5 spheres touchs the center one at just one pont ... just a try -->
<sphere translateX="+0.85"/> <!-- Rigth Down -->
<sphere translateX="-0.85"/> <!-- Left Down -->
anonymous
anonymous / joshVR.xml
Created August 23, 2015 14:35
joshVR snapshot
<!-- VR Airplane by David Bryant (dbryant@mozilla.com) -->
<scene>
<!-- Airplane = all parts grouped together -->
<group rotateX="0.23" rotateY="0.00" rotateZ="0.0" translateX="0.0" translateY="0.0" translateZ="0.0">
<!-- Fuselage -->
<group>
<sphere translateY="1.0" scaleX="5.0" scaleZ="0.7" scaleY="0.7"/>
</group>
anonymous
anonymous / joshVR.xml
Created August 24, 2015 11:39
joshVR snapshot
<!-- VR X-Wing by David Bryant (dbryant@mozilla.com) -->
<scene>
<!-- X-Wing = all parts grouped together -->
<group scaleX="1.0" scaleY="1.0" scaleZ="1.0"
rotateX="0.0" rotateY="0.0" rotateZ="0.0"
translateX="0.0" translateY="0.0" translateZ="0.0">
<!-- Fuselage -->
<group>
<!-- Main body -->
@potch
potch / mozApp.js
Created May 3, 2012 16:22
simple open web app lib
// manage a webapp.
// place <link rel="app-manifest" href="path-to-manifest.webapp"> in your <head>
// mozApp.install() attempts installation
// mozApp.uninstall() removes
// mozApp.isRunning() indicates whether the app is currently installed and open
var mozApp = (function() {
var manLink = document.querySelector('link[rel="app-manifest"]'),
manifestURL = manLink.href;
var self = false;