Linux installation notes (tested under Ubuntu 12.04LTS), assuming VirtualBox is already installed on host.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| buttons: ['formatting','bold','italic','|','unorderedlist','orderedlist','|','link','image','video','|','html'], | |
| plugins: ['fullscreen', 'wordcount','video'], | |
| toolbarFixedBox: true, | |
| formatting : ['p', 'h2', 'h3', 'h4', 'blockquote'], | |
| formattingAdd: [ | |
| { | |
| tag: 'p', | |
| title: 'Standfirst', | |
| class: 'standfirst' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { | |
| // no easing, no acceleration | |
| linear: function (t) { return t }, | |
| // accelerating from zero velocity | |
| easeInQuad: function (t) { return t*t }, | |
| // decelerating to zero velocity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="jquery-1.6.1.min.js"></script> | |
| <script src="socket.io/socket.io.js"></script> | |
| <script> | |
| var socket = new io.Socket(null,{port:8080}); | |
| socket.connect(); | |
| socket.on('message',function(obj){ | |
| switch(obj.tipo){ | |
| case 'imagen': | |
| img = document.getElementById('stream'); | |
| img.src=""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * JavaScript implementation of a Proxy class. | |
| **/ | |
| function Proxy(p_target) | |
| { | |
| var self = this; | |
| self.target = p_target; | |
| // Access target's properties | |
| self.get = function (p_property) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <project name="tutorialProject" default="prod" basedir="/Users/addy/buildTut/"> | |
| <description>Client-side ANT build file example</description> | |
| <target name="-load.properties" | |
| description="Set properties for this build"> | |
| <!--YUI Compressor location--> | |
| <property name="yui.dir" value="${basedir}/yuicompressor/build/yuicompressor-2.4.2.jar"/> | |
| <!--Source JS dir--> |