This file contains 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
if (!result.cancelled) { | |
this.setState({ image: result.uri }) | |
let base64Img = `data:image/jpg;base64,${result.base64}` | |
//Add your cloud name | |
let apiUrl = 'https://api.cloudinary.com/v1_1/<your_cloud_name>/image/upload'; | |
let data = { | |
"file": base64Img, |
This file contains 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
pickImage = async () => { | |
let result = await ImagePicker.launchImageLibraryAsync({ | |
allowsEditing: true, | |
aspect: [4, 3], | |
base64: true | |
}); | |
if (!result.cancelled) { | |
this.setState({ image: result.uri }) | |
This file contains 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 React, { Component } from 'react'; | |
import { View, StyleSheet, TouchableOpacity, Image } from 'react-native'; | |
import { Constants, ImagePicker } from 'expo'; | |
export default class App extends Component { | |
state = { | |
image: null, | |
}; |
This file contains 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
@extends('layouts.master') | |
@section('content') | |
<script type="text/javascript"> | |
// script to send sms | |
function sendSMS(tripid) | |
{ |
This file contains 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
0x18792D17f81315C4CbA99368dE54a93ac9d93214 |
This file contains 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
<div class='main-div'> | |
<h1>jQuery Tutorial</h2> | |
<p>Some lorem ipsum text</p> | |
<div class='child-div'> | |
<h1>Sub Heading</h1> |
This file contains 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
<div class='main-div'> | |
<h1>jQuery Tutorial</h2> | |
<p id="lesson3">Some lorem ipsum text</p> | |
<div class='child-div'> | |
<h1>Sub Heading</h1> |
This file contains 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
<div> | |
<h1>jQuery Tutorial</h2> | |
<p id="lesson3">Lorem ipsum text</p> | |
<div class="child-div"> | |
<p class="lorem">Some lorem ipsum text</p> |
This file contains 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
<div> | |
<h1>jQuery Tutorial</h2> | |
<p id="lesson3">Lorem ipsum text</p> | |
<p class="lorem">Some lorem ipsum text</p> | |
</div> |
This file contains 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
<div> | |
<h1>jQuery Tutorial</h2> | |
<p id="lesson3">Lorem ipsum text</p> | |
<a href=''>www.google.com</a> | |
</div> |
NewerOlder