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
(function($) { | |
$.detailsShim = function() { | |
$("details").each(function() { | |
// Initial state of all elements in <section> | |
var initOpen = ($(this).attr('open') === "true") ? true : false; | |
$(this).children(":not(summary)").each(function() { | |
$(this).toggle(initOpen); | |
}); | |
// Click event on <summary> toggles all elements |
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
#!/usr/bin/php | |
<?php | |
$domain = $argv[1]; | |
if (!$domain) die("No domain given \n"); | |
$domain = trim($domain); | |
$domain = str_replace(".nl", "", $domain); | |
$data = file_get_contents("https://www.sidn.nl/index.php?eID=tx_sidnwhois_pi1&domain=$domain®=44&det=0&lang=nl&check=true&adv=1®mode=0"); |
NewerOlder