Skip to content

Instantly share code, notes, and snippets.

View rafaelfpviana's full-sized avatar

Rafael Viana rafaelfpviana

  • São Paulo, Brasil
View GitHub Profile
<style>
[class~="x_videOWPapper"] {
display: none !important;
}
[class~="x_yideoFa11back"] {
display: block !important;
}
</style>
<div class="videowrapper">
<video width="499" height="306" controls poster="https://storage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg" src="https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4">
@rafaelfpviana
rafaelfpviana / index.js
Last active November 28, 2023 23:59
An example of One-Click Unsubscribe header
import { Resend } from 'resend';
import { createHash } from 'crypto';
const resend = new Resend('RESEND_KEY');
(async function() {
try {
const emailData = {
from: 'Acme <onboarding@resend.dev>',
to: ['delivered@resend.dev'],
subject: 'hello world',
@rafaelfpviana
rafaelfpviana / package.xml
Created June 30, 2020 17:08
XML Manifest to be used in order to export Address Settings file from Salesforce
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Address</members>
<name>Settings</name>
</types>
<version>46.0</version>
</Package>