This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "RCTCameraManager.h" | |
#import "RCTCamera.h" | |
#import "RCTBridge.h" | |
#import "RCTEventDispatcher.h" | |
#import "RCTUtils.h" | |
#import "RCTLog.h" | |
#import "UIView+React.h" | |
#import <AssetsLibrary/ALAssetsLibrary.h> | |
#import <AVFoundation/AVFoundation.h> | |
#import <ImageIO/ImageIO.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
NameError Traceback (most recent call last) | |
/home/ubuntu/deepdream/dream.ipynb in <module>() | |
23 { | |
24 "cell_type": "code", | |
---> 25 "execution_count": null, | |
26 "metadata": { | |
27 "collapsed": true | |
NameError: name 'null' is not defined |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Saved as NSData | |
kMDItemAperture = 2.52606882168926 | |
kMDItemBitsPerSample = 32 | |
kMDItemColorSpace = "RGB" | |
kMDItemContentCreationDate = 2015-07-07 02:18:12 +0000 | |
kMDItemContentModificationDate = 2015-07-07 02:18:12 +0000 | |
kMDItemContentType = "public.jpeg" | |
kMDItemContentTypeTree = ( | |
"public.jpeg", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "RCTCameraManager.h" | |
#import "RCTCamera.h" | |
#import "RCTBridge.h" | |
#import "RCTEventDispatcher.h" | |
#import "RCTUtils.h" | |
#import "RCTLog.h" | |
#import "UIView+React.h" | |
#import <AssetsLibrary/ALAssetsLibrary.h> | |
#import <AVFoundation/AVFoundation.h> | |
#import <ImageIO/ImageIO.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PersistentStore extends Store { | |
handle (state, type, payload) { | |
const newState = super.handle(state, type, payload) | |
this.setItem(this.key, newState.toJS()) | |
return newState | |
} | |
async setPersistedStateAsync (reactor) { | |
debugger | |
const persistedState = await this._getPersistedStateAsync() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error-guard.js:79Error: | |
stack: ReferenceError: process is not defined | |
at keyMirror (http://localhost:8081/index.ios.bundle:14027:21) | |
at http://localhost:8081/index.ios.bundle:13934:25 | |
at require (http://localhost:8081/index.ios.bundle:245:25) | |
at http://localhost:8081/index.ios.bundle:13714:22 | |
at require (http://localhost:8081/index.ios.bundle:245:25) | |
at http://localhost:8081/index.ios.bundle:13567:24 | |
at require (http://localhost:8081/index.ios.bundle:245:25) | |
at http://localhost:8081/index.ios.bundle:13487:47 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function (.*?) \((.*)\) | |
exports.\1 = \1\nfunction \1(\2) | |
import \* as (\w*) from ('.*') | |
var \1 = require(\2) | |
import (\{(.|\n)*?default as (.*)\}) from (.*) | |
var \3 = require(\4)\nvar \1 = \3 | |
\n *default as (.*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var pull = require('pull-stream') | |
var net = require('net') | |
var toStream = require('pull-stream-to-stream') | |
var rimraf = require('rimraf') | |
rimraf.sync('./following1.db') // delete the db from last time | |
var ssb1 = require('../create')('./following1.db') | |
var feed1 = ssb1.createFeed() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var pull = require('pull-stream') | |
var net = require('net') | |
var toStream = require('pull-stream-to-stream') | |
var rimraf = require('rimraf') | |
rimraf.sync('./following1.db') // delete the db from last time | |
var ssb1 = require('../create')('./following1.db') | |
var feed1 = ssb1.createFeed() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 'use strict'; | |
// An app that has items and stories. | |
// Items have properties: name, weight, description. | |
// Stories have properties: title, content, item | |
// Stories contain a widget for their item | |
// The add item screen shows this widget, live updating with a binding to the form. | |
// The same widget template code being used on both screens. | |
// Screens: story detail, add/edit story, add/edit item | |
var counterA = 0; |