Skip to content

Instantly share code, notes, and snippets.

View punit5658's full-sized avatar
🏖️
Work anywhere

Punit Patel punit5658

🏖️
Work anywhere
View GitHub Profile
@punit5658
punit5658 / composite-product.js
Created May 5, 2020 03:48
Composite Product Options
pageElem = jQuery('html').find('.pagination_elements');
pageElem.children().hide();
pageElem.find('li').slice(0,5).show();
jQuery('.composite_pagination').bind('DOMSubtreeModified', function(a,b){
pageElem = jQuery('html').find('.pagination_elements');
pageElem.children().hide();
if( pageElem.find('.pagination_element_current').nextAll().andSelf().length > 5 ){
pageElem.find('.pagination_element_current').nextAll().andSelf().slice(0,5).show();
}else{
pageElem.find('li').slice(-5).show();
@punit5658
punit5658 / config.inc.php
Last active April 20, 2021 16:04
How to access remote MySql using local phpmyadmin
Open Location of phpMyAdmin and edit : config.inc.php ( Command : sudo vi config.inc.php )
Add following line to end of the file :
<?php
$i++;
$cfg['Servers'][$i]['host'] = '192.168.1.133';
$cfg['Servers'][$i]['user'] = 'username';
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['compress'] = false;
@punit5658
punit5658 / installation.txt
Last active March 2, 2022 23:43
Node manager through NVM
Remove Node
brew uninstall --ignore-dependencies node
brew uninstall --force node
Update brew and install NVM
brew update
brew install nvm
Next, create a directory for NVM.
mkdir ~/.nvm
#### Issue description
#### Steps to reproduce the issue
1.
2.
3.
@punit5658
punit5658 / Issues.md
Created March 4, 2022 19:12 — forked from kibotu/Issues.md
Ticket Templates

Bug Report Template

Help your QAs and the rest of your Agile Team members report bugs consistently! Use the bug report template for Jira issues and speed up the issue preparation process. This template ensures the reporter will provide enough information for the team to reproduce and fix the bug.


Provide a general summary of the issue in the Title above.

Expected Behaviour