Thursday, March 25, 2021
Change Timezone Linux
https://www.hivelocity.net/kb/how-to-change-date-time-zone-on-linux-server/
https://linuxize.com/post/how-to-set-or-change-timezone-in-linux/
https://askubuntu.com/questions/3375/how-to-change-time-zone-settings-from-the-command-line
Thu Aug 13 08:33:22 IST 2020
$
$timedatectl set-timezone Asia/Calcutta
$date
Thu Aug 13 08:34:22 IST 2020
$timedatectl set-timezone America/New_York
$date
Wed Aug 12 23:04:49 EDT 2020
$timedatectl set-timezone Asia/Calcutta
$date
Thu Aug 13 08:35:21 IST 2020
$ls -l etc/localtime
ls: cannot access etc/localtime: No such file or directory
$ls -l /etc/localtime
lrwxrwxrwx 1 root root 35 Aug 13 08:35 /etc/localtime -> ../usr/share/zoneinfo/Asia/Calcutta
$date
Thu Aug 13 08:36:59 IST 2020
$date
Thu Aug 13 08:37:04 IST 2020
Tuesday, March 23, 2021
Jetbrains IntelliJ Idea Java IDE - Shortcuts /Tips
Alt Key + Mouse Scroll is the New Text Zoom In/Out in NetBeans
https://stackoverflow.com/questions/17385916/intellij-how-to-zoom-in-out/17387262#17387262
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
Monday, March 22, 2021
In GitHub, is there a way to see all (recent) commits on all branches?
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.
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
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.
- Each team member comes up with the size of the story related to the reference user story.
- Team members show the card to everyone.
Maven Wrapper - What, Why & How
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. Setting Up the Maven Wrapper
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
Azure - Pipeline - Add Approver for Stage
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
https://www.baeldung.com/spring-properties-file-outside-jar https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-featu...
-
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
The decision was made to block such external HTTP repositories by default https://stackoverflow.com/questions/66980047/maven-build-failure-d...