I hereby claim:
- I am kkoch986 on github.
- I am kkoch986 (https://keybase.io/kkoch986) on keybase.
- I have a public key ASDdVpZP15gn6CeGR0mdujmCNkbbiPKSKZBuh4XsAzA_pQo
To claim this, I am signing this object:
function cmdGenerate() { | |
// the source file with the timestamped phonemes to read from | |
// TODO: take the input as an audio target | |
var inputFile = local.parameters.inputFile.getAbsolutePath(); | |
// the target for writing the keyframes | |
// TODO: create a new mapping layer instead of requiring one as input | |
var automation = local.parameters.outputMapping.getTarget().getParent(); | |
// a map of viseme name to 0 - 1 values, can be editedby tweaking the optons in chataigne |
#gh, | |
#ghx-work, | |
#ghx-pool-column.ghx-flexible-board #ghx-column-headers, | |
#gh #ghx-work #ghx-pool-column.ghx-flexible-board .ghx-columns, | |
#gh #ghx-work #ghx-pool-column.ghx-flexible-board .ghx-zone-overlay-table | |
{ | |
background: #131516!important; | |
} | |
ul.ghx-column-headers, | |
ul.ghx-columns, |
conky.config = { | |
out_to_x = false, | |
out_to_console = true, | |
update_interval = 1.0, | |
total_run_times = 0, | |
use_spacer = none, | |
use_xft = true, | |
override_utf8_locale = true, | |
font = 'Terminus:style = Regular:pixelsize=24:antialias=true' | |
} |
I hereby claim:
To claim this, I am signing this object:
import cv2 | |
import numpy as np | |
import operator | |
from numpy import pi, sin, cos | |
import math | |
## Tweak these | |
hue_threshold = [4,3] # the lower and upper threshold for hue values in the mask | |
median_kernel_size = 5 |
/** | |
* Material UI multi select | |
* | |
* Use with: | |
* <MultiSelect fullWidth={true} value={this.state.values} onChange={(e,v) => this.setState({values: v})}> | |
* <ListItem primaryText={"Option 1"} value={1} /> | |
* <ListItem primaryText={"Option 2"} value={2} /> | |
* <ListItem primaryText={"Option 3"} value={3} /> | |
* <ListItem primaryText={"Option 4"} value={4} /> | |
* </MultiSelect> |
// Circuit Board Pins | |
// 1- PhotoCell 1 +5 | |
// 2- Arduino A0 | |
// 3- PhotoCell 1 Ground | |
// 4- PhotoCell 2 +5 | |
// 5- Arduino A1 | |
// 6- PhotoCell 2 Ground | |
// 7- Arduino D2 | |
// 8- Buzzer + | |
// 9- Buzzer - |
String.prototype.splitSpacesAsInts = function() { | |
return this.split(" ").map(function(aNum) { return parseInt(aNum); }); | |
}; | |
function processData(input) { | |
var lines = input.split("\n"); | |
var first = lines[0].splitSpacesAsInts(); | |
var n = first[0]; | |
var m = first[1]; | |
var ops = lines.slice(1).map(function(line) { return line.splitSpacesAsInts(); }); |
function solve(prisoner_count, hard_limit) { | |
var prisoners = []; | |
var startTime = ((new Date()).getTime()); | |
for(var x = 0 ; x < prisoner_count ; x++) { | |
prisoners[x] = false; | |
} | |
// Pick a random prisoner | |
function pickPrisoner() { | |
return Math.floor(Math.random() * prisoner_count); |
<script type="text/javascript" src='http://code.jquery.com/jquery-2.1.3.min.js'></script> | |
<audio id="myAudio" src="http://sqr.bartekdrozdz.com/demo/soundviz/assets/spy.mp3" controls><p>Your browser does not support the audio element.</p></audio> | |
<!-- <audio id="myAudio" src="./a-little-something.mp3" controls><p>Your browser does not support the audio element.</p></audio> --> | |
<div id="visualization" style="width:100%; height:500px"></div> | |
<script type="text/javascript"> | |
Number.prototype.map = function ( in_min , in_max , out_min , out_max ) { | |
return ( this - in_min ) * ( out_max - out_min ) / ( in_max - in_min ) + out_min; | |
} |