Incoming BOLD Finance Intern
Google Sunnyvale, California
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
| /** | |
| APPLY CHASE BANK CC OFFERS | |
| This script helps you apply all the Chase bank credit cards automatically. | |
| - Login to Chase and go to https://secure03b.chase.com/web/auth/dashboard#/dashboard/offers/index. | |
| - Open 'Inspect Element' | |
| - Go to Scripts tab and copy this script. | |
| - Run this script. | |
| */ |
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
| const MY_DOMAIN = "agodrich.com" | |
| const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
| const DISQUS_SHORTNAME = "agodrich" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", |
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
| // Bank of America: https://secure.bankofamerica.com/customer-service/deals/ | |
| document.querySelectorAll('div.deal-logo').forEach(e => e.click()) | |
| // Chase: https://secure07a.chase.com/web/auth/dashboard#/dashboard/offers/merchantFundedOffers/requestAvailableMerchantOffers | |
| const sleep = (milliseconds) => new Promise(resolve => setTimeout(resolve, milliseconds)) | |
| flyoutClose = document.querySelector('a#flyoutClose') | |
| addOffer = document.querySelector('a.sixersoffers__cta') | |
| while (addOffer.text === "Add to card") { | |
| addOffer.click() | |
| await sleep(3000) |
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
| Process for setting up github pages with namecheap domain. | |
| 1. Go to namecheap.com, select and buy domain name. | |
| 2. Login to namecheap, go to username drop down and select dashboard. | |
| 3. Go to DomainList | |
| 4. Click manage button | |
| 5. Click Advanced DNS tab | |
| 6. Click add record and add three records: | |
| Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic |
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
| with | |
| dau as ( | |
| -- This part of the query can be pretty much anything. | |
| -- The only requirement is that it have three columns: | |
| -- dt, user_id, inc_amt | |
| -- Where dt is a date and user_id is some unique identifier for a user. | |
| -- Each dt-user_id pair should be unique in this table. | |
| -- inc_amt represents the amount of value that this user created on dt. | |
| -- The most common case is | |
| -- inc_amt = incremental revenue from the user on dt |
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.