This file contains 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
$(document).ready(function() { | |
var timings = [6000, 4000, 4000, 4000, 4000, 4000]; | |
var index = 0; | |
var animate = true; | |
var nextAnimation = function(timings) { | |
if (animate) { | |
$('.right.carousel-control').click(); | |
} |
This file contains 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
var intervalArray = function() { | |
var debug = console.log.bind(console); | |
debug = function() {}; // comment this out to get logging | |
var arrayAnimation = function(carousel) { | |
if (!(carousel.dataset.intervalArray == "true")) { | |
return; | |
} |
This file contains 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
stream=$(curl -x localhost:8888 -X POST http://app.quantifieddev.org/stream) | |
id=$(echo $stream | sed 's_.*"streamid": "\([^"]*\)".*_\1_') | |
read=$(echo $stream | sed 's_.*"readToken": "\([^"]*\)".*_\1_') | |
write=$(echo $stream | sed 's_.*"writeToken": "\([^"]*\)".*_\1_') | |
curl -k -x localhost:8888 -X POST -H Content-Type:application/json -H Authorization:$write -H Cache-Control:no-cache -d '{ "dateTime": "2014-03-31T15:28:36.1788806Z", "location": { "lat": 52.5203, "long": 0.8567 }, "actionTags": [ "Build", "Start" ], "objectTags": [ "Computer", "Software" ], "properties": { "Language": "C#", "Environment": "VisualStudio2012" } }' http://app.quantifieddev.org/stream/$id/event | |
echo register this stream at http://app.quantifieddev.org/dashboard?streamId=$id\&readToken=$read |
This file contains 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
Verifying that +edsykes is my openname (Bitcoin username). https://onename.io/edsykes |
This file contains 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
<svg> | |
<defs> | |
<filter id="flood-1"> | |
<feFlood x="30" y="30" width="30" height="30" flood-color="#00f" result="flood"/> | |
</filter> | |
</defs> | |
<circle cx="50" cy="50" r="50" fill="#0f0" filter="url(#flood-1)" /> | |
</svg> |
This file contains 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
<filter x="-50%" y="-50%" id="drop-shadow" height="250%" width="380%"> | |
<feGaussianBlur in="SourceAlpha" stdDeviation="10" result="blur"></feGaussianBlur> | |
<feOffset in="blur" dx="0" dy="0" result="offsetBlur"></feOffset> | |
<feMerge> | |
<feMergeNode in="offsetBlur"></feMergeNode> | |
<feMergeNode in="SourceGraphic"></feMergeNode> | |
</feMerge> | |
</filter> |
This file contains 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
<filter x="-70%" y="-50%" id="drop-shadow" height="250%" width="380%"> | |
><feComponentTransfer xmlns="http://www.w3.org/2000/svg"> | |
<feFuncA type="linear" slope="10.7"></feFuncA><feFuncR type="linear" slope="-10"></feFuncR> | |
<feFuncG type="linear" slope="0"> | |
</feFuncG> | |
<feFuncB type="linear" slope="0"></feFuncB> | |
</feComponentTransfer> | |
<feGaussianBlur stdDeviation="15"></feGaussianBlur> |
This file contains 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
var reverseSortedIndex = function(array, value, predicate){ | |
var result = -1; | |
var low = 0; | |
var high = array.length; | |
var current = 0; | |
var search = value; | |
while(low < high){ | |
// uncomment these lines if you want to see how this algorithm works | |
//console.log(''); |
This file contains 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
lsof | grep "590.* (LISTEN)" | cut -c 12-16 | uniq | kill $(xargs) |
This file contains 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
lsof -i -n -P | grep "java.*9000" | cut -c 11-16 | uniq | kill $(xargs) |
OlderNewer