Skip to content

Instantly share code, notes, and snippets.


Zahidul Hossain choyan

View GitHub Profile
View seller-dashboard.html
This example requires Tailwind CSS v2.0+
This example requires some changes to your config:
// tailwind.config.js
const colors = require('tailwindcss/colors')
module.exports = {
View ReactJS

Include multiple class inside CSS module

<footer className={ `${styles.footerArea} ${styles.footerLight}` }>


<TableCell align="center">
      'None': <p>We are not sure about this email.</p>,
View Free cool graphics
choyan /
Created Dec 30, 2020
Nginx reverse proxy setup for ExpressJS apps

Nginx reverse proxy setup with express server

Install nginx

sudo apt update
sudo apt install nginx
sudo ufw app list
sudo ufw allow 'Nginx HTTP'
sudo ufw status
systemctl status nginx
View Laravel Project setup with Virtual

Lamp Installation

sudo apt install lamp-server^

sudo systemctl stop apache2.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service

Composer Instal

View Git

Git Workflow

Initialize Git

git init
git add .
git commit -m 'new commit'

Create branch

git branch develop
View Flutter
View gulpfile.js
const gulp = require('gulp');
const plugins = require('gulp-load-plugins')();
const del = require('del');
const log = require('fancy-log');
const imagemin = require('gulp-imagemin');
const imageminMozjpeg = require('imagemin-mozjpeg');
const critical = require('critical');
const browserSync = require('browser-sync');
choyan / .zshrc
Last active Feb 7, 2020
My oh-my-zsh settings for elementary OS
View .zshrc
# =============================================================================
# Functions
# =============================================================================
printf "%03d" $[${RANDOM}%234+16] #random between 16-250
local signal=$(nmcli -t device wifi | grep '^*' | awk -F':' '{print $6}')
local color="yellow"
choyan / browsersync.js
Created Jan 29, 2020 — forked from tristanisfeld/browsersync.js
Gulp 4 - Multifile tasks w/ external config. Basic gulpfile template for use with multiple task files, using gulp-load-plugins
View browsersync.js
// =========================================================
// Gulp Task: browsersync
// NOTE: Using gulp v4
// Description: Sync sass, typescript, html, and browser
// using external config or add modify src
// npm install --save-dev browser-sync gulp-typescript gulpjs/gulp.git#4.0 gulp-load-plugins
// Options: node-sass gulp-sass || gulp-ruby-sass
// =========================================================
var config = require('../config.js');
var browserSync = require('browser-sync').create();