Skip to content

Instantly share code, notes, and snippets.

View zeshhaan's full-sized avatar
💬
I'm looking for a new job zeeshan.sh/resume.pdf

Mohammed Zeeshan zeshhaan

💬
I'm looking for a new job zeeshan.sh/resume.pdf
View GitHub Profile
.button-shine {
position: relative;
border: 0;
padding: 0.8rem 1.3rem;
border-radius: 4px;
cursor: pointer;
overflow: hidden;
outline: none;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
transition: all 0.2s ease;
@zeshhaan
zeshhaan / date-time-improved.js
Last active March 13, 2023 10:29
Custom Date Time in Webflow
var Webflow = Webflow || [];
Webflow.push(function() {
let timeFormatPT = new Date('{{wf {"path":"added-date","transformers":[{"name":"date","arguments":["YYYY-MM-DD hh:mm a"]\}],"type":"Date"\} }} PDT'.replace(/-/g, "/"))
// Automate Day Light Savings
const DLS = timeFormatPT.getTimezoneOffset()/60 === 7 ? 'PST' : 'PDT';
timeFormatPT = new Date(`{{wf {"path":"added-date","transformers":[{"name":"date","arguments":["YYYY-MM-DD hh:mm a"]\}],"type":"Date"\} }} ${DLS}`.replace(/-/g, "/"))
{
"template": {
"scope": "vue",
"prefix": "template",
"body": ["<template>", " $1", "</template>"],
"description": "Create <template> block"
},
"script setup": {
"scope": "vue",
"prefix": "script setup",

toast({ title: error.message, // required description: error.description, // optional.no defaults preset: 'error', // optional. defaults to "info" showClose: false, // optional. defaults to false timeout: 5000, // optional. defaults to 5000 icon: // optional. defaults to "info" icon. can also have none/empty. startSlot: // optional. overrides icon. can be used for adding custom icons, emojis, or even images. timestamp: // optional. defaults to empty/none. })

@zeshhaan
zeshhaan / onboarding
Created October 26, 2022 12:01
onboarding tabs ideas
‎‎​
@zeshhaan
zeshhaan / onboarding.md
Created October 26, 2022 12:02
onboarding ideas

{{ $t( 'youCanAlwaysAccessThisSetupWizardFromTheSettingsMenuInTheTopRightCorner' ) }}

@zeshhaan
zeshhaan / onboarding-grn.md
Created November 8, 2022 04:49
onboarding-grn

need check if order is split order

  1. by status DISPATCHED
  2. if order is from COMPANY OR BRANCH
@zeshhaan
zeshhaan / status.md
Last active November 25, 2022 04:46
statsu

BRB. TOILET 🚽

@zeshhaan
zeshhaan / tailwindncolors.md
Created December 10, 2022 11:03
tailwndcolors

Object.keys(tailwindColors) .filter( k => k !== 'inherit' && k !== 'current' && k !== 'transparent' && k !== 'default' && k !== 'black' && k !== 'white' )

@zeshhaan
zeshhaan / batrcg-control.md
Created December 21, 2022 02:27
batch control

‎‎​