Skip to content

Instantly share code, notes, and snippets.

{
"data" : "SGVsbG8gV29ybGQh"
}
/**
* TypingDNA - Typing Biometrics JavaScript API
* https://api.typingdna.com/scripts/typingdna.js
* https://typingdna.com/scripts/typingdna.js (alternative)
*
* @version 2.13
* @author Raul Popa
* @copyright SC TypingDNA SRL, http://typingdna.com
* @license http://www.apache.org/licenses/LICENSE-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
.service("HttpParamSerializerPolyfillService", function() {
/**
* Adapation of the souce of $httpParamSerializer
* so it can be used with angular < 1.4
*
* HttpParamSerializerPolyfillService.serialize(query)
*
* No guarantees or warranty, use at your own risk.
*/
function sortedKeys(obj) {
Hypertext Transfer Protocol
CONNECT 74.125.24.103:443 HTTP/1.1\r\n
[Expert Info (Chat/Sequence): CONNECT 74.125.24.103:443 HTTP/1.1\r\n]
[Message: CONNECT 74.125.24.103:443 HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: CONNECT
Request URI: 74.125.24.103:443
Request Version: HTTP/1.1
Host: www.google.com\r\n
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/StreamCopier.h>
#include <iostream>
/*
* Test case to show slow DNS lookup when making a request to a
* particular domain. The HTTP level in terms of the response
* is not that important- the actual lookup happens as part of
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#define BROKEN_DOMAIN "word-view.beta.officeapps.live.com"
$ ifconfig
eth0 Link encap:Ethernet HWaddr e0:cb:4e:bb:1f:3e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth1 Link encap:Ethernet HWaddr 00:1b:21:52:4c:35
inet addr:134.226.36.122 Bcast:134.226.36.255 Mask:255.255.255.0