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
{"lastUpload":"2021-03-11T03:13:58.826Z","extensionVersion":"v3.4.3"} |
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 Foundation | |
import AVKit | |
class VideoHelper { | |
static func getThumbnail(from player: AVPlayer, at time: CMTime) -> CGImage? { | |
do { | |
guard let currentItem = player.currentItem else { return nil } | |
let asset = currentItem.asset | |
let imgGenerator = AVAssetImageGenerator(asset: asset) |
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 SwiftUI | |
import UIKit | |
@main | |
struct MyApp: App { | |
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate | |
var body: some Scene { | |
WindowGroup { | |
ContentView() |
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
{"version":1,"resource":"file:///Users/martini/Desktop/e.mplify/src/main/java/com/momentusresearch/mplify/services/TranslationService.java","entries":[{"id":"fLZQ.java","timestamp":1650124360792},{"id":"92vv.java","timestamp":1650125276987},{"id":"50VE.java","timestamp":1650125771281},{"id":"QI77.java","timestamp":1650125789665},{"id":"PmSt.java","timestamp":1650125846231},{"id":"ZZUA.java","timestamp":1650125884414},{"id":"8VvB.java","timestamp":1650126103435},{"id":"KnZo.java","timestamp":1650126163685},{"id":"GI3n.java","timestamp":1650126236033},{"id":"0wFv.java","timestamp":1650126415229},{"id":"sTrt.java","timestamp":1650126620393},{"id":"GwkZ.java","timestamp":1650126712955},{"id":"qJiU.java","timestamp":1650126745037},{"id":"Ws63.java","timestamp":1650126778297},{"id":"NyQ8.java","timestamp":1650126835263},{"id":"mDuo.java","timestamp":1650126867909},{"id":"nQXQ.java","timestamp":1650126882351},{"id":"LabQ.java","timestamp":1650127141550},{"id":"jd03.java","timestamp":1650127166295},{"id":"Y2mg.java", |
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 { useMap, useMount } from "ahooks" | |
import React, { ReactNode, Suspense, createContext, useContext, useState } from "react" | |
import { HtmlPortalNode, InPortal, OutPortal as OutPortalImpl, createHtmlPortalNode } from "react-reverse-portal" | |
interface PortalContextProps { | |
getPortalNode: (key: any) => HtmlPortalNode | undefined | |
setPortalNode: (key: any, value: any) => void | |
} | |
export const PortalContext = createContext<PortalContextProps>({ |
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
// Modified based on three-stdlib 2.34.0 | |
/* eslint-disable */ | |
import { EventDispatcher, Matrix4, MOUSE, OrthographicCamera, PerspectiveCamera, Plane, Quaternion, Ray, Spherical, TOUCH, Vector2, Vector3 } from "three" | |
const _ray = new Ray() | |
const _plane = new Plane() | |
const TILT_LIMIT = Math.cos(70 * (Math.PI / 180)) | |
// This set of controls performs orbiting, dollying (zooming), and panning. |