Skip to content

Instantly share code, notes, and snippets.

View micsen's full-sized avatar

Michael Micsen Johannessen Wehus micsen

View GitHub Profile
@micsen
micsen / iClass.md
Created April 22, 2024 02:56 — forked from bettse/iClass.md

Keybase proof

I hereby claim:

  • I am micsen on github.
  • I am micsen (https://keybase.io/micsen) on keybase.
  • I have a public key ASD-7atFmEtGcr8xKJdoSjoYaQ9NEJMTxxgNTuohedXEmwo

To claim this, I am signing this object:

function searchForColor(arr, arr2, color) {
var result = arr.filter(function(v) {
if(arr2.filter(function(a){ return a.fruit == v.fruit })[0]) {
return false;
} else {
return v.color === color;
}
});
return result;
}
pi@raspberrypi:~ $ DEBUG=node-soap node soap.js
node-soap Reading url: http://85.167.112.48/Tmix.Cap.Ti/1.8.11/TrafficInformationService.svc?wsdl +0ms
node-soap Http request: {"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"85.167.112.48","port":null,"hostname":"85.167.112.48","hash":null,"search":"?wsdl","query":"wsdl","pathname":"/Tmix.Cap.Ti/1.8.11/TrafficInformationService.svc","path":"/Tmix.Cap.Ti/1.8.11/TrafficInformationService.svc?wsdl","href":"http://85.167.112.48/Tmix.Cap.Ti/1.8.11/TrafficInformationService.svc?wsdl"},"method":"GET","headers":{"User-Agent":"node-soap/0.15.0","Accept":"text/html,application/xhtml+xml,application/xml,text/xml;q=0.9,*/*;q=0.8","Accept-Encoding":"none","Accept-Charset":"utf-8","Connection":"close","Host":"85.167.112.48"},"followAllRedirects":true,"body":null} +76ms
undefined
{ [Error: connect ETIMEDOUT 85.167.112.48:80]
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: '85.167.112.48',
port: 80 }
var soap = require('soap');
var url = 'http://85.167.112.48/Tmix.Cap.Ti/1.8.11/TrafficInformationService.svc?wsdl';
var args = {name: 'value'};
soap.createClient(url, function(err, client) {
console.log(client, err);
});