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
public readonly struct Result<T, E> | |
{ | |
private readonly bool _isErr; | |
public readonly T Value; | |
public readonly E Error; | |
private Result(T v, E e, bool isErr) | |
{ | |
Value = v; | |
Error = e; |
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
Experiment/ | |
├── OPFOR | |
│ ├── OPFOR-1 | |
│ ├── OPFOR-2 | |
│ ├── OPFOR-3 | |
│ ├── OPFOR-4 | |
│ ├── OPFOR-5 | |
│ └── OPFOR-6 | |
├── SPECT | |
└── STORY |
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
OpenAct() | |
{ | |
Run steam://open/activateproduct | |
WinWait, Product Activation | |
} | |
Act() | |
{ | |
WinGet, wid, ID, Product Activation | |
WinActivate, ahk_id %wid% |
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
<?php | |
error_reporting(E_ALL); | |
include 'Settings.php'; | |
$br = '<br>'; | |
function error($text) | |
{ | |
echo $text; |
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 <SDL.h> | |
int main(int argc, char* args[]) | |
{ | |
// Whether we do SDL_Init before-hand, | |
// initialize the JOYSTICK subsystem in SDL_Init, | |
// or initialize separately like as follows, | |
// ... | |
if (SDL_Init(0) < 0) { |