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
FROM mirror.gcr.io/library/ubuntu:18.04 | |
ENV DEBIAN_FRONTEND='noninteractive' | |
# Update ubuntu | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get clean |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"time" | |
"github.com/mafredri/cdp" |
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
package reportserv | |
import ( | |
"context" | |
"fmt" | |
"report-server/models" | |
"sync" | |
"time" | |
"github.com/mafredri/cdp" |
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 { Animated, StyleSheet, View, Text, Dimensions } from 'react-native'; | |
import { | |
PanGestureHandler, | |
State, | |
} from 'react-native-gesture-handler'; | |
export default class DraggableBox extends Component { | |
constructor(props) { |
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 { Injectable, EventEmitter } from '@angular/core'; | |
import * as RecordRTC from 'recordrtc'; | |
import * as Lamejs from 'lamejs'; | |
navigator.getUserMedia = | |
navigator['mediaDevices'] && navigator['mediaDevices'].getUserMedia ? | |
navigator['mediaDevices'].getUserMedia : ( navigator['getUserMedia'] || navigator['webkitGetUserMedia'] || navigator['mozGetUserMedia'] || navigator['msGetUserMedia'] ); | |
enum Time { | |
Segundo = 1000, |