Skip to content

Instantly share code, notes, and snippets.

View CocoZDev's full-sized avatar

Coco Zhao CocoZDev

View GitHub Profile

Developer Guide - Salesforce API Integration

All about the integration between DemocracyLab's web site and Salesforce instance

Based on OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration

Overview

Access to Salesforce data is provided by the Lightning Platform REST API. Exposing this API from DemocracyLab's Salesforce instance is achieved by configuring a Salesforce connected app, which in our case is named "DemocracyLab Integration." This connected app secures the API by way of a signed certificate (used to generate a JSON web token).

App Manager

@frankcaron
frankcaron / sfdc-dxp-flowOverrideStyles.css
Last active April 2, 2024 16:50
Salesforce Experience Cloud - Flow Style Accelerator
/* ========= Frank's Front-End Fun Fridays =============
/* =============== Sept 4, 2020 Edition ================
/* =============== Revised: October 23 ================
/*
This snippet of CSS can be added to a Salesforce Experience theme to
override and restyle an embedded Flow. Keep in mind that this CSS may not work
indefinitely if specific class names in the core product are changed in the future.
Be sure to use the out-of-the-box config tools that make
@CocoZDev
CocoZDev / deploy-static-site-heroku.md
Created November 16, 2017 00:40 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

@MrSaints
MrSaints / demo.html
Last active December 3, 2017 21:22
Native ports of Morphext in React and Polymer (JavaScript frameworks). They're a work in progress. Use them at your own risk. Original: https://github.com/MrSaints/Morphext
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Morphext Web Components (v2.0.0)</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
@hofmannsven
hofmannsven / README.md
Last active October 2, 2025 20:17
Git CLI Cheatsheet