Skip to content

Instantly share code, notes, and snippets.

View oneluiz's full-sized avatar
🏠
Working from home

Luis Cortés oneluiz

🏠
Working from home
View GitHub Profile
@oneluiz
oneluiz / whois.php
Last active December 20, 2022 06:42
PHP code to get WHOIS information of a domain
<?php
/**
* @author Luis Cortés
* [Whois description]
* @param string $whois [description]
* @param [type] $domain [description]
*/
function Whois($whois='', $domain){
$stringDataWhois="";
@oneluiz
oneluiz / web-servers.md
Created November 20, 2016 15:11 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000