Skip to content

Instantly share code, notes, and snippets.

View tahmidbintaslim's full-sized avatar
🎯
Focusing

Tahmid Bin Taslim Rafi tahmidbintaslim

🎯
Focusing
View GitHub Profile
@tahmidbintaslim
tahmidbintaslim / nvmCommands.js
Created June 14, 2024 04:14 — forked from chranderson/nvmCommands.js
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node
@tahmidbintaslim
tahmidbintaslim / ajax-cart.js
Created March 11, 2025 03:13 — forked from marioloncarek/ajax-cart.js
complete add bundle to cart shopify
import {formatMoney} from '@shopify/theme-currency/currency';
import {Power3, TweenMax} from 'gsap/TweenMax';
import $ from 'jquery';
const defaults = {
cartModal: '.js-ajax-cart-modal', // classname
cartModalClose: '.js-ajax-cart-modal-close', // classname
cartDrawer: '.js-ajax-cart-drawer', // classname
cartDrawerContent: '.js-ajax-cart-drawer-content', // classname
cartDrawerClose: '.js-ajax-cart-drawer-close', // classname