Skip to content

Instantly share code, notes, and snippets.

@ngarafol
ngarafol / 10-wancarp
Created April 24, 2023 23:25 — forked from kronenpj/10-wancarp
OpnSense 23.1 - Disable WAN + OPT2 Interfaces during CARP Failover
#!/usr/local/bin/php
<?php
require_once("config.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("util.inc");
$subsystem = !empty($argv[1]) ? $argv[1] : '';
$type = !empty($argv[2]) ? $argv[2] : '';
@ngarafol
ngarafol / show_ssl_expire
Created January 24, 2023 22:05 — forked from bmatthewshea/show_ssl_expire
Retrieve/Check SSL certificate expiration date(s)
#!/bin/bash
# By B Shea Dec2018 & Mar2020
# https://www.holylinux.net
# Test for OpenSSL - if not installed stop here.
if ! [[ -x $(which openssl) ]]; then
printf "\nOpenSSL not found or not executable.\nPlease install OpenSSL before proceeding.\n\n"
exit 1
fi
@ngarafol
ngarafol / ansible-summary.md
Created May 7, 2020 19:15 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@ngarafol
ngarafol / hot.m3u
Last active January 24, 2020 12:52
http://kepler.shoutca.st:8404
http://sirius.shoutca.st:8228
http://titan.shoutca.st:9138
@ngarafol
ngarafol / love.m3u
Last active January 24, 2020 12:52
http://proxima.shoutca.st:8469
http://eu10.fastcast4u.com:3180/