“*** Please tell me who you are.” when using SSH key

Rungit config –global user.email “[email protected]”git config –global user.name “Your Name” Note: You are authenticated successfully but git needs your username & email to do a commit. It is not related to authentication. Your username/email can be different from your GitHub Account. You need to run the following commands for a single time. This user.name & user.email will be set globally in ~/.gitconfig file.

Using Node.js require vs. ES6 import/export

Update Since Node v12 (April 2019), support for ES modules is enabled by default, and since Node v15 (October 2020) it’s stable (see here). Files including node modules must either end in .mjs or the nearest package.json file must contain “type”: “module”. The Node documentation has a ton more information, also about interop between CommonJS and ES modules. Performance-wise there is always the … Read more

The @ symbol in java

The @ symbol specifies the Annotation types. This represents some metadata associated to your code The at sign character (@) indicates to the compiler that what follows is an annotation.

Eclipse C++ : “Program “g++” not found in PATH”

Today I have bumped into this problem and solved it in the following way. I pressed “Reset defaults” button everywhere I could find it in Eclipse settings (for example, Preferences/C++/Build/Settings/Discovery). After that the error disappeared and the code compiled successfully.

C++ Structure Initialization

If you want to make it clear what each initializer value is, just split it up on multiple lines, with a comment on each:

How to add multiple files to Git at the same time

To add all the changes you’ve made: git add . To commit them: git commit -m “MY MESSAGE HERE” #-m is the message flag You can put those steps together like this: git commit -a -m “MY MESSAGE HERE” To push your committed changes from your local repository to your remote repository: git push origin master … Read more