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
// toggle all to viewed | |
document.querySelectorAll('.js-reviewed-checkbox').forEach((elem => { | |
if (elem.checked) { return } | |
var clickEvent = new MouseEvent('click'); | |
elem.dispatchEvent(clickEvent); | |
})) | |
// toggle all to not-viewed | |
document.querySelectorAll('.js-reviewed-checkbox').forEach((elem => { | |
if (!elem.checked) { return } |
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
[ | |
"Africa/Abidjan", | |
"Africa/Accra", | |
"Africa/Addis_Ababa", | |
"Africa/Algiers", | |
"Africa/Asmara", | |
"Africa/Asmera", | |
"Africa/Bamako", | |
"Africa/Bangui", | |
"Africa/Banjul", |
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
#!/bin/bash | |
echo "This script will setup OSX" | |
echo 'It will:' | |
echo ' - edit system settings' | |
echo ' - install apps' | |
echo ' - add aliases' | |
read -p "Do you want to continue (y/n)?" -n 1 -r | |
if [[ $REPLY =~ ^[Yy]$ ]] |