Skip to main content

Posts

How-to Generate Build-Numbers for Gradle Projects

Add the below stuff to your build.gradle file. Everytime build or any other task is executed the below code will generate date based build-no and insert into the application.properties file allprojects { updateVersionInApplicationProperties() } def updateVersionInApplicationProperties() { def configFile = new File('Webapp/src/main/resources/application-build.properties') if (!configFile.exists()) { configFile = new File('src/main/resources/application-build.properties') } println "Updating version to '" + getDate() + "' in ${configFile}" String configContent = configFile.getText('UTF-8') configContent = configContent.replaceAll(/info\.build\.version=.*/, "info.build.version=" + getDate()) configFile.write(configContent, 'UTF-8') } def getDate() { new Date().format('yy.MM.dd') }

Go For Java Developers

Data Types: String  --> string (defaults to "") Integer --> int    (defaults to 0) Double --> float (defaults to 0.0) Boolean --> bool (defaults to false)     final equivalent      const x string = "text"      Define      String x   -->    var x string       Initialize     x = "text" --> x = "text"      Define & Initialize     String x = "text" --> x := "text"    Collection      List list = new ArrayList<>();   --> var list []string                                                                       --> list := []string{"text"}            ...

HyperForm: A Practical Guide to Docker For Windows Administrators

Linux & Docker has succeeded in finding a place alongside Windows in many enterprise environments. More than ever before, Windows administrators need to be familiar with Linux & Docker and understand the relative strengths and weaknesses of the two platforms. Written for the Windows administrator, this guide provides practical information on integrating Linux, Docker, and Windows. At the writing of this guide Docker container tech for Windows is in the Tech-Preview state. And it will take even more time for most of the official docker images to be available for Windows.  In this guide, we'll be focussing on automation of the following workflows. Docker Containers running on top of Linux Virtual Machines. Linux Virtual Machines running on top of Hyper-V Windows Virtual Machines running on top of Hyper-V First , let's quickly glance over Docker  terminology and  container lifecycle. Image Is a container snapshot just like in a virtualization wo...

Leadership

In small business owner is the dominant personality. To max potential of business max to potential of owner If business growing/stagnant its direct reflection of leadership Biggest Obstacle   If someone told you they would pay you 1million if you get 20 customers?     - Apathy - is the biggest obstacle   How to batter apathy    Choice, Courage, Vision   How to maximize potential    max your time , effort , potential   1. Time   Our challenges      distracted, easy,   Determine value?     profit activity generates     achieve business vision     next level   Pareto Principle  Value   Input  Output  Return   A         1%      50%       5000%   B         4%      64%       1600%   C        20%   ...

How to Turn Your Idea Into a Money Making Business Right Now

Adv of online business ?    1. Low Startup Capital    2. Always Open for business!    3. Work Anywhere You Want!    4. Access to Global Market!    5. Cost Saving!   Four Costly Mistakes to Avoid!   1. Spending too much on website!   2. Spending too much on inventory!   3. Implementing marketing techniques blindly (track results)   4. Not doing a proper research!   Types of online business   1. Selling physical products   2. Selling virtual products   3. Selling services (Offer service help)   4. Selling other people's products or services   5. Selling advertisements How-to achieve online success!   1. Create awareness   2. Educational (Subscribe to mailing list)   3. Validate solution   4. Engage sales Market Research   1. Find best sellers   2. Can you add more features or customer service to differentiate.   Selli...