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
| # Add the necessary assembly to use SendKeys | |
| Add-Type -AssemblyName System.Windows.Forms | |
| # A short delay to give you time to focus the window where you want to paste | |
| Start-Sleep -Seconds 3 | |
| # Get the text from the clipboard | |
| $textToCopy = Get-Clipboard | |
| # Simulate Ctrl+V to paste |
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 | |
| """ | |
| Clipboard to Keystrokes Script | |
| Reads text from clipboard and types it out as keystrokes | |
| """ | |
| import pyperclip | |
| import pyautogui | |
| import time | |
| import sys |
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
| --- a/b/usr/local/pkg/pfblockerng/pfblockerng.inc | |
| +++ a/b/usr/local/pkg/pfblockerng/pfblockerng.inc | |
| @@ -1,7 +1,7 @@ | |
| - $resolved_host = gethostbyaddr($host) ?: 'Unknown'; | |
| - if ($host == $resolved_host || $resolved_host == 'Unknown') { | |
| + //$resolved_host = gethostbyaddr($host) ?: 'Unknown'; | |
| + //if ($host == $resolved_host || $resolved_host == 'Unknown') { | |
| $resolved_host = 'Unknown'; | |
| - } else { | |
| - $resolved_host = pfb_filter($resolved_host, PFB_FILTER_HOSTNAME, 'pfb_daemon_filterlog', 'Unknown'); |
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
| #!/data/data/com.termux/files/usr/bin/bash | |
| # run in termux | |
| # cd /sdcard/Download/ ; curl https://gist.github.com/james-martinez/fd1837faf21613123128f34ef4beb451/raw/9ba79c281850a8a826899b56d9b79414cd0ca44f/add-dod-certs-termux.sh| bash | |
| # Install required packages | |
| packages=( | |
| "curl" | |
| "unzip" | |
| "openssl" |
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
| #!/bin/bash | |
| # Miniconda for python3 | https://docs.conda.io/en/latest/miniconda.html | |
| # - Upgrade pip | |
| # - Ansible , pip | |
| # - Curl, conda | |
| # - Git, conda | |
| # - Terraform, conda forge | |
| # - Packer, conda forge | |
| # - Gnupg, conda forge |