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
# Instructions for installing Pi-hole 4.2 on UniFi CloudKey Gen 1 (UC-CK) running firmware 0.13.6 | |
# Pi-hole will need to be completely re-installed after every FW update or if CloudKey is reset to defaults. | |
# Verify UC-CK is running firmware v0.13.6 (or later) before installing Pi-hole. If not, do: | |
ubnt-systool fwupdate https://dl.ubnt.com/unifi/stage/cloudkey/firmware/UCK/UCK.mtk7623.v0.13.6.7ad551e.190225.0939.bin | |
# UC-CK firmware v0.13.6 downgrades UniFi Controller to 5.10.17. Upgrade to 5.10.19 with: | |
cd /tmp | |
wget https://dl.ubnt.com/unifi/5.10.19/unifi_sysvinit_all.deb | |
dpkg -i unifi_sysvinit_all.deb |
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
Moved to: https://github.com/stevejenkins/Google-Fiber-EdgeRouter-Configs |
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 | |
# | |
# Copyright (c) 2013 Mike Miller <mmiller@mgm51.com> | |
# | |
# Permission to use, copy, modify, and distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
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/bash | |
################# | |
# CONFIGURATION # | |
################# | |
# The $WORK_DIR as set in /etc/denyhosts.conf. You can let this script find the | |
# setting automatically, or you can set it yourself. | |
DENYHOSTS_WORK_DIR=$(grep 'WORK_DIR' /etc/denyhosts.conf | grep -v '#' | cut -d '=' -f 2 | sed 's/ //') | |
#DENYHOSTS_WORK_DIR="/var/lib/denyhosts" |
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
# MOVED TO https://github.com/stevejenkins/unifi-linux-utils |
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
raw.githubusercontent.com | |
mirror1.malwaredomains.com | |
sysctl.org | |
zeustracker.abuse.ch | |
s3.amazonaws.com | |
hosts-file.net | |
clients4.google.com | |
clients2.google.com | |
s.youtube.com | |
video-stats.l.google.com |
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
#MOVED TO: https://github.com/stevejenkins/unifi-linux-utils |
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
-- Example MySQL Database Structure and Query for MeteoBridge Push Services | |
-- version 1.1 (Feb 13, 2015) | |
-- http://www.stevejenkins.com/ | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; | |
-- | |
-- Database: `meteobridge` | |
-- |
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/bash | |
# bash-autopatch.sh | |
# A shell script that fully automates the "manual" patching of GNU Bash, using source and all known official patches. | |
# Contributed by Mike Marino, based on Steve Jenkins' manual Bash patching and compiling procedure at: | |
# http://stevejenkins.com/blog/2014/09/how-to-manually-update-bash-to-patch-shellshock-bug-on-older-fedora-based-systems/ | |
# This script is a "continuation" of Steve Cook's bash-multipath.sh at: https://gist.github.com/stevejenkins/3d64d3543060c1bcac92 | |
# Version 1.0 - October 10, 2014 |
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
<?php | |
/** | |
* Super-simple AWS CloudFront Invalidation Script | |
* Modified by Steve Jenkins <steve stevejenkins com> to invalidate a single file via URL. | |
* | |
* Steps: | |
* 1. Set your AWS Access Key | |
* 2. Set your AWS Secret Key | |
* 3. Set your CloudFront Distribution ID (or pass one via the URL with &dist) | |
* 4. Put cf-invalidate.php in a web accessible and password protected directory |
NewerOlder