Skip to content

Instantly share code, notes, and snippets.

View nikitph's full-sized avatar
:electron:
CTO @Makua Building a better world with tech .... and empathy

Nikit phadke nikitph

:electron:
CTO @Makua Building a better world with tech .... and empathy
View GitHub Profile
/**
* Created by nikitph on 8/6/17.
*/
import React, { Component } from 'react'
import { View, TouchableHighlight, Text, Image } from 'react-native'
import style from './style'
class AgendaItem extends Component {
render () {
<View className="address">
<Text style={globalStyles.formSubTitle}>Address</Text>
<TextInput
style={globalStyles.textInput}
placeholderTextColor='white'
placeholder="Street Address"
onChangeText={ (value) => this.handleChange(value, 'street') } />
<View style={globalStyles.formAddress2ndRow}>
<View style={globalStyles.formAddressItem}>
<TextInput
import React, {Component} from 'react';
import {
View,
Text,
Image,
TouchableHighlight,
ScrollView
} from 'react-native';
import Carousel from 'react-native-snap-carousel';
import React, { Component } from 'react'
import { updateProfile, capitalizeWord } from '../../helpers/form'
import { database } from '../../helpers/firebase'
import actions from '../../redux/actions'
import store from '../../redux/store'
import { verifyAddress } from '../../helpers/email'
import { View, Text, TextInput, AsyncStorage, ScrollView } from 'react-native'
import RadioForm from 'react-native-simple-radio-button'
import style from './style'
import colorsVariables from '../../styles/variables'
export function sendEmail3 (street, city, state, zipcode, result) {
const apiKey = 'AIzaSyAJsjUXXov9ixQRedr2NKlF639v2oDjTBk';
console.log(street);
console.log(encodeURIComponent(street));
return fetch('https://maps.googleapis.com/maps/api/geocode/json?new_forward_geocoder=true&strictbounds&' +
'address=' + (street) + '&components=postal_code:' + ((zipcode).toString()) + '|locality:' + (city) +
'|administrative_area:' + (state) + '&key=' + apiKey).then((response) => {
console.log(response);
import React, {Component} from 'react';
import {
View,
TouchableHighlight,
Text,
Image,
LayoutAnimation
} from 'react-native';
import Carousel from 'react-native-snap-carousel';
import { deviceDimensions } from '../../styles';
<View style={{flexDirection:'row'}}>
<View style={{flex:0.9}}>
<Accordion
sections={SECTIONS}
underlayColor={'white'}
renderHeader={()=><View style={{flexDirection:'row', flexWrap: styl }}>{specialtyTags}
</View>}
renderContent={()=><View style={{flexDirection:'row', flexWrap: 'wrap'}}>{specialtyTags}</View>}
/>
import React, { Component } from 'react';
import {
View,
TouchableHighlight,
Text,
StyleSheet
} from 'react-native';
import { getHostEvents, generateTeasers } from '../../helpers/events';
import React, { Component } from 'react';
import {
View,
TouchableHighlight,
Text,
Image
} from 'react-native';
import { deviceDimensions } from '../styles';
import Header from '../components/Header';
@nikitph
nikitph / desc
Created September 7, 2016 21:17
ssh digital ocean github
private key upload to DO
public to github