Original work: https://www.reddit.com/r/steinsgate/comments/al2a31/made_a_steinsgate_google_doodle/
Userstyle: https://userstyles.org/styles/168379
Userscript: https://greasyfork.org/en/scripts/377286-deluoodle
| """ | |
| Any live cell with fewer than two live neighbours dies, as if by underpopulation. | |
| Any live cell with two or three live neighbours lives on to the next generation. | |
| Any live cell with more than three live neighbours dies, as if by overpopulation. | |
| Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. | |
| """ | |
| import sys | |
| import time | |
| import re |
| #!/usr/bin/env node | |
| const needle = require("needle"); | |
| const fs = require("fs"); | |
| /* set up yargs */ | |
| const argv = require("yargs") | |
| .version(false) |
| Nimrod 5h 5m █████████████████████ 81% | |
| JavaScript 0h 27m █░░░░░░░░░░░░░░░░░░░░ 7% | |
| Text 0h 15m █░░░░░░░░░░░░░░░░░░░░ 4% | |
| TypeScript 0h 13m ░░░░░░░░░░░░░░░░░░░░░ 4% | |
| Makefile 0h 7m ░░░░░░░░░░░░░░░░░░░░░ 2% |
A stylesheet and a script that give Wikipedia a new look with a night mode.
The best way to activate it is to go to Wikipedia's Preferences > Appearance and paste the CSS and JS into the corresponding section under "Shared CSS/JavaScript for all wikis".
The CSS is fine on its own, but you will need to activate the script as well for night mode to work.
For best results, have the typefaces Fira Sans and Literata installed (as well as Noto Sans CJK and Noto Serif CJK if you care about Chinese/Japanese/Korean).
| def gourdify(text): # start defining a function | |
| words = text.split(" ") # split the text at each space | |
| for i in range(0, len(words)): # for each i between 0 and the number of words | |
| if words[i][0] is "G": # if the first letter of current word is "G" | |
| words[i] = "Gourd" # set the whole word to "Gourd" | |
| elif words[i][0] is "g": # if the first letter of current word is "g" | |
| words[i] = "gourd" # set the whole word to "gourd" | |
| return " ".join(words) # join the list of words with a space between each word | |
| print(gourdify("Hello! I am feeling good")) |
| $black: #000000; | |
| $white: #FFFFFF; | |
| $red50: #FFEBEE; | |
| $red100: #FFCDD2; | |
| $red200: #EF9A9A; | |
| $red300: #E57373; | |
| $red400: #EF5350; | |
| $red500: #F44336; | |
| $red600: #E53935; | |
| $red700: #D32F2F; |