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 fixedDate = '2018-09-07T23:30:00'; | |
| Date = class extends Date { | |
| constructor() { | |
| arguments.length === 0 ? | |
| super(fixedDate) : | |
| super(...arguments); | |
| } | |
| static now() { | |
| return (new Date(fixedDate)).getTime(); |
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
| // As of the middle of May, 2018, I was able to use this in Chrome | |
| // to add the 600 something twitter users I follow to a list. | |
| // | |
| // Create a list called "Everyone". | |
| // | |
| // Go to your "Following" list. Scroll down until everyone has loaded. | |
| // | |
| // Scroll back up to the top. | |
| // | |
| // Paste the following into the Chrome DevTools Console and press |
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
| public class CoffeeMug { | |
| public CoffeeMug() { | |
| isEmpty = false; | |
| } | |
| private boolean isEmpty; | |
| public boolean isEmpty() { | |
| return this.isEmpty; | |
| } | |