Skip to content

Instantly share code, notes, and snippets.

#########################################################################################
# Name m00nie::linktitle
# Description Simple script that grabs the title of any web link spammed into the channel.
# It does try to work around various versions of http and SNI https issue
# this might not be fantastic....It also aims to be as simple as possible
# to maintain and use. As ever any comments/suggestions are welcome :)
#
# Version 1.6 - Some tweaks handling large white space in titles also trying to
# accomodate improvements in v1.9 release of eggdrop (again thanks to
# CrazyCat for mentioning this :D)
@GHF2014
GHF2014 / failover-ip.php
Last active January 5, 2020 09:35
OVH failover IP config for Ubuntu/Debian
<?php
$ipList = "
192.99.182.41
158.69.56.235
158.69.101.3
158.69.56.236
167.114.11.211
158.69.57.190
@GHF2014
GHF2014 / domain-age.php
Created December 23, 2019 17:40
PHP code to find Domain Age of a domain
<?php
$domain = $_GET['domain'];
$w = new DomainAge();
echo $w->age($domain);
class DomainAge
{
private $WHOIS_SERVERS = array(
"com" => array("whois.verisign-grs.com", "/Creation Date:(.*)/"),
"net" => array("whois.verisign-grs.com", "/Creation Date:(.*)/"),
@GHF2014
GHF2014 / whois.php
Last active December 23, 2019 17:39
PHP code to get WHOIS information of a domain
<?php
/*************************************************************************
php easy :: whois lookup script
==========================================================================
Author: php easy code, www.phpeasycode.com
Web Site: http://www.phpeasycode.com
Contact: webmaster@phpeasycode.com
*************************************************************************/
$domain = $_GET['domain'];
@GHF2014
GHF2014 / Antirandom Config
Last active April 23, 2016 21:07
Antirandom Config Code
set {
antirandom {
threshold 5;
ban-action gline;
ban-time 1h;
ban-reason "Mos i perseritni shkronjat ne Nick, Ident ose RealName - http://chat.zemra.org/";
fullstatus-on-load yes;
show-failedconnects yes;
except-hosts {
"122.123.134.135";