You can tell Git to ignore some files or directories using a pattern. However, there are some exceptions we don’t want miss files which are matched to the pattern. In…
Category: Software Engineering
Software Engineering | Công nghệ phần mềm | Genie Logiciel
Add git branch name to bash prompt
By default, git won’t display branch name to terminal prompt. To know which branch you are in, just run git branch command. However, if you want to customise how to…
Deploying a Grails App in a standalone Tomcat Docker container
Recently, I have written the post to keep how to dockerise Grails apps with an embedded Tomcat. However, we are entirely able to run Grails apps in a standalone Tomcat,…
Dockerising Grails applications with an embedded Tomcat
The applications built on the Grails framework can be run (often referred to deployment) on either standalone or embedded Tomcat. Grails applications can be deployed in a number of ways,…
Git shows files come along a specific commit
Sometimes we need to check which files were come along with a given commit so as to verify which is the missing file, for instance. I bet some of you…
Git tutorials
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance.
How to add a manifest file to jar file
JAR files support a wide range of functionality, including electronic signing, version control, package sealing, and others. What gives a JAR file this versatility? The answer is the JAR file’s manifest.
The manifest is a special file that can contain information about the files packaged in a JAR file. By tailoring this “meta” information that the manifest contains, you enable the JAR file to serve a variety of purposes.
This post will explain the contents of the manifest file and show you how to work with it, with examples for the basic features:
How to create an Executable Jar File
In Java programming, it is common to combine several classes in one .jar (“java archive”) file. Library classes are released in this fashion which these classes are packed into a…
How to upload a new project to a remote Git repository
I often forget how to upload a new project to a remote Git repository because that is rarely done. Thus I need to summarise the essential steps of this operation…
What is cache?
Bạn đã bao giờ từng đặt câu hỏi, đại loại như “Cache là cái gì? Hoạt động của cache như thế nào?”. Trong bài viết này tôi muốn giới thiệu…
