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 UnityEngine; | |
public class MonoSingleton<T> : MonoBehaviour where T : MonoBehaviour | |
{ | |
private static T _sInstance; | |
public static T Instance | |
{ | |
get | |
{ |
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
#include <iostream> | |
#include "some_header.h" | |
int main() | |
{ | |
inf_int x1(19); | |
inf_int x2("125"); | |
inf_int x3; | |
inf_int x4(-97); | |
inf_int x5("-35"); |
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
public class UpdateManager : MonoSingleton<UpdateManager> | |
{ | |
private string baseUrl = "http://localhost:9876/api/v1/"; | |
private List<LCAPIAssetListResult> remoteAssetList = new List<LCAPIAssetListResult>(); | |
void Awake() | |
{ | |
StartCoroutine(GetAssetListFromServer()); | |
// AssetBundle pipeline: |
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
void Awake() | |
{ | |
StartCoroutine(DictionaryUpdater()); | |
} | |
IEnumerator DictionaryUpdater() | |
{ | |
string dictData = ObscuredPrefs.GetString("DictData"); | |
var dictionaries = JsonConvert.DeserializeObject<List<DictionaryPlayerPrefModel>>(dictData); |
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 logging | |
import os | |
import datetime | |
import click | |
import requests | |
from flask import Flask, request, send_from_directory, abort, jsonify | |
from functools import wraps | |
import config | |
import socket |
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
D:\Arken\Py\py_64_venv\Scripts\python.exe "D:\Program Files\JetBrains\PyCharm 2017.1.4\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 52537 --file D:/Arken/Py/darkflow-master/src/test.py | |
pydev debugger: process 12044 is connecting | |
Connected to pydev debugger (build 171.4694.38) | |
Parsing ./cfg/yolov2.cfg | |
Parsing cfg/yolo.cfg | |
Loading yolov2.weights ... | |
Successfully identified 203934260 bytes | |
Finished in 0.03806471824645996s | |
Model has a coco model name, loading coco labels. |
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
Compiling darkflow/cython_utils/nms.pyx because it changed. | |
Compiling darkflow/cython_utils/cy_yolo2_findboxes.pyx because it changed. | |
Compiling darkflow/cython_utils/cy_yolo_findboxes.pyx because it changed. | |
[1/3] Cythonizing darkflow/cython_utils/cy_yolo2_findboxes.pyx | |
[2/3] Cythonizing darkflow/cython_utils/cy_yolo_findboxes.pyx | |
[3/3] Cythonizing darkflow/cython_utils/nms.pyx | |
running build_ext | |
building 'darkflow.cython_utils.nms' extension | |
Exception in thread Thread-1: | |
Traceback (most recent call last): |
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
#include <stdio.h> // fprintf, sprintf, stderr | |
#include <stdlib.h> // exit | |
#include <math.h> // sqrt | |
#include <GLFW/glfw3.h> | |
#include <Windows.h> | |
// global variables | |
// we'll use global variables, since the GLFW callback functions we will add | |
// later will require access to these variables. |
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
//---------------------------------------------------------------------------- | |
// Cef3D | |
// Copyright (C) 2017 arkenthera | |
// This program is free software; you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation; either version 2 of the License, or | |
// (at your option) any later version. | |
// https://github.com/arkenthera/cef3d | |
//--------------------------------------------------------------------------- |
NewerOlder