Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
<jedp> getting started https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build | |
<jedp> slightly out of date, but basically the right steps: https://gist.github.com/jedp/3778932 | |
<jedp> where it says mozilla-inbound, use mozilla-central instead | |
<jedp> a file called .mozconfig | |
<jedp> a b2g desktop mozconfig http://www.pastebin.mozilla.org/2752657 | |
<jedp> instead of console.log … used dump("some message\n") | |
<jedp> to build | |
<jedp> ./mach build | |
<jedp> no more make -f client.mk | |
<jedp> don't do that |
this.EventEmmiter = (function() { | |
var events = {}; | |
var UUID = -1; | |
// Function to publish/trigger events | |
function trigger(evt, args) { | |
if (!events[evt]) { | |
return false; |
function inherit(proto, literal) { | |
var result = Object.create(proto); | |
for (var prop in literal) { | |
if (literal.hasOwnProperty(prop)) { | |
result[prop] = literal[prop]; | |
} | |
} | |
return result; | |
} |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
HTTP provides two ways for servers to control client-side caching of page components:
This breaks down as follows:
{ | |
"id": "some_id", | |
"version": "verson_no", | |
"timstamp": "timestamp_at_which_product_was_last_modified", | |
"payload": [ | |
{ | |
"startIndex": 10, | |
"itemsPerPage": 10, | |
"totalResults": 12, | |
"entry": [ |