Create AWS VPC, public subnet, using terraform

In my previous post I showed you how to create EC2 instance using terraform. In this post I will show you how to create VPC, create public subnet in two availability zones and then add load balancer and an internet gateway to allow traffic. Also add EC2 instances and run Apache server on them and allow traffic to the servers through load balancer. And I will show you how to create this infrastructure as code by using Terraform.

Read more ›
Tagged with: , , , , , ,

AWS instance creation with terraform

Cloud provides us the provision to create infrastructure with much ease. You can upgrade or scale up the servers with just few clicks. At one side this functionality of cloud is a big advantage. Whereas on the other side its difficult to manage or track the infrastructure.

Read more ›
Tagged with: , , , , , ,

Angular how to solve sanitizing URL problem

I am working on a application where I have to open a mobile app. While getting data from web service and creating dynamic url with id I am getting following error in browser ‘core.js:7083 WARNING: sanitizing unsafe URL’. Because of this warning message, I was not able to to open mobile application because unsafe keywords gets added in the browser and the URL becomes ‘unsafe:appname://jointournament?id=1001’ .

Read more ›

Angular custom pipes – remove white spaces

Pipes

A pipe transform the input stream into a desirable format. In Angular pipes are helpful to format the Strings, Date and Numbers into presentable or desired format. Angular comes with many builtin pipes. To use the pipes we will add pipe operator ( | ) inside the interpolation expression. Read more ›

Tagged with: , ,

Install and run Tomcat on Mac

Apache Tomcat is an open source web server by Apache Software Foundation. Apache Tomcat is used to host Java server pages and Java Servlet. Basically its a Java web server. Its a well matured web server and largely used in the industry.

Read more ›

Tagged with: , , ,

Upload projects in GIT Hub

Git is a free and open source version control system. Its very easy to use and very popular version control system which handle small and large projects very efficiently.  Whereas GitHub is a hosting place to host your source code based on Git. On GitHub you can manage your projects, track issues and work in a team from anywhere in the world.

Read more ›

Tagged with: , , ,

Installing MySQL on MAC

Installing MySQL and then running is not same as you are installing and running MySQL on windows. When I first time installed MySQL on Mac I was not getting any clue how to start it. I am writing down the post to help beginners who want to set up MySQL on MAC.

Download MySQL community edition from the mysql website. Select the operating system in my case its Mac OS X. And download the DMG archive.

Read more ›

Tagged with: ,

Installing Maven on MAC OS

I am setting up my new MAC pro for Java development. As I am new to MAC, I find issues while installing and configuring JAVA_HOME variable. Finally I got the solution and I explained in my JAVA_HOME post that how to configure the variable. In this post I am going to show you how to install Maven on MAC. Read more ›

Tagged with: , , , , ,

How to set Java_Home variable in MAC

How to set JAVA_HOME on MAC

I shifted from Windows OS to MAC. And I face little time while installing and setting up JAVA_Home variable on the MAC. Searching multiple websites I find out that after MAC OS 10.5, Apple recommend a different way to set JAVA_HOME variable. I will mention both.

Read more ›

Tagged with: , ,

Setting Up Django in a Virtual Environment

In this post I am going to setup Django using Pip through command line.  And I will not use any editor like Visual Studio to create a web application in Django. In this way I will better explain the installation process of Django.  And there is no dependency on any code editor tool. You can use any code editor you like. If you are not familiar with Pip and how to setup a virtual environment, please read my post Python setup and creating virtual environment.

Lets create a virtual directory and name it “MyFristApp” by using the following command,

Read more ›

Tagged with: , , ,
Top