This file contains 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 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 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 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 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"; | |
} |