Skip to content

Instantly share code, notes, and snippets.

View mariadanieldeepak's full-sized avatar

Maria Daniel Deepak mariadanieldeepak

View GitHub Profile
Warning: preg_replace(): JIT compilation failed: no more memory in
/Applications/MAMP/htdocs/wordpress/wp-includes/formatting.php on line 2110
Warning: preg_match(): JIT compilation failed: no more memory in
/Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 4947
Warning: preg_replace(): JIT compilation failed: no more memory in
/Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 4843
Warning: preg_match(): JIT compilation failed: no more memory in
/Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 4947
Warning: preg_match(): JIT compilation failed: no more memory in
/Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 4947
@mariadanieldeepak
mariadanieldeepak / checkout-submodule-tags.sh
Created November 20, 2019 02:24
Checkout Tag On Git Submodules
# List available Tags
git tag
# Checkout a tag in the main repo.
git checkout <tagname>
# Initialize any uninitialized submodule and recursivesly update the Submodules.
git submodule update --init --recursive
p {
text-transform: capitalize;
}
@mariadanieldeepak
mariadanieldeepak / remove-files.sh
Last active May 7, 2023 16:57
List Files Modified X Days Ago
# Remove all files that were modified until two days ago.
find /path/to/directory -type f -mtime +2 -delete
# Remove all files in current directory.
find . -type f -mtime +2 -delete