##Ubuntu Server
sudo apt-get install g++ curl libssl-dev apache2-utils git-core make
cd /usr/local/src
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz
tar -xvzf node-v0.10.28.tar.gz
cd node-v0.10.28
var foo = true; | |
//var [nombre] = [valor] ; |
var foo = false; // Correcto: asigno a foo el valor literal false | |
false.miPropiedad; // Incorrecto | |
false.miMetodo(); // Incorrecto | |
false = true; // Incorrecto | |
true = "algun texto"; // Incorrecto |
var juego = (function(){ | |
var reqAnimId, | |
canvas, | |
contexto, | |
canvasBuffer, | |
contextoBuffer; | |
function actualizar() { | |
//actualizaciones del estado | |
} |
var isClient = (typeof global === "undefined") ? true : false; | |
(function(arkanoid) { | |
var arkanoid = arkanoid || {}; | |
if (!isClient){ | |
arkanoid.Ball = require('./Ball.js'); | |
arkanoid.Padd = require('./Padd.js'); | |
} |
Download and install:
Only versions
e
ord
DO NOT USEk
C:\Program Files (x86)\Java\jre7\bin
APIs & auth
-> Credentials
Create New Key
-> Server Key
-> Put the public IP or domain where the server remains (for testing a 0.0.0.0/0.
can be used)APIs & auth
-> APIs
-> Look for Google Cloud Messaging for Android and turn it ON
API key
generatedThen go ot Google Developers Console at GooglePlay
<!-- iPhone and iPod touch --> | |
<gap:splash src="Default.png" gap:platform="ios" width="320" height="480" /> | |
<gap:splash src="[email protected]" gap:platform="ios" width="640" height="960" /> | |
<!-- iPhone 5 / iPod Touch (5th Generation) --> | |
<gap:splash src="[email protected]" gap:platform="ios" width="640" height="1136" /> | |
<!-- iPad --> | |
<gap:splash src="Default-Portrait.png" gap:platform="ios" width="768" height="1024" /> | |
<gap:splash src="Default-Landscape.png" gap:platform="ios" width="1024" height="768" /> |
Install HAXE 3.1.1 since 3.1.3 (latest right now) won't work with OpenFL
HelloWorld.hx
Enter grooveshark, open console and paste the code
window.setInterval(function(){
var modal = $(".lightbox-interactionTimeout");
if (modal.is(":visible")){
$("#lightbox-footer-left>a", modal).click();
}
}, 5000);