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, {PropTypes} from 'react'; | |
import {connect} from 'react-redux'; | |
import {bindActionCreators} from 'redux'; | |
class $NAME extends React.Component { | |
constructor(props, context) { | |
super(props, context); | |
} | |
render() { | |
return ( |
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, {PropTypes} from 'react'; | |
const $NAME = (props) => { | |
return ( | |
); | |
} | |
$NAME .PropTypes = { | |
myProp: PropTypes.string.isRequired |
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, {PropTypes} from 'react'; | |
class $NAME extends React.Component { | |
render() { | |
return ( | |
); | |
} | |
} |
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'; | |
class $NAME extends Component { | |
render() { | |
return ( | |
); | |
} | |
} |
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import Login from './Login'; | |
import { API, ApiException, dateFormat } from '../Utils/API'; | |
import MapView from 'react-native-maps'; |
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
var Distance = (function () { | |
var toRad = function (num) { | |
return num * Math.PI / 180 | |
} | |
return function Distance(start, end, options) { | |
options = options || {} | |
var radii = { |
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
require 'fcm' | |
class FcmTokenController < ApplicationController | |
def get_token | |
fcm = FCM.new("AIzaSyCdW3J2UFO5gM1j78w2Jc3rOVa8ADlbE3I") | |
registration_ids= ['cHOklBgG1hc:APA91bEy505QNSG4GxsEph9hOPkpJQEQdDzBwn5pRiWik6iWlwTuSrfysxHlL81YZMcN9wG-Dyr-tjL0Ucl9J3admf8DVnH47vOuNhd1hE5-SvDrzFnipj01wdUEJwt8lER3p8Y_zefe'] | |
options = {data: {score: "123"}} | |
fcm.send(registration_ids, options) | |
end |
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 { | |
StyleSheet, | |
Text, | |
View, | |
TextInput, | |
Animated, | |
Platform | |
} from 'react-native' |
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
public class SMSBackgroundService extends BroadcastReceiver { | |
public event EventHandler<String> OnCodeReceived; | |
public override void OnReceive(Context context, Android.Content.Intent intent) { | |
if ((intent.Action != "android.provider.Telephony.SMS_RECEIVED")) { | |
return; | |
} | |
SmsMessage[] smsMessages; |
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
/9j/4AAQSkZJRgABAQEASABIAAD//gBCRmlsZSBzb3VyY2U6IGh0dHA6Ly9wZXNxdWlzYS5sYS93 | |
aWtpL0FycXVpdm86TmVnYW9fZGFfcGljb25hLmpwZ//bAEMABgQFBgUEBgYFBgcHBggKEAoKCQkK | |
FA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMBBwcHCggKEwoK | |
EygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKP/A | |
ABEIAcABLAMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAFAgMEBgcBAAj/xABDEAACAQIF | |
AgQEBAUDBAEDAwUBAgMEEQAFEiExQVEGEyJhFHGBkQcjMqFCscHR8BVS4SQzYvEWCHKCJTSSNUNj | |
c6L/xAAaAQACAwEBAAAAAAAAAAAAAAABAgADBAUG/8QAKBEAAgICAgICAgMBAAMAAAAAAAECEQMh | |
EjEEQRNRBSIyYXEjBhSB/9oADAMBAAIRAxEAPwDR4s7QKglooyETy1seRbYG/bc45FnCxOjxUaKy | |
ElTrvbi3TpYcYEaSPfC9OO58UDkc5BVc5KkaKaMcc79CLccb3x5M3a4/IRbHWGQlTq02ue/yt0wL | |
GOgHpifFAnORNjzKSOYvp1roSMKzE7KQRc9dx++FPmTedM4hQmTTfUS1yp2Ldz77YgBScKI74Pxw |
OlderNewer