Info: Laradock is a PHP development environment that runs on Docker.

Today we’ll switch to Laradock(docker) as the development environment for our already setup multiple laravel projects.

We will set up MySQL, Nginx, PHPMyAdmin step by step. You can also use combinations of servers, databases. Check out the list of combinations here.

First, let’s move our projects to a common folder. Your folder structure should look like this:-

base_folder/ 
project1
project2

Clone the laradock git repo inside base_folder:-
git clone https://github.com/Laradock/laradock.git

Now, you base_folder should look like this:-

base_folder/
project1
project2
laradock(repo)

Go to laradock/nginx/sites and make two copies of…


Problem

The problem is to print all from given source(starting point) and destination(ending point).

Prerequisites

  1. Basic understanding of Directed and Undirected Graphs.
  2. Adjacency List representation of a Graph(Array of LinkedList).
  3. Understanding of Dept First Search(DFS).

Understanding the concept

Given graph

Let take source = 2 and destination = 3.

Starting from 2 there are two way to go either 0 or 1. Let’s say go to 1. We have visited 2 and 1 now.


Overview

A simple tutorial for creating blinking cursor.

Procedure

We will first write HTML, CSS and Javascript step by step.

Basic HTML
Create a span tag that will contain the cursor. Give the span an id of cursor for referencing it in CSS and Javascript.

<html>
<head>
</head>
<body>
<span id="cursor">|</span>
</body>
</html>

CSS
Increase font size to make cursor more visible.

<html>
<head>
<style>
#cursor{
font-size: 30px;
}
</style>

</head>
<body>
<span id="cursor">|</span>
</body>
</html>

Javascript

<html>
<head>
<style>
#cursor{
font-size: 30px;
}
</style>
</head>
<body>
<span id="cursor">|</span>
<script>
var cursor = true;
var speed = 250;

Bharat Gupta

Software Engineer. React|React Native|PHP|Laravel

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store