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

‎‎​

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

‎‎​

@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 / status.md
Last active November 25, 2022 04:46
statsu

BRB. TOILET 🚽

@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 / onboarding.md
Created October 26, 2022 12:02
onboarding ideas

{{ $t( 'youCanAlwaysAccessThisSetupWizardFromTheSettingsMenuInTheTopRightCorner' ) }}

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

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. })

{
"template": {
"scope": "vue",
"prefix": "template",
"body": ["<template>", " $1", "</template>"],
"description": "Create <template> block"
},
"script setup": {
"scope": "vue",
"prefix": "script setup",
@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 {&quot;path&quot;:&quot;added-date&quot;,&quot;transformers&quot;:[{&quot;name&quot;:&quot;date&quot;,&quot;arguments&quot;:[&quot;YYYY-MM-DD hh:mm a&quot;]\}],&quot;type&quot;:&quot;Date&quot;\} }} PDT'.replace(/-/g, "/"))
// Automate Day Light Savings
const DLS = timeFormatPT.getTimezoneOffset()/60 === 7 ? 'PST' : 'PDT';
timeFormatPT = new Date(`{{wf {&quot;path&quot;:&quot;added-date&quot;,&quot;transformers&quot;:[{&quot;name&quot;:&quot;date&quot;,&quot;arguments&quot;:[&quot;YYYY-MM-DD hh:mm a&quot;]\}],&quot;type&quot;:&quot;Date&quot;\} }} ${DLS}`.replace(/-/g, "/"))