This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
var isApex = false; | |
var sourceLangs = document.getElementsByClassName('lang'); | |
for (var i = 0; i < sourceLangs.length; ++i) { | |
var l = sourceLangs[i]; | |
if(l.innerHTML == 'Apex') { | |
isApex = true; | |
// alert('This is an Apex repo'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF(NOT(ISPICKVAL(StatusCode,"Activated")), | |
HYPERLINK("/ctrc/contractactivation.jsp?retURL=%2F" & Id & "&id=" & Id, "Activate", "_blank"), | |
"Activated") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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')){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.1" | |
services: | |
grocy: | |
image: linuxserver/grocy | |
container_name: grocy | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=America/New_York | |
labels: |
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:
OlderNewer