Skip to content

Instantly share code, notes, and snippets.

View ckelner's full-sized avatar
🐕‍🦺
Datadog

Chris Kelner ckelner

🐕‍🦺
Datadog
View GitHub Profile
{
"vers": 0.01,
"config": {
"rate": "perhr",
"valueColumns": [
"sles"
],
"currencies": [
"USD"
],
{
"vers": 0.01,
"config": {
"rate": "perhr",
"valueColumns": [
"mswin"
],
"currencies": [
"USD"
],
{
"vers": 0.01,
"config": {
"rate": "perhr",
"valueColumns": [
"linux"
],
"currencies": [
"USD"
],
{
"vers": 0.01,
"config": {
"rate": "perhr",
"valueColumns": [
"linux",
"mswin"
],
"currencies": [
"USD"
<item>
<destinationCidrBlock>0.0.0.0/0</destinationCidrBlock>
<instanceId>i-4c52da2f</instanceId>
<instanceOwnerId>592600858309</instanceOwnerId>
<networkInterfaceId>eni-11cd9f7e</networkInterfaceId>
<state>active</state>
<origin>CreateRoute</origin>
</item>
@ckelner
ckelner / jquery-draggable-touch.js
Created December 11, 2012 00:39
touch events to work with jquery ui draggable (using HP 4200tm windows 7)
function touchHandler(event){
var touches = event.changedTouches,
first = touches[0],
type = "";
switch(event.type){
case "touchstart": type = "mousedown"; break;
case "touchmove": type="mousemove"; break;
case "touchend": type="mouseup"; break;
default: return;