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
| # create file to be encrypted, skip if already existing | |
| echo "My Secret Bank" >> file.txt | |
| # create encryption key | |
| # the longer the more secure | |
| # file only as secure as key file | |
| echo "Your Encryption Key" >> key.txt | |
| # encrypt | |
| gpg --cipher-algo AES256 --passphrase key.txt --symmetric file.txt |
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
| # GPG (GNU Privacy Guard) | |
| # Make Encrypted Copy of Files With Extension | |
| import os | |
| input_dir = '/share/backups/' | |
| output_dir = '/share/backups/encrypted/' | |
| passphrase = '/share/backups/passphrase.txt' | |
| extensions = {'.zip','.bak'} |
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
| # Photos placed in this folder and subfolders get automatically uploaded to photos.example.com and removed every 5 minutes. | |
| # Only put files here that you want to be moved to the photo respository. | |
| */5 * * * * root rsync -avz --exclude='*.mov' --exclude='*.MOV' --exclude="README.md" --remove-source-files -e ssh /media/photos/ user@photos.example.com:/var/www/html/assets/input/ > /dev/null 2>&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
| [Desktop Entry] | |
| Name=ZendStudio | |
| Comment=ZendStudio | |
| Exec=/usr/local/sbin/ZendStudio/ZendStudio | |
| Icon=/usr/local/sbin/ZendStudio/icon.xpm | |
| Terminal=false | |
| Type=Application | |
| Encoding=UTF-8 | |
| Categories=Network;Application; | |
| Name[en_US]=ZendStudio |
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
| <?php | |
| $web_email = 'you@example.com'; | |
| $subject = 'Email with Attachment'; | |
| $mime_boundary = '==Multipart_Boundary_x' . md5(time()) . 'x'; | |
| $headers = 'From: ' . $web_email. PHP_EOL . | |
| 'CC: ' . $web_email . PHP_EOL . | |
| 'MIME-Version: 1.0' . PHP_EOL . | |
| 'Content-Type: multipart/mixed;' . PHP_EOL . |
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
| touch /home/test/.Xauthority | |
| apt install x11-apps |
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
| sudo tcpdump ether host 00:1A:62:03:7F:05 |
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 Search Quality Evaluator Guidelines | |
| (How Google evaluators decide what results to show) | |
| https://static.googleusercontent.com/media/guidelines.raterhub.com/en//searchqualityevaluatorguidelines.pdf | |
| The Google Algorithm | |
| (How Google's search algorithms work) | |
| https://www.google.com/search/howsearchworks/algorithms/ | |
| Google E-A-T Checklist | |
| (Googles Expertise, Authority, and Trust Checklist) |
I use Phi often when deciding an element's dimensions in relation to other elements. Here's how to quickly look that up using Google and the number 36 for example. https://google.com/searcg?q=(2/(1 + square root(5)))*36