PHASES:
Frame the design challenge.
//install openCV contrib: https://cocoapods.org/pods/OpenCV2-contrib | |
/* | |
//in Podfile: | |
target 'MyProject' do | |
pod 'OpenCV2-contrib', '~> 3.2' | |
*/ | |
//pod install | |
#include <opencv2/core/core.hpp> |
let contentfulClient = contentful.createClient({ | |
space: '[space_id]', | |
accessToken: '[access_token]' | |
}); | |
//GET ALL ENTRIES | |
contentfulClient.getEntries().then(entries => { | |
console.log(entries); //gets everything | |
entries.items.forEach(entry => { |
//find all instances of [thing1] NOT followed by [thing2]: | |
^(?!.*thing2).*thing1 |
//DELETE SAVED UNDO HISTORY FOR PROGRAMS | |
/.DocumentRevisions-V100/ |
let modelOutput; | |
fetch('http://localhost:8000/info') | |
.then(response => response.json()) | |
.then(output => { | |
modelOutput = output; | |
// use the output in your project | |
console.log(output); | |
//to copy it from the console, right click the object in chrome and choose 'save as global variable' | |
//then type copy(temp1) and paste the clipboard contents into a .json file |
//disables the current line: | |
// eslint-disable-line | |
//at top of file, disables linting on the entire file: | |
/* eslint-disable */ |
#verify remotes | |
git remote -v | |
#edit git config | |
git config -e |
import React, { Component } from 'react' | |
import { Animated, View, StyleSheet, Image, Dimensions, ScrollView } from 'react-native' | |
const deviceWidth = Dimensions.get('window').width | |
const FIXED_BAR_WIDTH = 280 | |
const BAR_SPACE = 10 | |
const images = [ | |
'https://s-media-cache-ak0.pinimg.com/originals/ee/51/39/ee5139157407967591081ee04723259a.png', | |
'https://s-media-cache-ak0.pinimg.com/originals/40/4f/83/404f83e93175630e77bc29b3fe727cbe.jpg', |