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/zsh | |
# This script will iterate over hourly intervals and download all logs matching a LQL query within each hour. At the end | |
# of this process you will end up with one JSON file containing all the logs. | |
# Adjust as needed; the following will download all logs matching the query between | |
#2025-05-12 09:00:00 and 2025-05-13 23:00:00 | |
YEAR_MONTH='2025-05-' | |
DAY=12 | |
HOUR=9 |
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
This Live Template makes creating new @inject properties super quick and easy. | |
See the images below to get the idea of how it works and how to set it up. | |
Read more about Live Templates in PhpStorm here: https://www.jetbrains.com/help/phpstorm/using-live-templates.html |
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
nice -n 20 sh -c 'find -name "IMG_00.jpg" -size +1M | xargs mogrify -resize 600x' |
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
UPDATE client SET email = CONCAT(REPLACE(email, '@', '-'), '@mailinator.com'); |
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 | |
REMOTE_NAME='name' | |
REMOTE_PASS='pass' | |
REMOTE_HOST='host' | |
REMOTE_DB='db' | |
LOCAL_NAME='name' | |
LOCAL_PASS='pass' |
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
.trumbowyg-viewHTML-button:after { | |
font-family: FontAwesome; | |
content: "\f121"; | |
} | |
.trumbowyg-undo-button:after { | |
font-family: FontAwesome; | |
content: "\f0e2"; | |
} |