Tuesday, March 23, 2021

Jetbrains IntelliJ Idea Java IDE - Shortcuts /Tips

Try Ctrl+Mouse Wheel which can be enabled under File > Settings... > Editor > General : Change font size (Zoom) with Ctrl+Mouse Wheel



Auto-Save Feature in Jetbrains IDE
JetBrains-branded IDEs automatically save everything the moment you look away

https://stackoverflow.com/questions/28949290/turning-off-intellij-auto-save/28950477#28950477

http://thehunk.blogspot.com/2015/07/disable-auto-save-in-jetbrains-ide.html


How to merge Multiple Maven Projects Back into 1 Single Workspace/Window

https://stackoverflow.com/questions/8774024/intellij-working-on-multiple-projects/14637761#14637761


Whitelabel Error Page 

It means Error about not being able to find Error Page.  ðŸ˜‹ 





Monday, March 22, 2021

In GitHub, is there a way to see all (recent) commits on all branches?

https://stackoverflow.com/questions/33926874/in-github-is-there-a-way-to-see-all-recent-commits-on-all-branches/63925422#63925422


Click "Code" (left-most tab) on the main page for the repository. Under those 4 buttons ("master", "Go to file", "Add file", "Code") there is a blue rectangle. At the right end of that is a clock icon and a number. If the viewport of your browser is wide enough it even includes (hurrah) the word "commits". This is a link. Click and ENJOY!!!

Thanks for finding this! This is definitely the right answer. The Commits link feels so hidden in plain sight and really should be up with the other primary buttons (master, Go to File, etc). If you're having trouble finding it, ctrl+f for "commits" on the "Code" tab. 

ReadMe.md - Markdown

https://www.makeareadme.com/

https://blog.bitsrc.io/how-to-write-beautiful-and-meaningful-readme-md-for-your-next-project-897045e3f991

Sunday, March 21, 2021

Agile Story Point Estimation

https://www.c-sharpcorner.com/article/agile-story-point-estimation-techniques-t-shirt-sizing/

https://www.c-sharpcorner.com/article/agile-story-point-estimation-techniques-planning-poker/


T-Shirt Sizing

T-shirt Sizing is one of the Story points sizing technique to estimate user story usually used in agile projects. It's a relative Estimation Technique.

Rather than using a number of planning pokers, here, Items are classified into t-shirt sizes: XS, S, M, L, XL.

The term originates from the way T-shirt sizes are indicated in the US. Rather than having T-shirts in sizes 4, 5, 6 etc, there are just a few sizes: Small (S), Medium (M), Large (L) and Extra Large (XL) and so on.

Planning Poker

  1. Each team member comes up with the size of the story related to the reference user story.

  2. Team members show the card to everyone.

Maven Wrapper - What, Why & How

 Maven Wrapper- Why ?

This feature of Maven is borrowed from Gradle

We want to use different version of Maven in my Project than what is installed at my Computer, So we can Use Maven Wrapper
We use it to encapsulate our source code and Maven build system. 
This lets other developers build our code without having Maven pre-installed.
We don’t have to worry about installing the right version of Maven on the CI servers anymore!

2.1. Plugin

mvn -N io.takari:maven:wrapper

We can also specify the version of Maven:

mvn -N io.takari:maven:wrapper -Dmaven=3.5.2

The option -N means –non-recursive so that the wrapper will only be applied to the main project of the current directory, not in any submodules.

After executing the goal, we'll have more files and directories in the project:

  • mvnw: it's an executable Unix shell script used in place of a fully installed Maven
  • mvnw.cmd: it's the Batch version of the above script
  • mvn: the hidden folder that holds the Maven Wrapper Java library and its properties file

2.2. Manual

With a manual approach, we can copy files and folders seen above from another project to the main folder of the current project.

Afterwards, we need to specify the version of Maven to use in the wrapper properties file located in .mvn/wrapper/maven-wrapper.properties file


Usage without Binary JAR

By default, the Maven Wrapper JAR archive is added to the using project as small binary file .mvn/wrapper/maven-wrapper.jar. It is used to bootstrap the download and invocation of Maven from the wrapper shell scripts.

If your project is not allowed to contain binary files like this, you can configure your version control system to exclude checkin/commit of the wrapper jar.

If the JAR is not found to be available by the scripts they will attempt to download the file from the URL specified in .mvn/wrapper/maven-wrapper.properties under wrapperUrl and put it in place. The download is attempted via curl, wget and, as last resort, by compiling the ./mvn/wrapper/MavenWrapperDownloader.java file and executing the resulting class.

distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

Do the JSON keys have to be surrounded by Double quotes?

https://stackoverflow.com/a/949469/2413870

https://medium.com/@alifabdullah/never-confuse-json-and-javascript-object-ever-again-7c32f4c071ad


 Yes, JSON Keys are to be surrounded by Double Quotes
 JavaScript objects do not contain single or double quote marks around the keys when no spacing is used in the key name.
var person= {first name: “Depp”, address: “earth”}; //invalid// To prevent this error:
var person= {“first name”: “Depp”, "address": “earth”};

Linux Unix Redhat Tutorial VirtualBox, Install Ubuntu/Redhat on Virtualbox

ifCommand1Suceeds && RunCommand2

RunCmd1 ; IrrespectiveOfResultRunCmd2 ;

IfCommand1DoesNotRun || ThenRunCmd2


For those users who are switching from Fedora to Ubuntu, the yum tool is replaced with another great tool apt-get.
http://www.geekinterview.com/question_details/49964


-----------------Unix-------------------

https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/
BEST BEST BEST



CD's and DVDs are using ISO9660 filesystem
https://www.linuxnix.com/how-to-mount-dvd-or-cdrom-in-linux/


I have gnome Desktop etc
Install XWindows
Resolution A: Install the desktop related package groups after system install (Recommended)
Resolution B: Select "Desktop" mode (Server with a GUI in RHEL 7) as the default installation mode in Anaconda

https://access.redhat.com/solutions/5238  [Imp]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



https://blog.paranoidpenguin.net/2017/08/red-hat-7-4-virtualbox-guest-additions-issues/
sudo mount -o loop ~/VBoxGuestAdditions_5.1.27-117460.iso /mnt/vboxguest
mkdir /media/VirtualBoxGuestAdditions
mount -r /dev/cdrom /media/VirtualBoxGuestAdditions


etc/yum.repos.d/

yum install firefox
yum repolist all


x window System
startkde gnome-session xfce

http://www.faqs.org/docs/lnag/lnag_xwindows.html
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Reference_Guide/ch-x.html
https://en.wikipedia.org/wiki/Comparison_of_X_Window_System_desktop_environments

dnf vs yum vs apt
dnf??
https://www.linux.com/learn/what-you-need-know-about-fedoras-switch-yum-dnf



3
down vote
You can redirect output and run the ls process in the background.

ls > myls.txt &


VBoxManage.exe setextradata "Redhat 7.3" CustomVideoMode1 1366x768x32

/dev/disk/by-label/VBOXADDITIONS

https://access.redhat.com/solutions/253273
subscription-manager register --username (username used in RH web registration) --password (password in RH web login) --auto-attach

https://www.digitalocean.com/community/tutorials/how-to-set-up-and-use-yum-repositories-on-a-centos-6-vps

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/chap-Subscription_and_Support-Registering_a_System_and_Managing_Subscriptions.html

https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/


https://blog.paranoidpenguin.net/2017/08/red-hat-7-4-virtualbox-guest-additions-issues/

https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html-single/rhsm/index

subscription-manager register --username kawkaran --password FxsxED97 --auto-attach


RESET FORGOTTEN Password - Emergency Mode - Single User Mode

https://linuxconfig.org/recover-a-forgotten-root-password-on-redhat-7-linux-selinux-system

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass