This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VVVV.js -- Visual Web Client Programming | |
// (c) 2011 Matthias Zauner | |
// VVVV.js is freely distributable under the MIT license. | |
// Additional authors of sub components are mentioned at the specific code locations. | |
/* | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
NODE: FileStream (DShow9) | |
Author(s): Vadim Smakhtin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@author: alg (Vadim Smakhtin) | |
//@help: masking with binary image. Black - alpha, white - visible. | |
//@tags: mask, alpha | |
//@credits: | |
// -------------------------------------------------------------------------------------------------- | |
// PARAMETERS: | |
// -------------------------------------------------------------------------------------------------- | |
//transforms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"children": [{ | |
"children": [{ | |
"dateAdded": 1327010826522, | |
"id": "4", | |
"index": 0, | |
"parentId": "1", | |
"title": "", | |
"url": "http://www.google.com/reader/view/#overview-page" | |
}, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Stop | |
ps -W | grep vvvv | awk '{print $1}' | xargs kill -f | |
#Start | |
/usr/local/bin/PsExec.exe -i 1 -s -d `cygpath -w /cygdrive/c/vvvv/vvvv_45beta28.1/vvvv.exe` /o `cygpath -w /cygdrive/c/vvvv/test.v4p` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ISODateString(d) { | |
function pad(n){ | |
return n<10 ? '0'+n : n | |
} | |
return d.getUTCFullYear()+'-' | |
+ pad(d.getUTCMonth()+1)+'-' | |
+ pad(d.getUTCDate())+'T' | |
+ pad(d.getUTCHours())+':' | |
+ pad(d.getUTCMinutes())+':' | |
+ pad(d.getUTCSeconds())+'Z' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["cake", "sbuild"] | |
, "path": "/usr/local/bin:$PATH" | |
, "selector": "source.coffee" | |
, "working_dir": "$project_path" | |
, "windows": | |
{ | |
"cmd": ["cake.cmd", "sbuild"] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class @Sensocamera.ExternalSensor | |
START_ACTION = "start" | |
STOP_ACTION = "stop" | |
STATE_STOPPED = 0 | |
STATE_STARTING = 1 | |
STATE_RUNNING = 2 | |
STATE_FAILED = 3 | |
currentState = STATE_STOPPED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float x = DTid.x % Size.x; | |
float y = DTid.x / Size.y; | |
y = y - frac(y); | |
x /= Size.x; | |
y /= Size.y; | |
Output[DTid.x] = texture2d.SampleLevel(g_samLinear, float2(x, y), 0, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static const float pi = 3.14159265; | |
static const float e = 2.71828183; | |
float2 c_add(float2 c1, float2 c2) | |
{ | |
float a = c1.x; | |
float b = c1.y; | |
float c = c2.x; | |
float d = c2.y; | |
return float2(a + c, b + d); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float2 halfPixel; | |
float4 toAdd; | |
float4 toMultiply; | |
texture cena; | |
sampler cenaSampler = sampler_state | |
{ | |
Texture = ; | |
MinFilter = LINEAR; | |
MagFilter = LINEAR; |