Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Chris Charlton ccharlton

🎯
Focusing
View GitHub Profile
@ccharlton
ccharlton / cloudflare_firewall_bulk_ip_whitelist.sh
Created Aug 4, 2018
Cloudflare firewall bulk IP whitelist
View cloudflare_firewall_bulk_ip_whitelist.sh
#!/bin/bash
IPADDRESS=("123.123.123.124" "456.456.456.457" "890.890.890.891")
echo "Adding IP addresses to Cloudflare Firewall..."
echo ''
for i in "${IPADDRESS[@]}"
do
:
# do whatever on $i
@ccharlton
ccharlton / quicksilver.yml
Last active Jun 23, 2020
Pantheon Quicksilver profiles pack
View quicksilver.yml
#
# Quicksilver configuration file
#
# Requirements:
# - Terminus Quicksilver plugin: https://github.com/pantheon-systems/terminus-quicksilver-plugin)
#
# Copy to $HOME/.quicksilver/quicksilver.yml
#
# To create your own repository with installable examples:
#
View com.tjluoma.generic-keepalive.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>