Spring Shell Technology For Java development

This post is about the Spring Shell technology and its use in java. Experts of java development India have shared their best knowledge in this post for Spring Shell with the community people. If you have anything to ask, do it at the end. Technology: It is command line tool for Java applications to interact with java applications using spring shell framework. » Read more

Notes for Beginners of Software Development on Linux

Linux is a great platform for software development targeting servers or backends. In general, working on Linux is very productive. The problem that beginners on Linux face is the the learning curve is steep at the beginning. But believe me, after you get through the initial green steep learning step as in the figure below with some hard work, you will feel like working on a rocket in the yellow part. » Read more

Git Merging FAQs

git merge is frequently used during development of projects managed by git. There are many common questions about git merge and I find most are solved and discussed on StackOverflow. Here, I summarize useful ones so that others who want to learn git merge need to do the search again. Merge, rebase, fast forward and conflicts ∞Differences between git rebase and git merge. » Read more

Git Submodule Cheat Sheet

I summarize some commonly used commands that I find useful for working with git submodule. For the list of full commands, check the git submodule manual. Git.png In the following commands, I take scala-mode2 as an example as the submodule. Add a submodule ∞ git submodule init git submodule status git submodule add -f git@example.com/the-repo ./the-repo Get submodules ∞ During clone ∞ git clone --recursive git@example.org:repo In a cloned repository ∞ git submodule update --init --recursive Check out the master and update submodules ∞ git submodule foreach --recursive git checkout master git submodule foreach --recursive git pull Push the version changes to origin ∞ # cd the git repository first (not in submodule) git commit -am 'submodule updated' git pushDelete a submodule ∞ git submodule deinit ./the-repo git rm ./the-repo » Read more

Git through SSH Tunnel as Proxy

git is a great tool and it is common to have a git server over SSH possibly managed by gitolite. However, there are situations that we can not directly connect to the git server but be able to SSH to another node that can connect to the git server. The git server may allow only internal connections because of security. With the node that we can SSH to, we can still use the git server “directly” by setting up a SSH tunnel as a proxy for the git connection. » Read more

How to install Scala on Fedora Linux

How to install Scala on Fedora Linux How to install Scala on Fedora Linux:This tutorial introduces how to install Scala 2.9.2 on 64-bit Fedora Linux 17. There are some changes needed to make scala work on Fedora Linux 17. Please check it out in the answer.Continue reading: How to install Scala on Fedora Linux. How to install Scala from the official Scala distribution How to install Scala from the official Scala distribution:How to install Scala from the official Scala distribution? » Read more

diff and patch: Generating and Applying Patches

‘diff’ and ‘patch’ are tools to create patches and apply patches to source code, which is widely used in the open-source world, such as Linux kernel and application. patch: applying patches To apply a patch to a single file: $ patch < foo.patch If the foo.patch does not identify the file the patch should be applied to, you can specify the file: $ patch foo.txt < bar.patch Applying patches to a directory: $ patch -p1 < bar.patch Here, we set a “p level”. » Read more