Sunday, November 3, 2019

How to run SonarCube for C#

How to install SonarCube:
https://docs.sonarqube.org/latest/setup/get-started-2-minutes/
(I had a problem with Elastic Search. The error was about privileges, but in fact it was just because the disk partition it was running on was +95% occupied. I just deleted some stuff and it worked.)

How to install MSBuild for .NET Framework or .NET Core:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-2

How to run the scan:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-3

Friday, September 20, 2019

Visual Studio Preferences

Plugins:

Select Next Occurence (deprecated)
OpenInVisualStudioCode (deprecated)
ProductivityPowerPack2017/219 (deprecated)
btVisualStudioExtensions

Follow Active File in Solution Explorer

Adds Advanced Save Options to menu

Change Hotkeys (Tools > Options > Text Editor> Keyboard):
Ctrl+N: Next Ocurrence
Ctrl+Shit+L: SelectAllOccurences

Adds New Line For Bracket

Disable File Preview Mode

Camel Hump

Resharper

Configs (Tools > Options):

Text Editor > C# > Code Style > Formatting > New Lines:
  • Uncheck all of them but "new line options for expressions"
Projects and Solutions > General > Check "Track Active Item in Solution Explorer

Burlar / Bypass PayWalls

https://burles.co/

Wednesday, May 1, 2019

How to configure Tomcat Server on Netbeans

https://www.youtube.com/watch?time_continue=198&v=psvuLBVeTzQ

NetBeans 10 project error "maven java EE support missing"

If trying to solve the problem on the interface doesn't work because it couldn't find the missing components, you should go to "Tools >  Plugins > Settings" and check "NetBeans 8.2 Plugin Portal".
Try to solve the project's problem again. It should work now.

Monday, April 22, 2019

How to configure Github SSH Key on windows

I followed below in windows (With Git for Windows installed)
  1. Run "Git Gui" (Start --> Git --> Git Gui)
  2. Click Help and then Show SSH Key
  3. Click Generate Key if you do not have one already
Note:- this creates the key files under your personal profile folder C:\Users\YourUserID\.ssh\
enter image description here
source: https://stackoverflow.com/questions/11771378/ssh-keygen-is-not-recognized-as-an-internal-or-external-command

Monday, April 1, 2019

How to install Java JDK and Netbeans 10 on Windows 10

Enviroment with Java OpenJDK and Netbeans on windows 10


  1. Install RedHatJava OpenJDK .msi installer on https://developers.redhat.com/products/openjdk/download/.
    1. Use the installer to install Java
  2. Download Netbeans from https://netbeans.apache.org/download/nb100/nb100.html
    1. Move Netbeans to C:\Program Files
    2. Try executing Netbeans on netbeans\bin
    3. You can create a shortcut from your Netbeans executable file to the home screen.
  3. All ready.