We can't make this file beautiful and searchable because it's too large.
This file contains hidden or 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
asn,description,domains | |
AS16509,"Amazon.com, Inc.",107424289 | |
AS13335,"Cloudflare, Inc.",51702092 | |
AS396982,Google LLC,21527966 | |
AS15169,Google LLC,17514085 | |
AS47846,SEDO GmbH,14922282 | |
AS8560,IONOS SE,11446131 | |
AS14618,"Amazon.com, Inc.",10115049 | |
AS58182,Wix.com Ltd.,8459442 | |
AS16276,OVH SAS,8389726 |
This file contains hidden or 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
{ | |
"AS10006": { | |
"Name": "SECOM Trust Systems Co.,Ltd.", | |
"Registry": "jpnic", | |
"IP Addresses": "58,368", | |
"Type": "hosting", | |
"Domains": "6,231", | |
"Domains IP": 716 | |
}, | |
"AS10010": { |
This file contains hidden or 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
(GIR 0AA) | |
| (((XX[0-9][0-9]?) | |
| ([A-Z-[QVX]][0-9][0-9]?) | |
| (([A-Z-[QVX]][A-Z-[IJZ]][0-9][0-9]?) | |
| (([A-Z-[QVX]][0-9][A-HJKSTUW]) | |
| ([A-Z-[QVX]][A-Z-[IJZ]][0-9][ABEHMNPRVWXY])))) [0-9][A-Z-[CIKMOV]]{2}) |
This file contains hidden or 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
<?php | |
$translate = function ($n) { | |
if ($n % 15 == 0) return 'fizzbuzz'; | |
if ($n % 5 == 0) return 'buzz'; | |
if ($n % 3 == 0) return 'fizz'; | |
return $n; | |
}; |
This file contains hidden or 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
<?php | |
$hour = date("G"); | |
if ($hour < 12) { | |
echo "good morning world"; | |
} elseif ($hour < 18) { | |
echo "good afternoon world"; | |
} else { | |
echo "good evening world"; | |
} |
This file contains hidden or 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
<?php | |
/* | |
// tracking | |
$date=date("Y-m-d H:i:s"); | |
$ip =$_SERVER['REMOTE_ADDR']; | |
$db = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR); | |
mysql_select_db($database, $db); | |
mysql_query("INSERT INTO tracking (ip, timestamp) VALUES ('$ip','$date')",$db); | |
*/ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Torres de Hanoi</title> | |
<meta charset="utf-8"> | |
<style> | |
body,pre{ | |
font-family: monospace; | |
font-size: 15px; | |
line-height: 1em; |
This file contains hidden or 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
<?php | |
function slugify($string) { | |
$string = transliterator_transliterate("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC; [:Punctuation:] Remove; Lower();", $string); | |
$string = preg_replace('/[-\s]+/', '-', $string); | |
return trim($string, '-'); | |
} | |
echo slugify("Я люблю PHP!"); |
This file contains hidden or 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
<?php | |
// Credit: http://sourcecookbook.com/en/recipes/8/function-to-slugify-strings-in-php | |
function slugify($text) | |
{ | |
// replace non letter or digits by - | |
$text = preg_replace('~[^\\pL\d]+~u', '-', $text); | |
// trim | |
$text = trim($text, '-'); |
This file contains hidden or 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/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
NewerOlder