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/python | |
# -*- coding: utf-8 -*- | |
""" | |
Zabbix SMTP Alert script for gmail. | |
""" | |
import sys | |
import smtplib | |
from email.MIMEText import MIMEText | |
from email.Header import Header |
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
# | |
%define nginx_home %{_localstatedir}/cache/nginx | |
%define nginx_user nginx | |
%define nginx_group nginx | |
%define my_perl_vendorarch /usr/local/lib64/perl5 | |
# distribution specific definitions | |
%define use_systemd (0%{?fedora} && 0%{?fedora} >= 18) || (0%{?rhel} && 0%{?rhel} >= 7) | |
%if 0%{?rhel} == 5 |
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
#!/bin/sh | |
# Navigate to https://m-dot-betaspike.appspot.com/handshake, login with your ingress account, use the SACSID cookie to populate the following | |
AUTH="SACSID=" | |
# Grab a portal guid from intel, open network tab and clear stuff, click on a portal, look for getPortalDetails and fetch the guid from the request param | |
portalGuid="" | |
INGRESS_VERSION="%7B%22nemesisSoftwareVersion%22%3A%222014-09-30T18%3A10%3A49z%208c0548b9de8d%20opt%22%2C%22deviceSoftwareVersion%22%3A%220.0.0%22%7D" | |
INGRESS_URL="https://m-dot-betaspike.appspot.com" |
NewerOlder