Watch the breakdown here in a Q4 2024 prompt engineering update video
- Quick, natural language prompts for rapid prototyping
- Perfect for exploring model capabilities and behaviors
Watch the breakdown here in a Q4 2024 prompt engineering update video
What are the components of FastHTML, and how do they work together? What are some key things I need to understand to write idiomatic FastHTML apps?
Based on the documentation provided, here are the key components of FastHTML and how they work together to create web applications:
sfdx force:data:soql:query --query "SELECT Id FROM Flow WHERE Status = 'Obsolete'" --targetusername $USERNAME --usetoolingapi --resultformat csv > flowTodelete.csv | |
while read c; do | |
if [[ "$c" != "Id" && "$c" != "Your query returned no results." ]] | |
then | |
sfdx force:data:record:delete --sobjecttype Flow --sobjectid $c --targetusername $USERNAME --usetoolingapi | |
fi | |
done < flowTodelete.csv | |
rm flowTodelete.csv |
public with sharing class ReadFileData { | |
@AuraEnabled | |
public static String readFileFromRecord(String recordId) { | |
ContentDocumentLink contentDocumentLink = [ | |
SELECT id, ContentDocumentId, ContentDocument.Description, | |
ContentDocument.Title, LinkedEntityId | |
FROM ContentDocumentLink | |
WHERE LinkedEntityId = '0017F00002nb4ktQAA' | |
LIMIT 1 | |
]; |
var jsforce = require("jsforce"); | |
require("dotenv").config(); | |
var username = process.env.SFDC_USER; | |
var password = process.env.SFDC_PWD; | |
var conn = new jsforce.Connection({ loginUrl: "https://login.salesforce.com" }); | |
conn.login(username, password, function (err, userInfo) { | |
const replayId = 13475880; | |
const replayExt = new jsforce.StreamingExtension.Replay( | |
process.env.EVENT_TYPE, | |
replayId |
/** | |
* @File Name : Invocable Template | |
* @Description : Invocable can be called from Flow or other Apex such as Batch or Queuable | |
* @Author : agentgill | |
* @Group : | |
* @Last Modified By : agentgill | |
* @Last Modified On : 03-02-2021 | |
* @Modification Log : | |
* Ver Date Author Modification | |
* 1.0 07/02/2020 agentgill Initial Version |
# csv2xml.py | |
# FB - 201010107 | |
# First row of the csv file must be header! | |
# example CSV file: myData.csv | |
# id,code name,value | |
# 36,abc,7.6 | |
# 40,def,3.6 | |
# 9,ghi,6.3 | |
# 76,def,99 |
/** | |
@description - Universal Batch Apex Scheduler | |
@credit - https://th3silverlining.com/2014/02/02/salesforce-universal-batch-scheduling-class/ | |
*/ | |
global class BatchScheduler implements Schedulable { | |
global Database.Batchable<SObject> batchClass{get;set;} | |
global Integer batchSize{get;set;} {batchSize = 200;} | |
global void execute(SchedulableContext sc) { |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.