[ Launch: Time Diffs ] ad14630b500d9ee80884 by jlamoree
-
-
Save jlamoree/ad14630b500d9ee80884 to your computer and use it in GitHub Desktop.
Time Diffs
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
{"description":"Time Diffs","endpoint":"","display":"div","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/OsLss0W.png"} |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
timestamp | |
"04/22/2014 22:18:01" | |
"04/23/2014 07:05:20" | |
"04/23/2014 07:58:43" | |
"04/23/2014 08:21:36" | |
"04/23/2014 08:55:42" | |
"04/23/2014 09:06:12" | |
"04/23/2014 09:26:36" | |
"04/23/2014 09:45:11" | |
"04/23/2014 09:50:08" | |
"04/23/2014 11:41:02" | |
"04/23/2014 14:40:44" | |
"04/23/2014 16:39:32" | |
"04/23/2014 17:10:11" | |
"04/24/2014 05:27:08" | |
"04/24/2014 06:25:36" | |
"04/24/2014 07:07:03" | |
"04/24/2014 07:54:36" | |
"04/24/2014 13:44:00" | |
"04/24/2014 13:58:09" | |
"04/24/2014 14:37:11" | |
"04/24/2014 15:36:40" | |
"04/24/2014 16:08:49" | |
"04/24/2014 17:23:10" | |
"04/25/2014 07:10:21" | |
"04/25/2014 09:42:52" | |
"04/25/2014 11:15:28" | |
"04/25/2014 12:06:06" | |
"04/25/2014 12:47:21" | |
"04/27/2014 13:40:08" | |
"04/27/2014 14:24:06" | |
"04/27/2014 14:56:55" | |
"04/28/2014 05:54:40" | |
"04/28/2014 06:32:42" | |
"04/28/2014 07:04:17" | |
"04/28/2014 07:49:13" | |
"04/28/2014 08:39:20" | |
"04/28/2014 09:11:21" | |
"04/28/2014 09:14:04" | |
"04/28/2014 09:18:18" | |
"04/28/2014 09:18:47" | |
"04/28/2014 09:35:00" | |
"04/28/2014 10:05:25" | |
"04/28/2014 10:33:36" | |
"04/28/2014 10:48:00" | |
"04/28/2014 12:01:48" | |
"04/28/2014 12:04:50" | |
"04/28/2014 13:59:53" | |
"04/28/2014 14:26:22" | |
"04/28/2014 15:18:17" | |
"04/28/2014 15:22:36" | |
"04/28/2014 17:23:43" | |
"04/29/2014 07:21:02" | |
"04/29/2014 08:09:43" | |
"04/29/2014 08:15:01" | |
"04/29/2014 08:17:04" | |
"04/29/2014 08:26:21" | |
"04/29/2014 08:47:16" | |
"04/29/2014 08:56:42" | |
"04/29/2014 08:57:12" | |
"04/29/2014 09:14:11" | |
"04/29/2014 09:49:23" | |
"04/29/2014 10:20:53" | |
"04/29/2014 11:19:23" | |
"04/29/2014 11:55:10" | |
"04/29/2014 12:31:38" | |
"04/29/2014 13:09:19" | |
"04/29/2014 13:38:49" | |
"04/29/2014 14:19:45" | |
"04/29/2014 16:32:38" | |
"04/29/2014 18:37:01" | |
"04/29/2014 21:17:00" | |
"04/29/2014 21:50:00" | |
"04/29/2014 22:40:12" | |
"04/30/2014 06:30:15" | |
"04/30/2014 07:07:03" | |
"04/30/2014 08:12:52" | |
"04/30/2014 08:21:38" | |
"04/30/2014 08:26:52" | |
"04/30/2014 08:44:04" | |
"04/30/2014 08:50:30" | |
"04/30/2014 08:59:42" | |
"04/30/2014 09:19:20" | |
"04/30/2014 10:04:59" | |
"04/30/2014 10:09:32" | |
"04/30/2014 11:04:44" | |
"04/30/2014 11:14:37" | |
"04/30/2014 11:58:09" | |
"04/30/2014 12:19:25" | |
"04/30/2014 12:21:00" | |
"04/30/2014 15:25:18" | |
"04/30/2014 16:04:46" | |
"04/30/2014 16:23:22" | |
"05/01/2014 06:18:02" | |
"05/01/2014 08:29:27" | |
"05/01/2014 09:09:30" | |
"05/01/2014 14:12:44" | |
"05/01/2014 21:10:15" | |
"05/02/2014 05:04:30" | |
"05/02/2014 05:59:01" | |
"05/02/2014 08:24:18" | |
"05/02/2014 08:54:05" | |
"05/02/2014 09:01:10" | |
"05/02/2014 09:31:15" | |
"05/02/2014 10:12:52" | |
"05/02/2014 10:33:04" | |
"05/02/2014 12:53:38" | |
"05/02/2014 14:33:26" | |
"05/05/2014 04:34:04" | |
"05/05/2014 05:58:22" | |
"05/05/2014 07:04:51" | |
"05/05/2014 07:05:42" | |
"05/05/2014 07:25:59" | |
"05/05/2014 07:31:52" | |
"05/05/2014 07:36:15" | |
"05/05/2014 08:13:34" | |
"05/05/2014 09:04:59" | |
"05/05/2014 09:12:38" | |
"05/05/2014 09:48:18" | |
"05/05/2014 10:04:15" | |
"05/05/2014 13:01:54" | |
"05/05/2014 13:14:59" | |
"05/05/2014 13:20:56" | |
"05/05/2014 13:42:19" | |
"05/05/2014 17:14:11" | |
"05/05/2014 20:25:29" | |
"05/05/2014 23:19:10" | |
"05/06/2014 07:52:11" | |
"05/06/2014 08:51:28" | |
"05/06/2014 08:56:16" | |
"05/06/2014 10:17:37" | |
"05/06/2014 11:15:12" | |
"05/06/2014 11:27:08" | |
"05/06/2014 11:34:16" | |
"05/06/2014 11:47:49" | |
"05/06/2014 13:39:51" | |
"05/06/2014 14:12:30" | |
"05/06/2014 14:44:50" | |
"05/06/2014 14:59:34" | |
"05/06/2014 16:00:54" | |
"05/06/2014 16:28:44" | |
"05/06/2014 16:50:50" | |
"05/06/2014 21:52:23" | |
"05/06/2014 22:13:56" | |
"05/06/2014 22:27:07" | |
"05/06/2014 22:58:48" | |
"05/07/2014 05:52:49" | |
"05/07/2014 06:21:29" | |
"05/07/2014 06:26:35" | |
"05/07/2014 08:39:12" | |
"05/07/2014 09:18:22" | |
"05/07/2014 09:43:53" | |
"05/07/2014 10:17:07" | |
"05/07/2014 10:34:01" | |
"05/07/2014 11:59:57" | |
"05/07/2014 13:39:03" | |
"05/07/2014 13:59:48" | |
"05/07/2014 14:14:02" | |
"05/07/2014 14:49:58" | |
"05/07/2014 15:05:27" | |
"05/07/2014 15:10:58" | |
"05/07/2014 15:19:20" | |
"05/07/2014 17:54:17" | |
"05/07/2014 21:12:20" | |
"05/08/2014 06:54:32" | |
"05/08/2014 06:58:22" | |
"05/08/2014 07:28:39" | |
"05/08/2014 07:49:26" | |
"05/08/2014 08:11:24" | |
"05/08/2014 08:36:05" | |
"05/08/2014 10:32:19" | |
"05/08/2014 11:22:03" | |
"05/08/2014 13:01:49" | |
"05/08/2014 13:37:25" | |
"05/08/2014 13:42:21" | |
"05/08/2014 14:18:53" | |
"05/08/2014 14:23:31" | |
"05/08/2014 15:08:10" | |
"05/08/2014 16:11:14" | |
"05/08/2014 17:57:15" | |
"05/08/2014 19:38:06" | |
"05/09/2014 06:26:56" | |
"05/09/2014 06:58:03" | |
"05/09/2014 07:15:17" | |
"05/09/2014 09:16:39" | |
"05/09/2014 09:26:52" | |
"05/09/2014 10:02:02" | |
"05/09/2014 12:37:48" | |
"05/09/2014 15:03:31" | |
"05/09/2014 16:17:06" | |
"05/12/2014 05:55:22" | |
"05/12/2014 06:30:51" | |
"05/12/2014 07:10:01" | |
"05/12/2014 07:40:47" | |
"05/12/2014 08:12:03" | |
"05/12/2014 08:30:36" | |
"05/12/2014 08:42:25" | |
"05/12/2014 08:53:34" | |
"05/12/2014 08:59:35" | |
"05/12/2014 09:16:13" | |
"05/12/2014 09:26:16" | |
"05/12/2014 09:54:28" | |
"05/12/2014 10:49:08" | |
"05/12/2014 11:33:29" | |
"05/12/2014 13:49:49" | |
"05/12/2014 23:04:22" | |
"05/13/2014 05:53:01" | |
"05/13/2014 06:26:08" | |
"05/13/2014 06:42:24" | |
"05/13/2014 07:22:53" | |
"05/13/2014 07:25:48" | |
"05/13/2014 08:10:23" | |
"05/13/2014 08:54:00" | |
"05/13/2014 09:28:21" | |
"05/13/2014 09:31:06" | |
"05/13/2014 09:50:09" | |
"05/13/2014 10:32:27" | |
"05/13/2014 11:01:22" | |
"05/13/2014 11:05:37" | |
"05/13/2014 12:11:09" | |
"05/13/2014 14:12:30" | |
"05/13/2014 15:47:09" | |
"05/13/2014 17:16:42" | |
"05/14/2014 05:48:19" | |
"05/14/2014 06:58:18" | |
"05/14/2014 07:44:48" | |
"05/14/2014 08:00:07" | |
"05/14/2014 08:14:29" | |
"05/14/2014 08:19:19" | |
"05/14/2014 08:31:39" | |
"05/14/2014 10:53:02" | |
"05/14/2014 11:24:46" | |
"05/14/2014 11:56:38" | |
"05/14/2014 12:52:22" | |
"05/15/2014 07:06:34" | |
"05/15/2014 07:36:38" | |
"05/15/2014 07:40:53" | |
"05/15/2014 08:15:30" | |
"05/15/2014 08:17:53" | |
"05/15/2014 08:21:55" | |
"05/15/2014 09:12:18" | |
"05/15/2014 09:43:07" | |
"05/15/2014 10:03:54" | |
"05/15/2014 10:05:57" | |
"05/15/2014 11:08:38" | |
"05/15/2014 11:23:09" | |
"05/15/2014 11:47:09" | |
"05/15/2014 11:50:43" | |
"05/15/2014 12:48:03" | |
"05/15/2014 13:18:15" | |
"05/15/2014 13:58:05" | |
"05/15/2014 13:58:05" | |
"05/15/2014 14:58:00" |
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 data = tributary.data; | |
var format = d3.time.format("%m/%d/%Y %H:%M:%S"); | |
var display = d3.select("#display"); | |
var lasttime = 0; | |
var log; | |
display.append("h4").html("Double Bad Auth Tokes"); | |
log = display.append("div").attr("id", "log"); | |
data.forEach(function (item) { | |
item.unixtime = format.parse(item.timestamp).getTime(); | |
if (lasttime === 0) { | |
item.delta = -1; | |
} else { | |
item.delta = item.unixtime - lasttime; | |
} | |
lasttime = item.unixtime; | |
if (item.delta >= 0 && item.delta < 10000) { | |
log.append("p").html(item.timestamp); | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment