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 () { | |
"use strict"; | |
let lastNumberTypedAt = 0; | |
let pressedNumbers = ""; | |
document.addEventListener("keydown", (e) => { | |
// return if option key is pressed | |
if (e.altKey || e.ctrlKey || e.metaKey) { | |
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
#include <random> | |
// ------------------------------------ LIBRARY BEGIN ------------------------------------ | |
#include <fstream> | |
#include <sstream> | |
#include <string> | |
namespace svg { |
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 <fstream> | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <vector> | |
using namespace std; |