Is there a valid reason for enforcing a maximum width of 80 characters in a code file, this day and age? [closed]

I think the practice of keeping code to 80 (or 79) columns was originally created to support people editing code on 80-column dumb terminals or on 80-column printouts. Those requirement have mostly gone away now, but there are still valid reasons to keep the 80 column rule: To avoid wrapping when copying code into email, … Read more

How to call VS Code Editor from terminal / command line

To open a file or directory use the command: code /path/to/file/or/directory/you/want/to/open For macOS users, it needs to be installed manually: Launch VS Code. Command + Shift + P to open the Command Palette. Type shell command, to find the Shell Command: Install ‘code’ command in PATH and select to install it. Restart your terminal.

How do I use Notepad++ (or other) with msysgit?

git config –global core.editor “‘C:/Program Files/Notepad++/notepad++.exe’ -multiInst -notabbar -nosession -noPlugin” Or, for 64-bit Windows and a 32-bit install of Notepad++: git config –global core.editor “‘C:/Program Files (x86)/Notepad++/notepad++.exe’ -multiInst -notabbar -nosession -noPlugin” Or, the following can be issued on the command line on either 32-bit or 64-bit Windows. It will pull the location of notepad++.exe from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)