- 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%; | |
| } |
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
| #!/bin/bash | |
| # Definir la carpeta donde buscar los archivos | |
| search_dir="force-app/main/default/classes" | |
| # Nombre del archivo CSV de salida | |
| output_file="resultados_httpreq.csv" | |
| # Encabezado del archivo CSV | |
| echo "Archivo,Linea,Contenido" > $output_file |
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
| List all alias | |
| keytool -list -v -keystore ClientCert.pfx -storepass Password1 -storetype PKCS12 | |
| Change an alias | |
| keytool -changealias -alias "pvktmp:696deac3-0855-476c-b945-9bd3bacb4f2f" -destalias "clientcertax" -keypass Password1 -keystore ClientCert.pfx -storepass Password1 | |
| Convert pfx to jks | |
| keytool -importkeystore -srckeystore ClientCert.pfx -srcstoretype pkcs12 -destkeystore clientcertax.jks -deststoretype JKS |
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> |
NewerOlder