This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
long long int n, tmp, mx, type, a; | |
cin>>n; | |
vector<int>mystack; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int n; | |
cin>>n; | |
int num[n]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////// | |
/////////// lets have some fun | |
/////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int n, s; | |
cin>>s; | |
n = s/2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\begin{document} | |
\title{Introduction to \LaTeX{}} | |
\author{Author's Name} | |
\maketitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--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' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |