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
function setupLightningBoltSimulator() { | |
// ---------- STYLES ---------- | |
const css = ` | |
:root { | |
--bg: #0b0f1a; | |
--panel: #121826cc; | |
--text: #e8eefc; | |
--muted: #9fb0d1; | |
--accent: #7cc7ff; | |
--accent-2: #a5f3fc; |
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
// ==UserScript== | |
// @name Coursera Auto-advance | |
// @namespace Violentmonkey Scripts | |
// @match https://www.coursera.org/learn/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 11/2/2024, 9:38:39 PM | |
// @run-at document-idle | |
// ==/UserScript== |
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
import model.Candidate; | |
import java.util.Scanner; | |
public class Main { | |
private static interface StringSetter { | |
void set(String value); | |
} | |
private static interface IntSetter { |
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
#include <iostream> | |
#include <ctime> | |
#include <cstdlib> | |
int getNumOfPlayers() { | |
char input; | |
do { | |
std::cout << "Gamemode:\n"; | |
std::cout << "a. Singleplayer\n"; | |
std::cout << "b. Multiplayer\n"; |