Skip to content

Instantly share code, notes, and snippets.

View cvvishalkumar's full-sized avatar
🤓
Climbing the ladder to reach the summit of being a Salesforce MVP!

cvvishalkumar

🤓
Climbing the ladder to reach the summit of being a Salesforce MVP!
View GitHub Profile
@cvvishalkumar
cvvishalkumar / CTA_MSO_Snippet.html
Created February 19, 2026 06:40
CTA_MSO_Snippet
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" rel="noopener" target="_blank" rel="noopener" target="_blank" href="https://example.com" style="height:50px;v-text-anchor:middle; mso-wrap-style: none; mso-position-horizontal: center; mso-position-vertical: top;" arcsize="10%" stroke="f" fillcolor="#1F7F4C">
<w:anchorlock/>
<center>
<![endif]-->
<a rel="noopener" target="_blank" rel="noopener" target="_blank" href="https://example.com" style="background-color:#1F7F4C;;border-radius:5px;color:#ffffff;display:inline-block;font-size: 18px; font-family: Helvetica, Arial, sans-serif;font-weight:bold;text-align:center;text-decoration:none;-webkit-text-size-adjust:none;padding: 14px 24px;">I am a button &rarr;</a>
<!--[if mso]>
</center>
</v:roundrect>
@cvvishalkumar
cvvishalkumar / Bootstrap_Blank_Form.html
Created February 18, 2026 05:01
Bootstrap_Blank_Form
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
@cvvishalkumar
cvvishalkumar / Hybrid_Content_Blocks.html
Created February 18, 2026 04:54
Hybrid Content Blocks
<!--
Author: Vihal Kumar CV
Project: Hybrid Email with variety of content blocks
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@cvvishalkumar
cvvishalkumar / Blank_SFMC_HTML_Template.html
Created February 18, 2026 04:47
Blank SFMC HTML Template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
@cvvishalkumar
cvvishalkumar / NodeApp-to-generate-HMAC-SHA256.JS
Last active October 3, 2023 08:16
SFMC-Zoom-Webhook-Integration
const express = require('express');
const crypto = require('crypto');
const app = express();
const PORT = process.env.PORT || 3000;
const ZOOM_WEBHOOK_SECRET = 'abcdefghijklmnop'; // Replace with your Zoom webhook secret
app.use(express.json());
app.post('/webhook', (req, res) => {