Simple list:
php -r "print_r(get_loaded_extensions());"
or, for detail list:
grep -iv "</body>" downloads/html/site/page1.html | grep -iv "</html>" | grep -iv "</HTML>" | grep -iv "</BODY>" > downloads/html/site/all.html
grep -iv "</body>" downloads/html/site/page2.html | grep -iv "</html>" | grep -iv "</HTML>" | grep -iv "</BODY>" >> downloads/html/site/all.html
grep -iv "</body>" downloads/html/site/page3.html | grep -iv "</html>" | grep -iv "</HTML>" | grep -iv "</BODY>" >> downloads/html/site/all.html
#..repeat as long as neccessary..
echo "
Copy all files into the '/maintenance' subfolder or whatever you like (this simplifies the use of .htaccess)
Copy actual .htaccess to .htaccess-ON
Create new .htaccess-OFF with the follow contents:
The general recommendation is no. The vendor directory (or wherever your
dependencies are installed) should be added to .gitignore
/svn:ignore
/etc.
# shortform git commands | |
alias g='git' | |
# show contents of all git objects in a git repo | |
find .git/objects/ -type f \| sed 's/\.git\/objects\/\///' | sed 's/\///g' | xargs -n1 -I% echo echo "%" \$\(git cat-file -p "%"\) \0 | xargs -n1 -0 sh -c | |
# push all branches to all remotes | |
git remote | xargs -L1 git push --all | |
# count lines of .js code in a repo |