Skip to content

Instantly share code, notes, and snippets.

@dantheman3333
dantheman3333 / allow.sh
Created April 10, 2019 20:05
Recursively remove "unidentified developer warning" in OSX so you don't need to manually allow each in system prefs
//Recursively remove "unidentified developer warning" so you don't need to manually allow it in system prefs
xattr -r -d com.apple.quarantine $1
@dantheman3333
dantheman3333 / amex_offers.js
Created January 15, 2019 19:56
Add all American Express offers
let buttons = Array.from(document.getElementsByClassName('btn offer-cta btn-secondary btn-sm btn-fluid'));
let offerButtons = buttons.filter(button => button.title == "Add to Card");
offerButtons.forEach(button => {
console.log("Clicked on Add to Card")
button.click()
});