Skip to content

Instantly share code, notes, and snippets.

View vishalzanzrukia's full-sized avatar

Vishal Zanzrukia vishalzanzrukia

View GitHub Profile
@vishalzanzrukia
vishalzanzrukia / git_steps
Last active March 1, 2017 04:13
Git Steps for Developers
# Git setup steps
## Pre-requirements
* If you are using latest version of eclipse, ignore this step. Install egit plugin in eclipse : http://www.eclipse.org/egit/download/
* Install git in your system and make sure that it is accessible from command promt : https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
## Setup Environment Steps
**`NOTE : Every occurrence of << >> indicate the place holder, not actual value.`**
#### 1. Fork repository (You might be using some other clients like Gitlab, that does not matter here)
* Go to the repository (on htpps://github.com) where you are going to push your final code. It will be something like this : https://github.com/somecompany/somerepo
@vishalzanzrukia
vishalzanzrukia / git_maven_ssl.rst
Last active March 31, 2016 07:27
Add self sing certificate to Git and Maven

Maven

Maven is actually using JAVA_HOME environment variable configured into your system. So we need to tell to JVM that trust my certificate.

You can use following command to add certificate (.pem) file to your JDK (please make sure that you are using the same JDK for maven, you can check the JDK path used with maven using : mvn --version). I am giving below command as per my local machine paths, you can change accordingly.

keytool -importcert -file D:\me\info\Cyberoam_SSL_CA.pem -keystore "C:\Program Files\Java\jdk1.8.0_65\jre\lib\security\cacerts"

Please note that above solution will allow you to run mvn from command promt only. You might need to do some extra stuff if you are using maven plugin for eclipse or any other IDEs.

1.
yum install -y libpng
yum install -y libjpeg
yum install -y openssl
yum install -y icu
yum install -y libX11
yum install -y libXext
yum install -y libXrender
yum install -y xorg-x11-fonts-Type1
yum install -y xorg-x11-fonts-75dpi
@vishalzanzrukia
vishalzanzrukia / artist.json
Last active September 15, 2020 17:30
Artist json
{
"id":"ID-1",
"name":"XYZ",
"fees":"$4000-$5000",
"website":"www.xyz.com",
"categories":"Rock, Classic Rock, Dance, Pop, Holiday, Tribute Show, Cover Band, 1970s, 1980s",
"touringRegion":"International",
"production":"Local",
"agents":[{
"agencyId":"Agency 1",
@vishalzanzrukia
vishalzanzrukia / agency.json
Last active September 16, 2020 06:14
Agency Json
{
"id":"id-1",
"name":"ABC Private Ltd.",
"address":"A-56, Xyz Street",
"website":"www.xyz.com",
"city":"XYZ",
"zipcode":"898900",
"country":"India",
"phone":"0123456789",
"phone2":"1123456789",
@vishalzanzrukia
vishalzanzrukia / agent.json
Last active September 16, 2020 06:12
Agent Json
{
"id":"Id-1",
"agencyId":"AgencyId-1",
"name":"xyz",
"title":"Id-1",
"address":"Id-1",
"phone":"Id-1",
"agencyFax":"Id-1",
"responsibleTerritory":"Id-1",
"email":"xyz@domain.com",
@vishalzanzrukia
vishalzanzrukia / manager.json
Created September 16, 2020 06:10
Manager Json
{
"id":"Id-1",
"managementId":"ManagementId-1",
"name":"xyz",
"address":"Streed address, NY",
"phone":"0123456789",
"fax":"123456789",
"email":"xyz@domain.com",
"assistants":[{
"name":"Name-1",
@vishalzanzrukia
vishalzanzrukia / agentAssistant.json
Created September 16, 2020 06:30
Agent Assistant
{
"id":"Id-1",
"agentId":"AgentId-1",
"agencyId":"AgencyId-1",
"name":"xyz",
"phone":"0123456789",
"fax":"1234567890",
"email":"xyz@domain.com"
}
@vishalzanzrukia
vishalzanzrukia / management.json
Created September 16, 2020 07:08
Management Json
{
"id":"id-1",
"name":"ABC Private Ltd.",
"address":"A-56, Xyz Street",
"website":"www.xyz.com",
"city":"XYZ",
"zipcode":"898900",
"country":"India",
"phone":"0123456789",
"phone2":"1123456789",
@vishalzanzrukia
vishalzanzrukia / managerAssistant.json
Created September 16, 2020 07:16
Manager Assistant Json
{
"id":"Id-1",
"managerId":"M-id-1",
"managementId":"M-co-id-1",
"name":"xyz",
"phone":"0123456789",
"fax":"1234567890",
"email":"xyz@domain.com"
}