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 Flip the board | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-06 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.chess.com/game/live/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=chess.com | |
// @grant none | |
// ==/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
(function () { | |
"use strict"; | |
setInterval(() => { | |
const nagscreen = document.getElementById("nagscreen"); | |
if (nagscreen) { | |
nagscreen.remove(); | |
} | |
document |
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
Extract the pure data from https://www3.zkai.co.jp/ to render it graphically |
I hereby claim:
- I am maxint137 on github.
- I am maxint (https://keybase.io/maxint) on keybase.
- I have a public key ASC4gOOftZ_d6AMV-1X-sqV-_yM59KGLaFlvAo5Q3KhYVAo
To claim this, I am signing this object:
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
void Main() | |
{ | |
int N = 8; | |
var nodes = new List<Node>(N + 1); | |
foreach (var n in Enumerable.Range(0, N + 1)) | |
{ | |
nodes.Add(new Node($"n{n}", null)); | |
} | |
nodes[1].setNodes(new Node[] { nodes[2] }); |
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
void Main() | |
{ | |
var n0 = new Node<string>("n0", null); | |
var n1 = new Node<string>("n1", null); | |
var n2 = new Node<string>("n2", null); | |
var n3 = new Node<string>("n3", null); | |
var n4 = new Node<string>("n4", null); | |
var n5 = new Node<string>("n5", null); | |
var n6 = new Node<string>("n6", null); | |
var n7 = new Node<string>("n7", null); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SVG in HTML</title> | |
<style> | |
body { | |
font-family: cursive; | |
} | |
circle { |
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
class projecteuler018 | |
{ | |
void parseRawData() | |
{ | |
istringstream iss{ rawdata }; | |
string row; | |
int i{}; | |
while(getline(iss, row, '\n')) | |
{ |
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
### Keybase proof | |
I hereby claim: | |
* I am maxint137 on github. | |
* I am maxint (https://keybase.io/maxint) on keybase. | |
* I have a public key ASCrzuZRguTE-KNFEFGqp0M6RGR8pYeTYmHA2-wNrYd2nAo | |
To claim this, I am signing this object: |
NewerOlder