Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Listing 2-2, Load Shaders From DOM</title>
<meta charset="utf-8">
<script id="shader-vs" type="x-shader/x-vertex">
attribute vec3 aVertexPosition;
void main() {
gl_Position = vec4(aVertexPosition, 1.0);
<meta content="record, sounds, share, sound, audio, tracks, music, soundcloud" name="keywords" />
<meta content="Listen to Devon + AxL - Hotel Stoccarda by AxL: traccia dubstep, grazie per l'ascolto! | Create, record and share the sounds you create anywhere to friends, family and the world with SoundCloud, the world's largest community of sound creators." name="description" />
<link href="http://sandbox-soundcloud.com/axl" rel="author" />
<meta content="width=device-width" name="viewport" />
<meta content="chrome=1" name="X-UA-Compatible" />
<meta content="iframe" name="medium" />
<meta content="soundcloudplayer:sound" property="og:type" />
<meta content="player" property="twitter:card" />
<meta content="http://sandbox-soundcloud.com/axl/devon-axl-hotel-stoccarda" property="og:url" />
<meta content="Devon + AxL - Hotel Stoccarda" property="og:title" />
# easy_install poster
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
import urllib2
# Register the streaming http handlers with urllib2
register_openers()
path="./"
filename="model.dae"