###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
var Index = React.createClass({ | |
getInitialState: function () { | |
return { | |
lastPress: 0 | |
} | |
}, | |
onPress: function () { | |
var delta = new Date().getTime() - this.state.lastPress; |
/* | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, user = require('./routes/user') | |
, common = require('./routes/common') | |
, fs = require('fs') | |
, http = require('http') | |
, util = require('util') |
import React, { Component } from 'react'; | |
import { View, StyleSheet, Text } from 'react-native'; | |
import { TabViewAnimated, TabBar } from 'react-native-tab-view'; | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
marginTop: 20, | |
}, | |
tabbar: { |
import React, { Component } from 'react'; | |
import {View,Text,Image,TouchableOpacity,ScrollView,Modal} from 'react-native' | |
import {Colors,Metrics} from '../../Constants' | |
import Icon from 'react-native-vector-icons/FontAwesome' | |
import LandingScreenCard from '../../Components/Cards/LandingScreenCard' | |
import Button from '../../Components/MaterialComponents/Button' | |
import ModalScreen from '../../Components/ModalScreen' | |
import {Actions} from 'react-native-router-flux' | |
import SearchScreen from '../SearchScreen' |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
//This is a Redacted version to be used as a benchmark/example for React Native Router Flux | |
import React, { | |
Component, | |
StatusBar, | |
Text, | |
View, | |
StyleSheet, | |
PixelRatio, | |
} from 'react-native'; |
server { | |
location / { | |
proxy_pass http://127.0.0.1:3000; | |
} | |
} |
import React, { Component } from 'react'; | |
import { Text, View, StyleSheet ,Image} from 'react-native'; | |
import { Constants } from 'expo'; | |
import { LinearGradient } from 'expo'; | |
// You can import from local files | |
import AssetExample from './components/AssetExample'; | |
// or any pure javascript modules available in npm |