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
| tell application "System Preferences" | |
| activate | |
| set the current pane to pane id "com.apple.preference.notifications" | |
| end tell | |
| tell application "System Events" to tell window 1 of process "System Preferences" | |
| repeat with r in rows of table 1 of scroll area 1 | |
| if name of UI element 1 of r is not "Do Not Disturb" then | |
| set selected of r to true | |
| tell radio button "Banners" of radio group 1 of group 1 to if value is 0 then click |
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
| // 1. Go to the https://www.wearedevelopers.com/speakers/ website and open the web console | |
| // 2. Declare a variable with an empty array. | |
| // Don’t be afraid of undefined. It’s because all you are doing is declaring a variable. | |
| let speakersArr = []; | |
| // 3. Find every occurrence of speaker name, in this case, it is a `.team-meta h3`. | |
| // Then every element that was found should be converted do `Array` (now it is a `NodeList`). | |
| const speakersElements = Array.from(document.querySelectorAll('.team-meta h3')); | |
| // 4. Map through every speaker and push the speaker `textContent` to | |
| // `speakersArr` declared at the top of the page. | |
| speakersElements.map(speaker => { |
This file has been truncated, but you can view the full file.
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
| ["a","aa","aaa","aah","aahed","aahing","aahs","aal","aalii","aaliis","aals","aam","aani","aardvark","aardvarks","aardwolf","aardwolves","aargh","aaron","aaronic","aaronical","aaronite","aaronitic","aarrgh","aarrghh","aaru","aas","aasvogel","aasvogels","ab","aba","ababdeh","ababua","abac","abaca","abacay","abacas","abacate","abacaxi","abaci","abacinate","abacination","abacisci","abaciscus","abacist","aback","abacli","abacot","abacterial","abactinal","abactinally","abaction","abactor","abaculi","abaculus","abacus","abacuses","abada","abaddon","abadejo","abadengo","abadia","abadite","abaff","abaft","abay","abayah","abaisance","abaised","abaiser","abaisse","abaissed","abaka","abakas","abalation","abalienate","abalienated","abalienating","abalienation","abalone","abalones","abama","abamp","abampere","abamperes","abamps","aband","abandon","abandonable","abandoned","abandonedly","abandonee","abandoner","abandoners","abandoning","abandonment","abandonments","abandons","abandum","abanet","abanga","abanic","abannition" |