Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 16 other followers

  • Archives

  • Categories

  • Stats

    • 236,375
  • Live Traffic

ElasticSearch: Indexing setup using Akka tutorial

Posted by Jai on March 21, 2014


Find ElasticSearch tutorial on github using Akka with test cases. The tutorial covers the search indexing setup using Akka.

Github

elasticsearch-akka repository uploaded on github explaining the ElasticSearch indexing setup using Akka Actors usage with test cases.

URL: https://github.com/jaibeermalik/elasticsearch-akka

README

Setup Index

Read the rest of this entry »

Posted in Akka, ElasticSearch, Git, Java, Scala | Tagged: , , , , | Leave a Comment »

ElasticSearch: Learn Java API usage with test cases

Posted by Jai on January 31, 2014


Find ElasticSearch tutorial on github using Java API with test cases.

Github

elasticsearch-tutorial repository uploaded on github explaining the ElasticSearch Java API usage with test cases.

URL: https://github.com/jaibeermalik/elasticsearch-tutorial

README

Following ElasticSearch concepts have been covered.
Read the rest of this entry »

Posted in ElasticSearch, Git, Java | Tagged: , , , , | Leave a Comment »

Gitorious: Ways to share your Git repository

Posted by Jai on October 28, 2013


We will cover the different ways you can share your remote git repository over internet. Gitorious is one of such solution allowing you to do same and we will cover how to get it up and running, configuring users, authentication mechanism, setting up ssh connection and setting up git repositories.

Git Repository

In the last post we covered to migrate svn repository to git repository , which means you already have your git repository set up done.

Share git repository

Check out the different possible ways to share your git repository,

  • File Share
  • SSH server git-shell
  • Apache http
  • Apache http + gitweb
  • github
  • gitorious
  • etc.

Choose the which suit best to your team requirements, company data policies, security requirements, user management, access control etc.
Read the rest of this entry »

Posted in Git, Tools | Tagged: , | Leave a Comment »

Running grunt from your maven build

Posted by Jai on October 24, 2013


This post shares a quick tip on running grunt from your maven build. You would be able to generate resources using grunt and handle those in your war files.

Grunt

Grunt  is javascript task runner. Have a look at grunt getting started  for further details.

Grunt Maven Integration

You can integrate grunt with maven using maven-antrun-plugin, as shared on github

Generate resource using grunt

To generate resource and to run grunt, you can use maven-antrun-plugin.
Read the rest of this entry »

Posted in Maven, Tools | Tagged: , , | 1 Comment »

Svn2Git: Migrating repository from Subversion to Git

Posted by Jai on October 23, 2013


Efficient enough Version Control System has always been a challenge based on your requirements of local, centralized or distributed version controlling. Git a distributed version controlling system helps us to achieve same painlessly and is already out for quite some time now with proven track record. In this post we will cover the steps to migrate from your existing version control system like SVN to Git.

Why Git

Some of the features of Git which makes it to standout,

  • Fixed the pitfalls and learning from SVN
  • Dramatic increase in operation speed (diff, merge, view history etc.)
  • Easy, Cheap and efficient branch operations
  • Full history tree available offline
  • Distributed, peer-to-peer model
  • Git’s repositories are much smaller than Subversions
  • Git branches carry their entire history
  • Git provides better auditing of branch and merge events
  • Git’s repository file formats are simple, so repair is easy and corruption is rare.
  • Backing up Subversion repositories centrally is potentially simpler – since you can choose to distributed folders within a repo in git
  • Git repository clones act as full repository backups
  • Walking through versions is simpler in Subversion because it uses sequential revision numbers (1,2,3,..); Git uses unpredictable SHA-1 hashes. Walking backwards in Git is easy using the “^” syntax, but there is no easy way to walk forward.

Read the rest of this entry »

Posted in Architecture, Git, Tools | Tagged: , , , , | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: