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 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:provider/provider.dart'; | |
import 'package:trtc_demo/debug/GenerateTestUserSig.dart'; | |
import 'package:trtc_demo/models/meeting.dart'; | |
import 'package:tencent_trtc_cloud/trtc_cloud.dart'; | |
import 'package:tencent_trtc_cloud/tx_beauty_manager.dart'; |
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
// ***SOLVED*** | |
var globalStream; | |
navigator.mediaDevices.getUserMedia({ | |
audio: true, | |
video: true | |
}) | |
.then(function(stream) { | |
globalStream = stream; | |
}) | |
.catch(function(err) { |
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> | |
<meta charset="UTF-8" /> | |
<title>5交错着绕X轴旋转的正弦波曲线</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
overflow: hidden; |
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
// ==UserScript== | |
// @name MantisBT Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Copy the text of a link to the clipboard when a button next to it is clicked | |
// @author Gavin | |
// @match http://dist.ius.plus/flyinsono/* | |
// @grant none | |
// ==/UserScript== | |
(function () { |
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
// ==UserScript== | |
// @name Chat Snapshot | |
// @namespace ChatGPT_Plugin | |
// @version 1 | |
// @author Gavin | |
// @description Adds a button to ChatGPT to take a screenshot of the conversation | |
// @match https://chat.openai.com/* | |
// @grant GM_download | |
// @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.0/html2canvas.min.js | |
// ==/UserScript== |
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 'dart:io'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/services.dart'; | |
import 'trtc_cloud_def.dart'; | |
/// @nodoc | |
/// MethodChannel identifier |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
debugShowCheckedModeBanner: false, |
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 'dart:convert'; | |
import 'dart:math'; | |
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
void main() => runApp(const MyApp()); |
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
fetch("http://api2.flyinsono.com/IRemedicalService", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "zh-CN,zh;q=0.9", | |
"content-type": "text/plain", | |
"proxy-connection": "keep-alive" | |
}, | |
"referrer": "http://127.0.0.1:8080/", | |
"referrerPolicy": "strict-origin-when-cross-origin", | |
"body": "{\"jsonrpc\":\"2.0\",\"method\":\"GetMeasureApplicationAsync\",\"params\":[{\"Token\":\"41BAC80D90674B40ACC1A02011821CD0\",\"ApplicationName\":\"Carotid\",\"CategoryName\":\"VAS\",\"MeasureModes\":[\"Tissue\"]}],\"id\":959773799}", |
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
[{ | |
"CarotidScanType": 0, | |
"CarotidScanDirection": 0, | |
"SurfaceFile": "https://flyinsono-bj-1300984704.cos.ap-beijing.myqcloud.com/C80889E875B449A2AD6168C63EB3D901.surface", | |
"MdlFile": "https://flyinsono-bj-1300984704.cos.ap-beijing.myqcloud.com/ED26E08310674E06BAECF9452A9D904C.model", | |
"MeasureImageFiles": [ | |
{ | |
"ImageType": 0, | |
"ImageFile": "https://flyinsono-bj-1300984704.cos.ap-beijing.myqcloud.com/E2AB8D8A22C34805A70B1AD6A2A2A304.jpg" | |
} |