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 UIKit | |
import CorePlot | |
class ViewController: UIViewController { | |
var plotData = [Double](repeating: 0.0, count: 1000) | |
@IBOutlet var graphView: CPTGraphHostingView! | |
override func viewDidLoad() { | |
super.viewDidLoad() |
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 UIKit | |
import Charts | |
var reading_a = [5,10,15,20,25,30] | |
var reading_b = [55,60,66,54,60,58] | |
var timer = Timer() | |
class LineChart2ViewController: DemoBaseViewController { | |
@IBOutlet var chartView: LineChartView! |
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, { createRef, Fragment } from "react"; | |
import { Button, Popup } from "semantic-ui-react"; | |
class PopupExampleContextControlled extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
input: [1, 3, 6, 10], | |
showPopupIndex: 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
{ | |
"logoAnnotations": [ | |
{ | |
"mid": "/m/0841v", | |
"description": "Walmart", | |
"score": 0.62890065, | |
"boundingPoly": { | |
"vertices": [ | |
{ | |
"x": 60, |
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 com.facebook.react.bridge.ReactContextBaseJavaModule; | |
import com.facebook.react.bridge.ReactApplicationContext; | |
import com.facebook.react.bridge.Promise; | |
import com.facebook.react.bridge.ReactMethod; | |
import com.facebook.react.bridge.WritableMap; | |
import com.facebook.react.bridge.Arguments; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.net.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>QUIZ</title> | |
<script type="text/javascript"> | |
function myFunction() { | |
// First, trying to get access form using it's id | |
var form = document.getElementById("questionForm"); |
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
class MyApp extends Component { | |
... | |
render( | |
return( | |
<View>....</View> | |
) | |
) | |
} | |
//set check frequency options |
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, TouchableOpacity,Dimensions } from "react-native"; | |
import OpenTok, { Subscriber } from 'react-native-opentok'; | |
const sessionId = 'YOUR_OPENTOK_SESSIONID'; | |
const token = 'YOUR_OPENTOK_SUBSCRIBER_TOKEN'; | |
export default class Viewer extends Component<{}> { | |
async componentWillMount() { |
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, TouchableOpacity,Dimensions } from "react-native"; | |
import OpenTok, { Publisher,Subscriber } from 'react-native-opentok'; | |
const sessionId = 'YOUR_OPENTOK_SESSIONID'; | |
const token = 'YOUR_OPENTOK_PUBLISHER_TOKEN'; | |
export default class Publish extends Component<{}> { | |
async componentWillMount() { |
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
<key>NSCameraUsageDescription</key> | |
<string>${PRODUCT_NAME} Camera Usage</string> | |
<key>NSLocationWhenInUseUsageDescription</key> | |
<string></string> | |
<key>NSMicrophoneUsageDescription</key> | |
<string>${PRODUCT_NAME} Microphone Usage</string> | |
<key>OPENTOK_API_KEY</key> | |
<string></string> |
NewerOlder