I hereby claim:
- I am tet3 on github.
- I am tet3 (https://keybase.io/tet3) on keybase.
- I have a public key ASDvVHooB8UbjxjtoRFNVgUS_qNa-m7In2lkYL0cnwh5gwo
To claim this, I am signing this object:
/** | |
* A registry built around the Salesforce Mocking API that allows declarative mocking of HTTP callouts. Mocks responses | |
* can be registered either for a specific endpoint and path or for all paths on an endpoint, with the former taking | |
* precedence. | |
*/ | |
@IsTest | |
public class HttpMockRegistry { | |
// Default mock response for HTTP requests | |
public static final HttpResponse DEFAULT_MOCK_RESPONSE = createSuccessResponse('Default mock response'); |
------------------------------------------------- | |
nench.sh v2019.07.20 -- https://git.io/nench.sh | |
benchmark timestamp: 2020-05-02 19:42:08 UTC | |
------------------------------------------------- | |
Processor: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz | |
CPU cores: 3 | |
Frequency: 2899.996 MHz | |
RAM: 3.9G | |
Swap: 4.0G |
I hereby claim:
To claim this, I am signing this object:
version: "2.1" | |
services: | |
grocy: | |
image: linuxserver/grocy | |
container_name: grocy | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=America/New_York | |
labels: |
Two young boys, who lived next door to one another, grew up as best friends. But when they reached their teens, their paths began to diverge. Frank Sam was studious, church-going and often seen helping old ladies to cross the street. Sam Frank, on the other hand, drove his car too fast, drank a bit on the weekends, and could always be found on Friday night smoking cigarettes and wolf-whistling at the girls in the convenience store parking lot. Driving home from the convenience store one night with his suspiciously cylindrical brown paper bag in hand, he passed Frank Sam walking home from his job at the local drugstore. Filled momentarily with nostalgia and a bit of regret, he stopped, waited for Frank to catch up, and then offered him a ride. Frank readily agreed, and as they drove, they started talking just as they had done as boys. The conversation and alcohol caused Sam Frank to lose concentration, however, and he drove them into a tree, killing both immediately. They ascended to the Pearly Gates, where St |
trigger TaskMailMergeTrigger on Task (before insert) { | |
//Assumes "Mail Merge ID: " *with the space* is always on the line before | |
//the ID, which is all numbers | |
Pattern mmID = Pattern.compile('Mail Merge ID: ([0-9]+)'); | |
for (Task t : trigger.new) { | |
Matcher mTask = mmID.matcher(t.Description); | |
if (mTask.find()) { | |
//Assumes you have a text field, Mail_Merge_ID__c, on the Activity object |
IF(TEXT(Next_Refinement_Kit_Action__c) = "AWAIT Refinement PHOTOS","Photo Stage", | |
IF(OR( | |
ISPICKVAL(Next_Refinement_Action__c,"PATIENT REQUESTS REFINEMENTS"), | |
ISPICKVAL(Next_Refinement_Action__c,"SEND REFINEMENT PHOTOS TO ORTHO")),"Photo Stage", | |
IF(OR( | |
TEXT(Next_Refinement_Kit_Action__c) = "AWAIT Refinement KIT", | |
TEXT(Next_Refinement_Kit_Action__c) = "AWAIT Refinement Redo KIT", | |
TEXT(Next_Refinement_Kit_Action__c) = "GRADE Refinement PVS", |
trigger CreateAttendances on Session__c (after insert) { | |
Set<Id> programIds = new Set<Id>(); | |
List<Enrollment__c> enrolledMembers = new List<Enrollment__c>(); | |
List<Attendance__c> att = new List<Attendance>(); | |
// create Set of Program IDs we want to query | |
for (Session__c sessionInLoop : Trigger.new) { | |
programIds.add(sessionInLoop.Program__c); | |
} |
// Get all the standard and custom objects in the org | |
List<EntityDefinition> entityDefs = [select QualifiedApiName from EntityDefinition]; | |
// Forming a list of Entity API names | |
List<String> entityNames = new List<String>(); | |
for(EntityDefinition entityDef: entityDefs){ | |
if(!entityDef.QualifiedApiName.endsWith('kav')){ |