Skip to content

Instantly share code, notes, and snippets.

View gouravsood's full-sized avatar

Gourav Sood gouravsood

View GitHub Profile
@gouravsood
gouravsood / salesforceClassicDeleteAllDebugLogs.js
Created August 6, 2020 21:10
Salesforce Classic Only: Javascript function to Delete AllDebug Logs from Setup
setInterval(
function() {
if (document.querySelector('span[id*="deleteAllStatus.start"]').style.display === 'none') {
document.querySelector('input[value="Delete All"]').click()
}
}
,250);

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@gouravsood
gouravsood / clean-node.sh
Created August 19, 2018 06:28 — forked from willis7/clean-node.sh
Delete all node_modules folders recursively on Mac
find . -name "node_modules" -exec rm -rf '{}' +