原创 Arduino 連接 Processing 通過 Firmata(for MAC)

來源:https://chennywublog.wordpress.com/2013/11/11/ardunio-processing-firmata-for-mac/   非常感謝 arduino 與 processing 可以通過Fi

原创 Missing iOS Distribution signing identity問題解決

問題:證書過期或者不正確,如下圖 解決辦法: 1、打開鑰匙串 2、把“登錄” 與 “ 系統 ” 裏面的過期證書全部刪掉,如圖 3、接下來就需要更新AppleWWDRCA證書 https://developer.apple.com

原创 Unity3D UDP 服務端例子

來源:http://forum.unity3d.com/threads/windows-udp-voice-recognition-server.172758/ // **********************************

原创 微信接口API之長鏈接轉短鏈接代碼示例

<?php header("Content-Type: text/html; charset=utf-8"); $longurl; if(isset($_POST['longurl'])){ $longurl = $_POST['lon

原创 swfkit打包swf文件步驟(圖文教程)

常用的swf打包工具有flashpacker以及swfkit ,兩者各有優勢 flashpacker方便快捷,簡單易用,缺點就是不支持mp4 flv等視頻文件打包 swfkit 則都支持,它的缺點就是電腦必須按裝flashplayer,且

原创 Processing UDP 服務端 客戶端 程序代碼

服務端代碼: import hypermedia.net.*; UDP udp; void setup() { udp = new UDP( this, 6000 ); udp.listen( true ); } void dr

原创 AS3庫

來自:http://blog.csdn.net/merryken/article/details/7787183/  非常感謝 Here is a round up of some of the most popular Action

原创 Vuforia 在多次AR場景與非AR場景之間切換時可能會出現黑屏的解決方法

在unity 5.3.4中 using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using Vuforia; public cl

原创 Processing長時間播放高清視頻出現NullPointerException 錯誤的解決方法

在processing開發中需要長時間播放視頻時,經常會出現NullPointerException錯誤,可以使用PImage獲取Movie中的每一幀圖像的方式來替代直接在draw中直接使用Movie播放視頻,代碼如下: import p

原创 Kinect V2 + TouchDesigner Test Code Clip

def frameStart(frame): x=op('chopto2')[1,0] op('table1')[1,1]=x op('table1')[2,1]=x y=op('chopto2')[1,1] op('t

原创 wampserver2.5局域網IP訪問配置

1、打開文件 \wamp\bin\apache\apache2.4.9\conf\httpd.conf 2、在278行處找到(也可全文搜索) #   onlineoffline tag - don't r

原创 JavaScript獲取屏幕寬高詳解

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>JavaScript獲取屏幕寬高詳解</title> </head> <body> <ul>

原创 Kinect V2 多關節捕捉應用中break 與 continue的妙用

using UnityEngine; using System.Collections; using UnityEngine.UI; public class UseKinectPosTwoPeople : MonoBehaviour

原创 wampServer3.1.0_x64 局域網ip訪問配置

來自:http://blog.csdn.net/inroll/article/details/78304735  非常感謝!! 找到C:\wamp64\bin\apache\apache2.4.27\conf\httpd.conf 打開

原创 微信小程序-訪問豆瓣電影api400錯誤

今天聽去年九月份的小程序教程,豆瓣api哪裏的請求頭是這樣 header:{‘Content-Type’: ‘application/json’},軟件升級後要改爲header:{‘Content-Type’: ‘json’},不然就報4