日時: | 2023-01-15 |
---|---|
作: | @voluntas |
バージョン: | 2023.1 |
url: | https://voluntas.github.io/ |
この資料は以下の製品の宣伝を含みます。
using System.Collections.Generic; | |
using System.IO; | |
using System.Collections; | |
using UnityEditor; | |
using UnityEngine; | |
using System; | |
using System.Threading; | |
public class Utilities : EditorWindow | |
{ |
日時: | 2023-01-15 |
---|---|
作: | @voluntas |
バージョン: | 2023.1 |
url: | https://voluntas.github.io/ |
この資料は以下の製品の宣伝を含みます。
// Example settings.xml: | |
// | |
// { | |
// "destination": "localhost", | |
// "port": 9090, | |
// "device": 2 | |
// } | |
#include "ofMain.h" | |
#include "ofEventUtils.h" |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.IO; | |
using UnityEditor.iOS.Xcode; | |
public class AddCameraUsageToInfoPlist { | |
[PostProcessBuildAttribute(99)] | |
public static void OnPostprocessBuild(BuildTarget target, string buildPath) { |
#!/bin/sh | |
# | |
# Read-only Root-FS for Raspian | |
# | |
# Modified 2016 by Stefan Bonfert to make it compatible with Raspbian | |
# Jessie (vanilla). | |
# | |
# Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with | |
# overlayfs integrated in Linux Kernel >= 3.18. | |
# |
#neural-style with Cuda7.5 + cuDNN5 in EC2
if you want to skip installing nvidia driver and cuda7.5,
use this Ubuntu 14 AMI.
https://aws.amazon.com/marketplace/pp/B01EYKBEQ0
(Nvidia Drivers, Cuda 7.5 Toolkit, cuDNN pre-installed with Nvidia Drivers, Cuda 7.5 Toolkit, cuDNN 4, TensorFlow, and Jupyter to leverage Nvidia GRID instances)
g2.2xlarge or better (GPU instance)
Don't forget to make your root partition size bigger.
In case you want to install everything by yourself
/* ------------------------------- | |
DEBUG | |
------------------------------- */ | |
/* prints Output sentence on screen */ | |
cout << "DONE!: \n"; | |
cout << "Position: " << position << "\n"; | |
ofLog() << " event at " << f << endl; | |
/* ------------------------------- |
Assume the user is on a mobile device iOS Safari (Or other browser), but you want a link to open into any other specific mobile browser app like Chrome, Safari, Firefox, Opera, Arc... How do you do that?
To open on Chrome
<a href="googlechrome://example.com">try it on Chrome</a>
check out Chrome iOS Docs for more information
#pragma once | |
/* | |
USAGE: | |
ofxAutoSaveParam param; | |
class ofApp { | |
public: |