Skip to content

Instantly share code, notes, and snippets.

View oriolete's full-sized avatar

Oriol Farras Romero oriolete

View GitHub Profile
@ehuynh
ehuynh / gist:2572398
Created May 1, 2012 23:37
Start and Stop Jenkins on OSX
# start
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
# stop
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
@benahm
benahm / GenerateFullPackageXML.sh
Last active July 16, 2023 06:42
Generate a full Package.xml using the Salesforce CLI
#!/bin/sh
#
# Generate a full package xml using the Salesforce CLI
# Requirements :
# * Salesforce CLI
# * jq
@oriolete
oriolete / GenerateFullPackageXML.sh
Last active March 12, 2021 10:41 — forked from benahm/GenerateFullPackageXML.sh
Generate a full Package.xml using the Salesforce CLI
#!/bin/sh
#
# Generate a full package xml using the Salesforce CLI
# Requirements :
# * Salesforce CLI
# * jq
Description Git Command
Clone an existing repository git clone "your URL"
Create a new local repository git init
Changed files in your working directory git status
Changes to tracked files git diff
Add all current changes to the next commit git add
Add some chang
@benahm
benahm / deployDestructiveChange.sh
Last active February 15, 2024 18:45
Deploy a destructive change using the Salesforce CLI
#!/bin/sh
#
# author : benahm
# description : deploy a destructive change
# inputs
TARGET_ENV=$1
SOURCE_PATH=$2
# constants