Monday, October 24, 2016
Monday, September 19, 2016
The mvnw tool which is wrapper on top of maven needs to be installed by following the example set at https://github.com/vdemeester/mvnw .
First need to checkout the tool :
git clone git://github.com/vdemeester/mvnw.git/.mvnw
Then you need to add the following environment variable within .bashrc:
then enable it :
Dodo written by Javed Mandary at 7:51 PM
This article assumes that you are installing on Ubuntu the version 3.3.9 of maven ( currently latest version as am writing entry ):
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz
Once this is done add to you environment variables by editing .bashrc:
export MAVEN_OPTS="-Xms256m -Xmx512m"
then apply it by executing :
Dodo written by Javed Mandary at 7:51 PM
Sunday, August 21, 2016
Airfare Promo to Singapore/Kuala Lumpur ***Rs 17,800***
4 Nights in Kuala Lumpur (3 star hotel) ***Rs 24,000***
4 Nights in Kuala Lumpur (4 star hotel) ***Rs 26,000***
4 Nights in KL, 2 Nights in Singapore ***Rs 31,500***
3N in KL, 2N in Singapore, 3N in Bangkok ***Rs 45,000***
3N in KL, 2N in Singapore, 3N in Bali ***Rs 43,500***
Dodo written by Javed Mandary at 9:20 PM
Sunday, August 07, 2016
I need to already make you aware that am neither working for Apollo nor have medical expertise it is just my own personal experience which am relating in this post so do take this into consideration please.
Note also that there are many Apollo hospitals in Chennai which specialise in terms of :
3. Heart & Lungs
I went to the main Hospital on Greams Lane which is a more general type of Hospital so the pictures and details will relate to this hospital although the other hospitals are pretty close by.
Before going to Chennai you need to make sure that you have the following :
- Already contacted Apollo Hospitals we used to contact via the email address: email@example.com and their website address is chennai.apollohospitals.com
- You need to have already scanned all your medical reports and sent to the representative of the International Patients Division
- They usually respond either the same day or the very next day , I also received a phone call once I had my phone number within my email signature
- In parallel check properly with local Doctor whether the patient actually needs to be treated abroad, this is very important else you will just spend a lot of money for nothing when you could have had the treatment or part of the treatment within your own country
- Get approval and a written report summary of the condition of the patient from your local doctor and approval that the patient is fit to travel and that he/she should seek medical treatment abroad .
- You need to then get the appropriate Medical visa for the patient and the attendees , this is normally a fast enough process , you can get it within 3-5 days in Mauritius , you will probably be asked to fill an online visa form ( https://indianvisaonline.gov.in/visa/index.html )
- Once you get the approval and report from your Local Doctor and your medical visa you can now tell Apollo around your trip so you will need to choose your room type ( Private rooms are comfy enough ) and when to pick you up at the airport.
- When asking for pickup from Apollo do mention the number of passengers and lugage such as the right type of taxi can come pick you up that is either a car or SUV
- A flight on Monday's to Chennai from Mauritius with a technical stop at Bengalaru ( you stay in the plane for 1 hour in Bengalaru then you travel to Chennai )
- A flight back to Mauritius every Tuesdays from Chennai
- Fastest flight would be around 6 hours something
The picture above gives you an idea in terms of flight from Air Mauritius as well as costs although there are also flights from Emirates but which are more costly.
Be careful when booking your flights because there are flights which involve transit in Mumbai or Delhi with some lengthy transit times . Depending on the state of the patient I would recommend to choose the direct flight and plan well in advance ( if possible ).
In my case we took business class because of the extra room space but mind you that does increase the cost of the travel a lot .
I always take Atom Travels for my business trips so I asked them to book for my parents and myself for this medical trip , Henna from Atom was very helpful and quickly sorted out all issues in terms of flight bookings for us . So if your in Mauritius try Atom Travels for your booking , they are a responsive and very professional travels agency.
If you need a wheel chair please make sure that you have it as a remark within your Ticket and do ask for one at the departure counter in Mauritius when your check-in.
Normally a staff will come with a wheel chair and breeze you through all the queues and counters rapidly such as you can board your plain with minimal issues.
Basically your like a VIP if your going with somebody in a wheel chair, so do expect some stares from other passengers as why on earth you have passed in front of them in queques and check points.
- Before travelling already ask for the approximate cost of the treatment for which you are going with Apollo , they will provide you with indicative cost range in USD
- Max out as much as possible your credit cards
- Ensure you have some amount of money with you in USD
- Try to enable your e-banking account such as you can make transfers from the internet directly
- Inform your bank that you will be outside of the country from what date to what date such as they allow the processing of your transactions whilst being abroad
- Install a currency convertor on your phone , this is always very useful
- Bed for the patient ( typical hospital beds )
- A cot for one medical attendant
- A TV screen with lots of Indian serials
- A private bathroom/washroom
- Air conditioning
- The hotel has opened its door since start of 2016 so its quite new at the point of writing of this blog .
- The service is very good and the staff were exceptionally helpful towards all the demands I had .
- The WIFI is decent enough but dont expect awesome connection speeds here
- The Buffet at Rs800 INR was absolutely great with a mix of different south indian dishes which I wouldn't have discovered on my own along with Biryani every single night
- Room prices were at Rs 4, 200 INR per night .
- There is also a small Gym on the 11th floor
The picture above shows the front the Apollo main hospital at Greams Lane off Greams road. It is a kinda of attractive location so not really gloomy as most hospitals are .
Once you go past the gates then you need to head to the Sindoori Block , this is where the international patients need to register themselves. This Sindoori Block also has a small Bistrot restaurant ,although food is not that great , your better off buying food outside.
- The patient is constantly being checked in terms of medicine that needs to be taken or blood samples that needs to be taken
- Doctors usually come at a predefined time , you can ask to them as many questions as you might have and discuss about your concerns , they typically provide as much information as possible
- Apollo Hospital has all facilities to do blood tests , image scans , MRI , etc.. within the same building or in Apollo hospitals nearby so you
- All reports are either received the same day or the next day which is not something possible for all analysis in Mauritius , so you save in terms of time
- A nutritionist is assigned to the patient that comes almost daily to check what the patient should be eating as advised by the doctor
- The room and wash room are kept very clean by the cleaners
- there is also WIFI in the hospital which you can use to consult mails or use WhatsApp .
- Nurses are very patient and friendly , at least the ones we had to deal with
- There are representatives of the hospital that check Quality Assurance in terms of service which is being offered and constant try to get feedback whether positive or negative
- You can order food for the attendant directly to your room
- Better WIFI connection because at times it wasn't that great and WIFI is important to keep in contact with folks back home
- Time to order food for attendants is very fixed past 12:30
- Faster checkout procedure for preparing bill
- Stairways to the attendants instead of relying on elevators that most of the time are crowded
- European / American channels in the Private rooms
- Better air conditioning in the rooms , ours had a problem with changing the temperature
- Mosquito nets for the patient
- You need to provide a deposit at the start of the treatment
- You can regularly monitor the expenses by calling the billing department , the number is available next to the phone
- You can pay for expenses all throughout the day the service runs 24/7
- There are two offices for paying the biggest one runs 24/7 and is next to Sindoori Block , and there is a second smaller / faster office which is on the main block itself
- Doctor expenses are available only on checkout day
- It takes half a day for preparing the full expense bill including doctor expense
- The SBM debit card works for payment
- Apollo also takes foreign currency , so you can pay in USD dollars.
Here I must say I was a bit disappointed because we had to wait a long time to get our final bill although we mentioned well in advance that we wanted to have everything settled asap when we went to the big billing department we also had a very unpleasant staff talking to us but his other colleagues were much more courteous
Transport in Chennai
- There is a rickshaw stand in front of the main gate as you can see below . If you want to go anywhere always keep a copy of the address on piece of paper or as a photo explain to them where you wanna go and if they don't understand ask to call the place where you need to head to . For example in once instance they didnt understand where the IBIS hotel was located so they called and got the directions.
- You also have the excellent option of using OLA cabs , but for that you need to get an Indian SIM card. Once you have that and data on the card then all you need is to register on either the Android or iOS version of the app , enable your GPS and book a cab to take you to your destination. It is a very efficient service if you are scared taking the rickshaw.
Do not expect a lot from inside the terminal once you passed the very serious military guards that will do all kind of excessive checks . The terminal seems old and not well kept , it is really nothing compared to Delhi's luxurious airport terminal .
Business lounge is also not great at all and seems more like a cafeteria.
So once this is done all you need is wait for your flight and fly back home!
Dodo written by Javed Mandary at 12:46 PM
Tuesday, April 12, 2016
- First do an update :
- Then execute the install :
You will be prompted to enter at some point the password , so do that on the screen.
You can check whether the service is running using the following command :
To create a database or execute any command you need to access mysql prompt and provide password:
mysql -u root -p
Dodo written by Javed Mandary at 4:49 PM
Friday, April 08, 2016
You need to first follow the instructions for setting up docker :
- identify your Ubuntu instance in my case I wanted to run it with JDK 8 so first navigate to Docker Hub :
- Then choose the correct docker image version :
This will download the Tomcat 8 with JDK 8 image and start it on port 8080 .
You will be able to access your tomcat instance http://public_id_address:8080
- To check which docker containers are running execute the command
sudo docker ps
You should see something like this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
40586996cebe tomcat:8.0.33-jre8 "catalina.sh run" 31 minutes ago Up 31 minutes 0.0.0.0:8080->8080/tcp jolly_almeida
- To stop the docker container choose the docker container id , which you find when doing docker ps :
sudo docker stop 40586996cebe
- To restart the tomcat conatiner re-execute:
sudo docker run -it --rm -p 8080:8080 tomcat:
Dodo written by Javed Mandary at 3:35 PM
Note that another option would be to use docker but right now I want to do it from scratch first.
So the first requirement is obviously to have a Ubuntu instance running , in my case its on Amazon's awesome EC2 service.
Once you have launched your instance follow the following instructions:
- Download Tomcat 8.0.33 ( not that there might be a later version so change URL accordingly)
- Extract the tar.gz file in your /home/ubuntu directory
tar xvzf apache-tomcat-8.0.33.tar.gz
Now that this has been done move the tar.gz to /opt/tomcat ( create directory if not avalailable)
sudo mkdir /opt/tomcat
sudo mv apache-tomcat-8.0.33 /opt/tomcat
OpenJDK 7 install
JDK 7 is not available by default on the ubuntu EC2 image ( at least the one am using ) so you might want to installing using:
apt-get install openjdk-7-jdk
Check that it installed using
Set your environment variables by doing
Then appending the following at the end of the file ( Remember to change to actual location of your tomcat install )
Execute the following command to take effect:
To test that your tomcat install is working simply do :
You should be able to access your tomcat instance page by going to ;
Note that you get your my_public_ip_adress from your EC2 Instances page on the Public IP column .
If you cannot access the URL try clicking on the Security Groups link on the Instances page against your instance .
Then add a TCP rule on the Inbound tab :
That should be it , not re-start or whatever required.
Note that if you do not have an elastic ip address assigned to your ubuntu EC2 instance each time you shutdown and restart the server the Public Ip address will change dynamically .
We are going to install the WAR for Jenkins 2 so simply download the WAR
However do note that you need to check what is the current war from the Jenkins 2.0 site , always use the latest version !
Shutdown your tomcat it is up:
Ok now we have downloaded Jenkins lets copy it to /opt/tomcat/webapps
sudo mv jenkins.war $CATALINA_HOME/webapps
Restart your server
Now navigate to the following location to continue with the Jenkins install
I will create another post for what is in regards to configuration of Jenkins .
Dodo written by Javed Mandary at 1:01 PM
Thursday, April 07, 2016
but that didn't work out instead you need to do add the following repository:
sudo apt-add-repository ppa:webupd8team/javaThen execute
sudo apt-get update sudo apt-get install oracle-java8-installer
Optionally if you have multiple versions of the JDK then you choose which JDK should be the default one:
sudo update-alternatives --config javaBasically you choose the number and thats it.
You verify by doing :
Dodo written by Javed Mandary at 2:05 PM