Instead of occasionally create many posts for share a little piece of code or small tips, I'll share on this unique post which it'll grow with the time... and you can search with CTRL or CMD + F ;-)
Git
Ignore file globaly
If you need to set up global excluded files, you can set core.excludesfile configuration file to point to a global ignore file e.g:
Unix or Windows git bash:
git config --global core.excludesfile '~/.gitignore'
EOL and file-system permissions
Projects are sometimes on Windows, then on Linux or MacOS. With git, problems with end of line or with de file-system permissions can appears.
Solution to all theses problems is :
git config --global core.autocrlf true
git config --global core.fileMode false
With --global option the configuration is applied for every projets (past and future).
Each time that I'm on a new computer, I forgot the exact commands. Now, it's here!
Javascript
Good alternative to traditional wysiwyg editor
- Use only with JS: https://dev.to/neothone/editorjs-ou-une-belle-alternative-aux-editeurs-wysiwyg-traditionnel-2lcn
- Use on Symfony & EasyAdmin context: https://dev.to/neothone/editorjs-in-symfony-easyadmin-40ao
Top comments (0)