With GIT, a great cheat sheet is more efficient than a long text !
Few easy steps to moving GIT repository content to another repository preserving history
- Fetch all of the remote branches and tags to local index:
git fetch origin
- Create a new remote on local repository
git remote add new-origin email@example.com:vfac/newrepo.git
- To push all local branches a...
The database classicaly used with Symfony 4 is MySQL / MariaDB throught Doctrine project. However, some projects need a NoSQL database like MongoDB in replacement of the relational database. It's not a reason to not develop them with Symfony 4 !
The DoctrineMongoDBBundle is a project that allows...
Sometimes, you can have an internal server error (500) but you don't have any information in logs on it.
To determine and resolve this type of problem, the simplier way is to display directly the error on screen.
Be careful, this solution is not secured ! It can be used only for debuging.
When you administrate a server, it could be interresting to list all crontab from all users declare on it.
Naturally you will not connect with each user (if you can...) to check crontab.
To simply list crontabs, connect to server iwth root user and type the following command :
for user in $(cu...