Skip to content

Instantly share code, notes, and snippets.

View khsuzan's full-sized avatar
🏠
Working from home

Kawsar Hossain khsuzan

🏠
Working from home
  • Dhaka, Bangladesh
  • 06:39 (UTC +06:00)
View GitHub Profile
const dateInput = document.getElementById('date');
dateInput.addEventListener('change', e => {
const inputDateString = e.target.value;
const today = new Date();
const minDate = new Date(inputDateString);
minDate.setDate(minDate.getDate() + 1);
if(today<minDate){
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;