Skip to content

Instantly share code, notes, and snippets.

View aekrylov's full-sized avatar
👀
lookin

Anton Krylov aekrylov

👀
lookin
View GitHub Profile
@aekrylov
aekrylov / output.log
Last active May 16, 2022 14:33
The Spit'z game Monte Carlo simulation
--- ALL IN
Mean return: 4876.21
Proportion of positives: 0.212
Mean return for positives: 22955.23
Median return for positives: 11.77
Mean log-return for positives: 3.16
Mean return for negatives: 0.07
--- HALF
Mean return: 143.10
Proportion of positives: 0.748
package ru.cg.selenium_test;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.LinkedList;
import java.util.concurrent.TimeUnit;

Keybase proof

I hereby claim:

  • I am aekrylov on github.
  • I am aek (https://keybase.io/aek) on keybase.
  • I have a public key ASDID7IxrrnUs7CMQdnT5MxWNb1ulYUBRNgAzg-JtNtGcQo

To claim this, I am signing this object:

@aekrylov
aekrylov / big_array.cpp
Last active August 29, 2015 14:26
node-gyp + nan compile errors
#ifndef BUILDING_NODE_EXTENSION
#define BUILDING_NODE_EXTENSION
#endif
#include "big_array.hpp"
#include <nan.h>
using namespace v8;
void InitAll(Handle<Object> target) {