This file contains 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
def main(): | |
for i in range(1, 101): | |
if i % 15 == 0: | |
print("Fizzbuzz") | |
continue | |
if i % 5 == 0: | |
print("Buzz") | |
continue | |
if i % 3 == 0: | |
print("Fizz") |
This file contains 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
# times to put in were gotten from Tabliss extension with messages @ | |
# https://github.com/joelshepherd/tabliss/blob/main/src/plugins/widgets/greeting/messages.ts | |
h=`date +%H` | |
PREFNAME="Moo" | |
if [ $h -ge 0 -a $h -le 2 ]; then | |
echo Sleep well, $PREFNAME | cowsay | |
elif [ $h -ge 3 -a $h -le 5 ]; then | |
echo Rise and shine, $PREFNAME | cowsay | |
elif [ $h -ge 6 -a $h -le 9 ]; then | |
echo Good morning, $PREFNAME | cowsay |
This file contains 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
// ==UserScript== | |
// @name Make compass classes dark. | |
// @namespace http://tampermonkey.net/ | |
// @version 1.2 | |
// @description Because the css of compasses classes listing has "!important" in the 'background-color:' DarkReader won't work. This changes that. | |
// @author CoderCowMoo | |
// @match https://*.compass.education/ | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @icon https://www.google.com/s2/favicons?domain=compass.education | |
// @grant none |
NewerOlder