- Install & run Karabiner-Elements
- Navigate to
misc-> open config folder
- Copy the above
rules.json
file to thecomplex_modifications
folder - Navigate to
Complex Modifications -> Enable Rules
- Enable all of the above rules
- Under devices enable your keyboard
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
/* Code modified from ajv-formats | |
https://github.com/ajv-validator/ajv-formats/blob/master/src/formats.ts#L45 | |
MIT License | |
Copyright (c) 2020 Evgeny Poberezkin | |
*/ | |
import { FormatRegistry } from "@sinclair/typebox"; | |
export const register = () => { |
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
const schema = { | |
uploadDocToValt: { type: 'string' }, | |
foo: { type: 'boolean' }, | |
inner: { type: 'object', object: { | |
test: {type: 'number'}, | |
innerinner: {type: 'object', object: { | |
woweee: {type: 'string[]'}, | |
}} | |
}} | |
} as const; |
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
// Modeled after example found here: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm | |
// Expanded to show how an interface might help overcome some of the limits around existing @Invokable implementation | |
public class AccountInsertInvokable implements Invokable<Account, Id> { | |
private Boolean allOrNone; | |
private Boolean logFailures; | |
// @InvokableSetup this as a configuration point for ProcessBuilder/Flow | |
// Params Restricted to same types as @InvocableVariable | |
@InvokableSetup |
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.0.0", | |
"tasks": [ | |
{ | |
"label": "retrieve", | |
"type": "shell", | |
"command": "sfdx force:mdapi:retrieve -k deploy/package.xml -r deploy/", | |
"problemMatcher": [] | |
}, | |
{ |
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
{ | |
"packageDirectories": [ | |
{ | |
"path": "src", | |
"default": true | |
} | |
], | |
"namespace": "", | |
"sfdcLoginUrl": "https://login.salesforce.com", | |
"sourceApiVersion": "45.0" |
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
// Author Charlie@callaway.cloud | |
// Replacement clone page which copies activity history | |
public with sharing class LeadCloneWithActivitiesController { | |
private SObjectDeepClone cloner; //cloning util | |
public Lead clone {get; private set;} //editable lead | |
public Metadata.Layout leadLayout {get; private set;} //layout | |
public Metadata.UiBehavior editEnum { |
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
<apex:page tabStyle="Lead" standardController="Lead" extensions="LeadCloneWithActivitiesController" > | |
<apex:form > | |
<apex:sectionHeader title="Cloning" subtitle="{!Lead.Name} and Activities ({!clone.Tasks.size + clone.Events.size})" /> | |
<apex:pageBlock title="Lead Clone" tabStyle="Lead" > | |
<apex:pageMessages /> | |
<apex:pageBlockButtons > | |
<apex:commandButton value="Cancel" action="{!cancel}" /> | |
<apex:commandButton value="Save" action="{!saveClone}" /> | |
</apex:pageBlockButtons> | |
<apex:outputPanel rendered="{!leadLayout!=null && clone != null}"> |
NewerOlder