Skip to content

Instantly share code, notes, and snippets.

View Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.8'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :production do
gem 'pg'
View cursor.java
package sample.twitter4j;
import java.util.List;
import twitter4j.Paging;
import twitter4j.RateLimitStatus;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
View gist:5458105
var code = {"1957":"GQTUE6746","1958":"NVKXQ7673","1959":"XRFXA4376","1960":"XWLKW4744","1961":"GUQMC6337","1962":"WPLET7399","1963":"EENEK3449","1964":"PAGQJ7479","1965":"DHALU3379","1966":"RELLD9364","1967":"UNTUV4447","1968":"NWFCU9779","1969":"NMQNG9777","1970":"RUWXG6763","1971":"UYXVM4679","1972":"LWWNF9449","1973":"NENTT4393","1974":"MXVEH9666","1975":"MFFMP3974","1976":"HLCRN6499","1977":"LKTVW4947","1978":"XXCJC3367","1979":"PRAWG7934","1980":"NDKJN3776","1981":"XEDXK9673","1982":"GDPPX4367","1983":"CQNJD7644","1984":"VUVCX9749","1985":"VPYKQ7673","1986":"XMPQN9933","1987":"CEDRD4394","1988":"VHDET7339","1989":"CJARD9349","1990":"YMWNV9996","1991":"WFLFY7376","1992":"QFEDA3947","1993":"QMYHC9377","1994":"YNYKL9369","1995":"XKLQE3797","1996":"UWCER6937","1997":"YJGTD3949","1998":"TPUEK9363","1999":"FUEQV6794","2000":"LWVAF9647","2001":"KKMQK6976","2002":"PPLWG3747","2003":"YCDMU7497","2004":"PYUPD3674","2005":"MWYHX9676","2006":"ACXKT7666","2007":"JLLCN9347","2008":"CLAHX6737","2009":"KAXTA6764","2010
@lis2501
lis2501 / imageProcessing.cs
Created Jan 3, 2014
opencv/samples/cpp/squares.cpp to unity @iphone5 Using NativePlugin
View imageProcessing.cs
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class imageProcessing : MonoBehaviour {
[DllImport ("__Internal")]
private static extern void UpdateTexture(System.IntPtr colors, int width, int height);
WebCamTexture webcamTexture;
Texture2D texture = null;
You can’t perform that action at this time.