Skip to content

Instantly share code, notes, and snippets.

View monir-zaman's full-sized avatar
💭
Between Logic and Intuition

Monir Zaman monir-zaman

💭
Between Logic and Intuition
View GitHub Profile
@monir-zaman
monir-zaman / how to run a laravel project after cloning from github.txt
Created July 10, 2018 17:00
how to run a laravel project after cloning from github
Clone your project
Go to the folder application using cd command on your cmd or terminal
Run composer install on your cmd or terminal
Copy .env.example file to .env on the root folder. You can type copy .env.example .env if using command prompt Windows or cp .env.example .env if using terminal, Ubuntu
Open your .env file and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field correspond to your configuration.
By default, the username is root and you can leave the password field empty. (This is for Xampp)
By default, the username is root and password is also root. (This is for Lamp)
Run php artisan key:generate
Run php artisan migrate
Run php artisan serve
@monir-zaman
monir-zaman / maximum-element hackerrank.cc
Created May 26, 2018 18:46
hackerrank data structure stack
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long int n, tmp, mx, type, a;
cin>>n;
vector<int>mystack;
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int num[n];
@monir-zaman
monir-zaman / Array Manipulation hackerrank.cc
Last active May 25, 2018 12:13
array related problem in datastructure
////////////////////////////////////////
/////////// lets have some fun
///////////////////////////////////////
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, s;
cin>>s;
n = s/2;
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\title{Introduction to \LaTeX{}}
\author{Author's Name}
\maketitle
--query1
select "name",employee_code from instructor where id_desig in
(
select id_desig from designation where desig_name like 'Asst. Professor'
) and id_dept in
(
select id_dept from department where dept_code like 'CSE'
);
-- Drop all previous tables.
drop table employee;
drop table department;
drop table course_registration;
drop table student;
drop table degree_offered_by_dept;
drop table "degree";
drop table teaches;
drop table instructor;
monir
#include <bits/stdc++.h>
#include<windows.h>
#include<GL/glut.h>
#include<stdio.h>
#include<math.h>
int monir = 9999;
void init(void)
{
glClearColor(0.0,0.0,0.0,0.0);
glOrtho(-100.0, 100.0, -100.0, 100.0, -1.0, 1.0);