Skip to content

Instantly share code, notes, and snippets.

Avatar

Md Mazedul Islam Khan iamazik

View GitHub Profile
@iamazik
iamazik / tailwind.config.js
Created Jun 17, 2020
Tailwind CSS `grid-template-columns: auto-fit; grid-template-columns: auto-fill;` and `grid-template-rows: auto-fit; grid-template-rows: auto-fill;`
View tailwind.config.js
module.exports = {
purge: [],
theme: {
extend: {
gridTemplateColumns: {
'auto-fit': 'repeat(auto-fit, minmax(0, 1fr))',
'auto-fill': 'repeat(auto-fill, minmax(0, 1fr))',
},
gridTemplateRows: {
'auto-fit': 'repeat(auto-fit, minmax(0, 1fr))',
@iamazik
iamazik / 143010200006_final_lab.sql
Created Aug 8, 2017
Database Management System Lab Final
View 143010200006_final_lab.sql
CREATE DATABASE `dbms`;
USE `dbms`;
-- 1
CREATE TABLE `college`(
`cname` varchar(50),
`state` varchar(10),
`enrollment` INT
);
View 143010200006.sql
-- 1
CREATE TABLE `teachers` (
`teacher_id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(50) NOT NULL,
`designation` VARCHAR(50) NOT NULL,
`department` VARCHAR(50) NOT NULL,
`phone_number` INT NOT NULL,
PRIMARY KEY(`teacher_id`)
);
@iamazik
iamazik / gpg.md
Created Feb 21, 2017 — forked from LauLaman/gpg.md
Use GPG to sign commits using git & PHPStorm
View gpg.md

1 - install GPG tools : https://gpgtools.org/

2 - Create new key for your github email

3 - Add key to git on your local machine: git config --global user.signingkey YOURKEY

4 - configure git to sign all commits: git config --global commit.gpgsign true

5 - add to the bottom of ~/.gnupg/gpg.conf:

@iamazik
iamazik / .htaccess
Last active Dec 14, 2015
Laravel 5.1 Installation on Shared Hosting
View .htaccess
#
# Please, add this .htaccess file to your root directory.
# If you've added all the Laravel files to your root directory then everything should be fine.
# Else, you'll require to change the `public/` to your `foldername/public` where the public folder is located
#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
@iamazik
iamazik / materializecssform.css
Created Oct 19, 2015
Materialize CSS invalid class label top space fix
View materializecssform.css
input[type=text] + label:after,
input[type=password] + label:after,
input[type=email] + label:after,
input[type=url] + label:after,
input[type=time] + label:after,
input[type=date] + label:after,
input[type=datetime-local] + label:after,
input[type=tel] + label:after,
input[type=number] + label:after,
input[type=search] + label:after,
@iamazik
iamazik / area.c
Created Mar 20, 2015
Write a small C program to calculate and display the area of a rectangle using the formula mentioned in the example
View area.c
//
// main.c
// midterm
//
// Created by Md Mazedul Islam Khan on 3/21/15.
// Copyright (c) 2015 Md Mazedul Islam Khan. All rights reserved.
//
#include <stdio.h>
#include <math.h>
@iamazik
iamazik / 1.6.c
Created Mar 20, 2015
Write a program to output the following multiplication table
View 1.6.c
//
// main.c
// midterm
//
// Created by Md Mazedul Islam Khan on 3/21/15.
// Copyright (c) 2015 Md Mazedul Islam Khan. All rights reserved.
//
#include <stdio.h>
#include <math.h>
@iamazik
iamazik / 1.4.c
Created Mar 20, 2015
Write a program that will print the following figure using suitable characters
View 1.4.c
//
// main.c
// midterm
//
// Created by Md Mazedul Islam Khan on 3/21/15.
// Copyright (c) 2015 Md Mazedul Islam Khan. All rights reserved.
//
#include <stdio.h>
@iamazik
iamazik / 1.3.c
Created Mar 20, 2015
Write a program using one print statement to print the pattern of asterisks as shown below
View 1.3.c
//
// main.c
// midterm
//
// Created by Md Mazedul Islam Khan on 3/21/15.
// Copyright (c) 2015 Md Mazedul Islam Khan. All rights reserved.
//
#include <stdio.h>