Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Zahidul Hossain choyan

🎯
Focusing
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 = {
@choyan
choyan / readme.md
Created Dec 30, 2020
Nginx reverse proxy setup for ExpressJS apps
View readme.md

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 Git cheatsheet.md

Git Workflow

Initialize Git

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

Create branch

git branch develop
View Free cool graphics
https://iconscout.com/illustrations/
https://www.manypixels.co/gallery/
https://isometric.online/
https://www.opendoodles.com/
https://www.glazestock.com/
https://fresh-folk.com/
https://mixkit.co/
http://drawkit.io/
View Flutter setup.md
View ReactJS cheatsheets.md

Include multiple class inside CSS module

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

MULTIPLE CONDITIONAL RENDERINGS IN REACT with ENUM

<TableCell align="center">
  {
    {
      'None': <p>We are not sure about this email.</p>,
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
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();
@choyan
choyan / Gulpfile.js
Created Jan 7, 2020
Gulp 4 configuration for gulp-inject
View Gulpfile.js
const gulp = require('gulp');
const inject = require('gulp-inject');
// use to concat css files
function injectIntoHTML() {
// It's not necessary to read the files (will speed up things), we're only after their paths:
let sources = gulp.src(['./src/**/*.js', './src/**/*.css'], {read: false});
return gulp
View Vue-CLI related notes.md