Skip to content

Instantly share code, notes, and snippets.

Teemu Sarapisto Tsarpf

View GitHub Profile
@Tsarpf
Tsarpf / tf_obj_tutorial.rst
Created Jan 8, 2019 — forked from douglasrizzo/tf_obj_tutorial.rst
TensorFlow Object Detection Model Training
View tf_obj_tutorial.rst
@Tsarpf
Tsarpf / gif_example.pde
Created Jan 15, 2017 — forked from jordanorelli/gif_example.pde
make an animated gif with Processing
View gif_example.pde
import gifAnimation.*;
GifMaker gifExport;
int frames = 0;
int totalFrames = 120;
public void setup() {
smooth();
size(400, 400);
View FrequencyFinder.cpp
void FrequencyFinder::Start()
{
m_listenerThread = std::thread(&AudioListener::RecordAudioStream, m_listener, &m_sink, std::ref(m_finished));
}
@Tsarpf
Tsarpf / TriplanarWorld.shader
Created Nov 11, 2016 — forked from radiatoryang/TriplanarWorld.shader
a triplanar / procedural UV / world space UV shader for Unity, cobbled together bits from @quickfingerz and @Farfarer
View TriplanarWorld.shader
Shader "Tri-Planar World" {
Properties {
_Side("Side", 2D) = "white" {}
_Top("Top", 2D) = "white" {}
_Bottom("Bottom", 2D) = "white" {}
_SideScale("Side Scale", Float) = 2
_TopScale("Top Scale", Float) = 2
_BottomScale ("Bottom Scale", Float) = 2
}
View threaded_download.py
import urllib2
import threading
from Queue import Queue
import sys, os, re
class ThreadedDownload(object):
REGEX = {
'hostname_strip':re.compile('.*\..*?/', re.I)
}
You can’t perform that action at this time.