Skip to content

Instantly share code, notes, and snippets.

View j-fischer's full-sized avatar

Johannes Fischer j-fischer

View GitHub Profile
@j-fischer
j-fischer / gist:8a055d6a16c7926dabfd6c19ad1c1707
Created January 2, 2025 04:35
General Development instructions for RFLIB development with Gen AI tools
Always write all source files out in full and use the knowledge base for reference. Do not replace any code content with comments.
Custom Instructions for RFLIB Salesforce Application Development
Project Overview
RFLIB is a comprehensive Salesforce utility library providing:
- Logging framework with client and server-side capabilities
- Feature switching functionality
- Trigger framework
- Retryable actions framework
@j-fischer
j-fischer / incomingCalls.js
Last active October 28, 2021 02:49
Twilio functions to forward phone calls to multiple cell phones. See https://cloudthingsyyc.wordpress.com/2018/01/15/hpaas-home-phone-as-a-service/ for more details.
const format = require('string-format');
// These are the numbers to forward the call to
const destinations = ['+1', '+1'];
// These are the numbers that will be forwarded to the cell phones
const allowedCallers = [
'+1', //
];
@j-fischer
j-fischer / Gruntfile.js
Created December 22, 2017 05:29
Sample Gruntfile and batch script to work with SFDX Projects
module.exports = function (grunt) {
// load all grunt tasks needed for this run
require('jit-grunt')(grunt);
// configurable paths
var config = {
module: 'force-app',
src: 'force-app/main/default',
test: 'force-app/test/default',
bundles: 'resource-bundles',