This sets you up to make two separate targets:
- One for a desktop [simulator] [1]
- One for the ZTE [device] [2]
These are the moving parts:
- [mozilla-inbound repo] [3] clone (hg)
- [gaia repo] [4] fork (git)
- [B2G project clone] [5] (git)
| /* | |
| * Copyright (c) 2010 Tobias Schneider | |
| * This script is freely distributable under the terms of the MIT license. | |
| */ | |
| (function(){ | |
| var UPC_SET = { | |
| "3211": '0', | |
| "2221": '1', | |
| "2122": '2', |
| /* | |
| * def.js: Simple Ruby-style inheritance for JavaScript | |
| * | |
| * Copyright (c) 2010 Tobias Schneider | |
| * This script is freely distributable under the terms of the MIT license. | |
| * | |
| * | |
| * Example: | |
| * | |
| * def ("Person") ({ |
| var HTTPParser = process.binding('http_parser').HTTPParser; | |
| var net = require('net'); | |
| var path = require('path'); | |
| var sys = require('sys'); | |
| var Worker = require('webworker/webworker').Worker; | |
| var VHOSTS = ['foo.bar.com', 'baz.bizzle.com']; | |
| var WORKERS = {}; | |
| VHOSTS.forEach(function(vh) { |
| .mouse{ | |
| position: absolute; | |
| background-image: url('../images/cursor.png'); | |
| width: 15px; | |
| height: 22px; | |
| z-index: 100; | |
| } |
| # | |
| # Cookbook Name:: nodejs | |
| # Recipe:: default | |
| # | |
| if ['solo'].include?(node[:instance_role]) | |
| nodejs_file = "node-v0.1.101.tar.gz" | |
| nodejs_dir = "node-v0.1.101" | |
| nodejs_url = "http://nodejs.org/dist/#{nodejs_file}" |
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://gist.github.com/tammomueller/5769498/raw/7a1a21c6c437484c07d45147faad5f7ad480e6e2/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |