-
Install Homebrew - we'll use this to easily install some other dependencies
-
Install the latest 2.7.X release of python
brew install python -
Install Postgres
brew install postgresql(9.5+)
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
| function fillOutForms() { | |
| $('.WebBuySimpleAccordion-toggleButton').click(); | |
| $('.items-center input[data-qa=cart-page-item-instructions-input]').val('No bags, will bring own'); | |
| // TODO need to trigger saving via some sort of keypress or focus event in inputs | |
| } | |
| // fill in mass comments on king soopers items in carts to say you don't want bags instead of clicking in each one individually | |
| (function() { | |
| var script = document.createElement("SCRIPT"); | |
| script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js'; |
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
| /* | |
| * Usage: | |
| * '{0}bar {1}'.format('foo', 'baz') // 'foobar baz' | |
| * 'My name is {name}'.format({name: 'Justin'}) // 'My name is Justin' | |
| */ | |
| String.prototype.format = function () { | |
| var args = arguments; | |
| if(Object.prototype.toString.call(arguments[0]).match(/^\[object (.*)\]$/)[1] === "Object") { |