To start the emulator go to Android/Sdk/tools and run:
./android avd
To enable logging:
adb logcat | grep ReactNativeJS
Starting in the project docced elsewhere but basically:
| c = console.log.bind console | |
| Imm = require 'immutable' | |
| EventEmitter = require 'events' | |
| class Emitter extends EventEmitter | |
| Dispatch = new Emitter() | |
| side__effects = require('./side__effects__.coffee').amon_tobin({ Dispatch }) | |
| reducer = require('./reducer__.coffee').default | |
| module.exports = ({ primus }) -> | |
| initial__state = Imm.Map |
| idea__000 = " | |
| Return of analog , | |
| plumbing revolution, | |
| unhackable cars (remove from IoT) (remove connectivity ) |
| partial alphanumeric_keys | |
| xkb_symbols "dvorak" { | |
| name[Group1]= "English (Dvorak)"; | |
| key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; | |
| key <AE01> { [ 1, exclam ] }; | |
| key <AE02> { [ 2, at ] }; | |
| key <AE03> { [ 3, numbersign, U03C0 ] }; |
| c = console.log.bind console | |
| func_001 = (fn1, fn2, fn3) -> | |
| fn1() | |
| fn2() | |
| fn3() | |
| func_001( | |
| -> | |
| c "argfunc1" |
| # say we have width given ; screen width | |
| width = 360 | |
| image_size = .222222 * width | |
| container_size = .33333333333 * width | |
| #the amount to shift left | |
| left_var = (.5 * container_size) - (.5 * image_size) |
| c = -> console.log.apply console, arguments | |
| test_rayy = [[3], [33, 88,[3939, 393], 83333], 8938, 93838] | |
| exports.flatten = cursive_flatten = (acc, rayy) -> | |
| for item in rayy | |
| if Object.prototype.toString.call(item) is '[object Array]' | |
| acc = arguments.callee(acc, item) | |
| else |
| sudo apt-get install python-glade2 python-appindicator | |
| git clone https://github.com/Kilian/f.lux-indicator-applet.git | |
| cd f.lux-indicator-applet | |
| chmod +x setup.py | |
| sudo ./setup.py install | |
| fluxgui |
| exports.rev = rev = (str) -> | |
| rayy = str.split '' | |
| idx = 0 | |
| jdx = rayy.length - 1 | |
| while idx < jdx | |
| cursor = rayy[idx] | |
| rayy[idx] = rayy[jdx] | |
| rayy[jdx] = cursor | |
| idx++ | |
| jdx-- |
To start the emulator go to Android/Sdk/tools and run:
./android avd
To enable logging:
adb logcat | grep ReactNativeJS
Starting in the project docced elsewhere but basically:
| c = -> console.log.apply console, arguments |