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 | |
# =============================================================== | |
# Open File Descriptor Watchdog | |
# =============================================================== | |
# | |
# This script monitors the number of open file descriptors (FDs) | |
# per process on a Linux server. If any process exceeds the | |
# defined threshold, it sends a Telegram alert with process info. | |
# |
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
"""Here are some keywords one might use to find this email regex: | |
- Python etract email addresses using regular expression | |
- Python extract email from text | |
- How to extract email addresses from a block of text using Python | |
""" | |
import doctest | |
import re |
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
{% comment %} | |
Do you have customized form fields on the product pages of your Shopify store? | |
Shopify's order confirmation email does not automatically display the values the customer inputs. Here's how to includes them manually. | |
1. Go to Settings in the Shopify admin | |
2. Click Notifications | |
3. Click the link Order confirmation to open the template editor | |
4. Now copy and paste this code in the template right in the section where the order's line items are rendered. | |
Look for a line that contains {{line.variant.title}}. You'll want to experiment with the code location. |
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
// |