Skip to content

Instantly share code, notes, and snippets.

View kidapu's full-sized avatar
:octocat:
On vacation

kidapu kidapu

:octocat:
On vacation
  • 15:25 (UTC +09:00)
View GitHub Profile
@natsupy
natsupy / TextureTools.cs
Last active November 8, 2023 03:59
Crop and resize texture in unity editor! Open it: Press F1
using System.Collections.Generic;
using System.IO;
using System.Collections;
using UnityEditor;
using UnityEngine;
using System;
using System.Threading;
public class Utilities : EditorWindow
{
@voluntas
voluntas / webrtc_for_work.rst
Last active August 14, 2025 09:10
仕事で WebRTC

仕事で WebRTC

日時:2023-01-15
作:@voluntas
バージョン:2023.1
url:https://voluntas.github.io/

この資料は以下の製品の宣伝を含みます。

@kylemcdonald
kylemcdonald / beat-detect-osc.cpp
Last active April 15, 2017 10:43
ofxAubio beat detector sent over OSC.
// Example settings.xml:
//
// {
// "destination": "localhost",
// "port": 9090,
// "device": 2
// }
#include "ofMain.h"
#include "ofEventUtils.h"
@kylemcdonald
kylemcdonald / t-SNE Implementation Comparison.ipynb
Last active December 20, 2017 01:47
Comparison of different t-SNE implementations for speed and results.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@arumani
arumani / AddCameraUsageToInfoPlist.cs
Last active September 12, 2018 04:04
UnityでiOSプロジェクトを書き出した際に、iOS 10でカメラを使う場合に必須の記述をInfo.plistに追加するスクリプト。/Assets/Editor/ 以下に置く
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) {
@sbonfert
sbonfert / root-ro
Last active December 24, 2024 06:19 — forked from niun/root-ro
Read-only Root-FS with overlayfs for Raspian
#!/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.
#
@daitomanabe
daitomanabe / neural-style-gpu-in-ec2.markdown
Last active June 1, 2016 00:57
easy set up for neural-stlye with Cuda7.5 + cuDNN5 in EC2

#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

@chimanaco
chimanaco / of_frequent_code
Last active May 15, 2016 11:33
oF to edit later
/* -------------------------------
DEBUG
------------------------------- */
/* prints Output sentence on screen */
cout << "DONE!: \n";
cout << "Position: " << position << "\n";
ofLog() << " event at " << f << endl;
/* -------------------------------
@felquis
felquis / url-schemes.md
Last active October 15, 2025 23:20
iOS, Android browser apps URL Schemes to handle URL between browsers, and apps..

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?

Chrome

To open on Chrome

<a href="googlechrome://example.com">try it on Chrome</a>

check out Chrome iOS Docs for more information

@satoruhiga
satoruhiga / ofxAutoSaveParam.h
Last active April 3, 2016 14:59
ofxAutoSaveParam.h
#pragma once
/*
USAGE:
ofxAutoSaveParam param;
class ofApp {
public: