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 os import path | |
import cv2 | |
import depthai as dai | |
import numpy as np | |
import mediapipe_utils as mpu | |
from FPS import FPS, now | |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
[System.Serializable] | |
public struct NPrefabRef<T> : IDisposable | |
{ | |
public GameObject root; |
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] | |
name = "rust-service-app" | |
version = "0.1.0" | |
authors = [""] | |
edition = "2018" | |
[dependencies] | |
actix-web = "0.7" | |
actix = "0.7" | |
serde_json = "*" |
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 example | |
import org.apache.commons.math3.geometry.euclidean.twod._ | |
import org.apache.commons.math3.geometry.partitioning.{BoundaryProjection, RegionFactory} | |
import org.apache.commons.math3.geometry.partitioning.Region.Location | |
import org.scalatest._ | |
import scala.collection.JavaConverters._ | |
class GeomTest extends FlatSpec with Matchers { |
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 Dependencies._ | |
lazy val root = (project in file(".")). | |
settings( | |
inThisBuild(List( | |
organization := "com.example.test", | |
scalaVersion := "2.12.7", | |
version := "0.1.0-SNAPSHOT" | |
)), | |
name := "hello-cats", |
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 {Subject} from 'rxjs'; | |
export default class Model { | |
constructor(state) { | |
this.state = state; | |
this.loading = false; | |
this.error = null; | |
this._delta = new Subject(this); | |
this._subs = []; | |
} |
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
extern crate core; | |
use std::sync::atomic::AtomicBool; | |
use std::mem::transmute; | |
use std::sync::atomic::Ordering; | |
pub struct Observer { | |
hidden: Option<*const HiddenState> | |
} |
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
#[derive(PartialEq)] | |
pub enum State { | |
Pending, | |
Resolved, | |
Rejected, | |
} | |
pub struct Promise<T, TErr> { | |
value: Option<Result<T, TErr>>, | |
state: State, |
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
use std::sync::Arc; | |
#[derive(PartialEq)] | |
enum SafePtrState { | |
Pending, | |
Resolved, | |
} | |
struct SafePtrData { | |
s1: SafePtrState, |
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
<PackageReference Include="System.Data.Common" Version="4.3.0" /> | |
<PackageReference Include="System.Data.SqlClient" Version="4.4.0" /> |
NewerOlder