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
<?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> |
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 | |
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 |
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
# | |
# 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: | |
# |
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
<?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"> | |
<array> | |
<dict> | |
<key>phrase</key> | |
<string>[email protected]</string> | |
<key>shortcut</key> | |
<string>;email</string> | |
</dict> |
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 | |
# Lists all workflows folder secrets in a simple list | |
echo "" | |
echo "List all secrets/variables in one simple list...\n" | |
grep -oh '\${{ secrets\.[^}]*}}' *.yml | sed 's/\${{ secrets\.\([^}]*\)}}/\1/' | sort | uniq | |
# Extract 'name' from each YML file | |
echo "\n--------------------\n" | |
echo "What does each file do?\n" |
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
SELECT count(http.statusCode) | |
FROM Transaction | |
WHERE appName = {{appName}} | |
FACET CASES( | |
WHERE http.statusCode = 100 AS '100 Continue', | |
WHERE http.statusCode = 101 AS '101 Switching Protocols', | |
WHERE http.statusCode = 102 AS '102 Processing', | |
WHERE http.statusCode = 103 AS '103 Early Hints', | |
WHERE http.statusCode >= 104 AND http.statusCode <= 199 AS '104-199 Unassigned', | |
WHERE http.statusCode = 200 AS '200 OK', |
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
name: 'CacheTag Inject' | |
type: module | |
description: 'Allows developers to edit an array of Node IDs or URI paths to assign specific CacheTags.' | |
core_version_requirement: ^10 | |
package: Custom | |
dependencies: | |
- drupal:node |
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/zsh | |
# Charlton's workstation maintenance script | |
# This script is a simple shell script that updates the shell and various libraries. | |
# It’s a good idea to run this script every week or so to keep a workstation up to date. | |
# The script can be saved in the `~/bin` directory as executable. | |
# $ chmod +x ~/bin/maintenance.sh |