Skip to content

Instantly share code, notes, and snippets.

View mitchellurgero's full-sized avatar

Mitchell Urgero mitchellurgero

View GitHub Profile
@mitchellurgero
mitchellurgero / jenkins.bash
Last active July 22, 2018 04:36
TKLDev Build Scripts / TKLDev Jenkins Build Scripts
#!/bin/bash
#source .bashrc
cd /turnkey/fab/products/$1
echo In products/$1
echo Current Build $2
export FAB_PATH=/turnkey/fab
export FAB_APT_PROXY=http://127.0.0.1:8124
<?php
/*
RBL checker tool for Windows & Linux
By Mitchell Urgero
Code based off of https://gist.github.com/kamermans/1548922 just with *slight* modifications and a proper RBL list.
*/
$mail_server = "111.222.333.444"; // or: trim(exec("curl icanhazip.com")); to get the WAN IP of the current server.
$rbls = array(
'b.barracudacentral.org',
'spam.rbl.msrbl.net',