- Open Automator
- Create a new document
- Select Quick Action
- Set “Service receives selected” to
files or foldersinany application - Add a
Run Shell Scriptaction- your default shell should already be selected, otherwise use
/bin/zshfor macOS 10.15 (”Catalina”) or later - older versions of macOS use
/bin/bash
- your default shell should already be selected, otherwise use
- if you're using something else, you probably know what to do 😉
This file contains hidden or 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
| .btnIconOverlay { | |
| position: absolute; | |
| z-index: 1; | |
| margin: 0% 0px 0px 88%; | |
| } |
This file contains hidden or 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
| .btnIconOverlay { | |
| position: absolute; | |
| z-index: 1; | |
| margin: 0% 0px 0px 88%; | |
| } |
brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chsh -s /bin/zsh
This file contains hidden or 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
| public with sharing class InvocableApexTemplate { | |
| @InvocableMethod( | |
| label = 'Name as displayed in Process Builder' | |
| description = 'Tooltip as displayed in Process Builder' | |
| ) | |
| public static List<Response> execute( List<Request> requests ) { | |
| List<Response> responses = new List<Response>(); | |
This file contains hidden or 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
| Product2 p = new Product2(); | |
| p.Name = 'Test Product'; | |
| p.Description='Test Product'; | |
| p.productCode = 'ABC'; | |
| p.isActive = true; | |
| insert p; | |
| PricebookEntry standardPrice = new PricebookEntry(); | |
| standardPrice.Pricebook2Id = Test.getStandardPricebookId(); | |
| standardPrice.Product2Id = p.Id; |
This file contains hidden or 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
| from simple_salesforce import Salesforce | |
| import pandas as pd | |
| sf = Salesforce(username="yourSFusername",password="youSFpassword", security_token="yourSFsecuritytoken") | |
| Group_Members = sf.query_all("Select GroupId,UserOrGroupId from GroupMember") | |
| Active_Users = sf.query_all("Select Username,Name,Id from User where isActive = True") | |
| Groups = sf.query_all("Select Id,Name,Type from Group") | |
| Group_Members_DF = pd.DataFrame(Group_Members['records']) | |
| Users_DF = pd.DataFrame(Active_Users['records']) |
This file contains hidden or 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
| <Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02"> | |
| <CstmrDrctDbtInitn> | |
| <GrpHdr> | |
| <MsgId>PRE2018*****</MsgId> | |
| <CreDtTm>2018-12-10T14:31:01</CreDtTm> | |
| <NbOfTxs>2</NbOfTxs> | |
| <CtrlSum>200</CtrlSum> | |
| <InitgPty> | |
| <Nm><strong>TU NOMBRE COMERCIAL</strong></Nm> | |
| <Id> |
This file contains hidden or 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
| // The console.log() is a function that writes a message to log on the debugging console | |
| // Names can contain letters, digits, underscores, and dollar signs. | |
| // No limit o the length of the variable name | |
| // Names can begin with letter, $ and _ | |
| // Reserved words(like switch, if else) cannot be used as names | |
| // console.log(null+'10'); | |
| // var name = "Nikhil" | |
| // var age = 23 |
This file contains hidden or 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
| notify: | |
| if: always() | |
| name: Notify | |
| needs: | |
| - job1 | |
| - job2 | |
| - job11 | |
| - job3 | |
| - job4 | |
| runs-on: ubuntu-latest |
NewerOlder