Skip to content

Instantly share code, notes, and snippets.

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

Deepak Mittal dpacmittal

🏠
Working from home
View GitHub Profile
@amboutwe
amboutwe / yoast_seo_canonical_change_woocom_shop.php
Last active March 6, 2025 17:20
Code snippets for the Yoast SEO canonical output
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Change the canonical link for the shop page
* Credit: Scott Weiss of somethumb.com
* Yoast Doc: https://developer.yoast.com/features/seo-tags/canonical-urls/api/
* Last Tested: Jan 25 2017 using Yoast SEO 6.0 on WordPress 4.9.1
*/
add_filter( 'wpseo_canonical', 'yoast_seo_canonical_change_woocom_shop', 10, 1 );
@danielwetan
danielwetan / nodejs-cicd-github-actions.md
Last active April 25, 2025 16:39
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder