Skip to content

Instantly share code, notes, and snippets.

{
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: <Deprecated> Identifiers must be in camelCase
"curly" : false, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"esversion" : 3, // {int}: Specify ECMAScript version to which code must adhere: 3 (old browsers, 5, 6)
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"freeze" : true, // true: Prohibits overwriting prototypes of native objects such as Array, Date and so on
"funcscope" : false, // true: Suppress warnings about declaring variables inside blocks while accessing later from outside e.g. 'function foo() { var bar = 0; }; bar++;'
Buttons:
• GTi9105 / s2ve / Samsung S2+
Recovery mode: Home + Volume Up + Power
Download mode: Home + Volume Down + Power
• Nakasig / Tilapia / Nexus 7C 2012
Nicki / Sony Xperia M C1905
Osprey / Motorola Moto G3:
Recovery mode:
On the Bootloader/Fastboot select Recovery mode.
While holding down the Power button, press the Volume Up button.