This file contains hidden or 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
| ================================================================================ | |
| OPENAI/CHATGPT CLUSTERED REQUEST ANALYSIS | |
| ================================================================================ | |
| Total OpenAI/ChatGPT requests found: 1057130 | |
| Number of clustered events found: 296571 | |
| (Clustered = multiple different IPs requesting same URL at same time) | |
| -------------------------------------------------------------------------------- |
This file contains hidden or 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/env python3 | |
| from airtable import Airtable | |
| import os, glob, json | |
| # Debugging | |
| #folder = "./monit-sites/" | |
| folder = '/etc/monit/conf-available' | |
| scriptsfolder = '/opt/monit-scripts/' | |
| try: |
This file contains hidden or 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/env bash | |
| ########################################################################## | |
| # Shellscript: Backup and update WordPress using wp-cli | |
| # Author : Paco Orozco <[email protected]> | |
| # Requires : wp-cli | |
| ########################################################################## | |
| # Changelog | |
| # 20170125: 1.0 | |
| # Adds a default option to upgrade only when it's needed. | |
| # 20161220: 0.1 |
This file contains hidden or 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
| DOMAIN=$1 | |
| echo | openssl s_client -servername $DOMAIN -connect $DOMAIN:443 2>/dev/null|openssl x509 -noout -dates |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| wp site list --field=url | xargs -n1 -I % wp option update --url=% varnish_version 4 | |
| wp site list --field=url | xargs -n1 -I % wp option update --url=% varnish_control_terminal 127.0.0.1:6082 | |
| wp site list --field=url | xargs -n1 -I % wp option update --url=% varnish_control_key SECRET_KEY_HERE |
This file contains hidden or 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
| cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys' |
This file contains hidden or 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 | |
| import os | |
| import sys | |
| import csv | |
| import datetime | |
| import time | |
| import twitter | |
| def test(): | |
This file contains hidden or 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
| /** | |
| * Google Apps Script - List all files & folders in a Google Drive folder, & write into a speadsheet. | |
| * - Main function 1: List all folders | |
| * - Main function 2: List all files & folders | |
| * | |
| * Hint: Set your folder ID first! You may copy the folder ID from the browser's address field. | |
| * The folder ID is everything after the 'folders/' portion of the URL. | |
| * | |
| * @version 1.0 | |
| * @see https://github.com/mesgarpour |
NewerOlder