Skip to content

Instantly share code, notes, and snippets.

View Main.cs
using System;
using FortniteReplayReader;
using Unreal.Core.Models.Enums;
using System.Threading.Tasks;
using Fortnite_API;
using Fortnite_API.Objects.V1;
using FortniteReplayReader.Models;
using System.CommandLine;
View use yandex alpine mirror
RUN echo "" > /etc/apk/repositories \
&& echo "" >> /etc/apk/repositories \
&& echo "" >> /etc/apk/repositories \
View pre-commit.rb
% cat .git/hooks/pre-commit
#! /usr/bin/env ruby
puts "pre-commit hook: checking for forgotten debug statements"
debug_statements = [
'focus: true',
View benchmark_array_hash_set_include.rb
require 'benchmark/ips'
require 'set'
sizes = [3, 5, 10, 15, 100]
sizes.each do |size|
Benchmark.ips do |x|
range = 1..size
array = range.to_a
hash = array.each_with_object({}) {|x, memo| memo[x] = x}
View pq.go
import (
func SplitPQ(pq *big.Int) (p1, p2 *big.Int) {
value_0 := big.NewInt(0)
value_1 := big.NewInt(1)
value_15 := big.NewInt(15)
stulentsev / mixed.rb
Created Apr 18, 2019
spam filter: proof of concept
View mixed.rb
tests = %w(
View string_building_benchmark.go
package main
import (

Keybase proof

I hereby claim:

  • I am stulentsev on github.
  • I am stulentsev ( on keybase.
  • I have a public key ASAHjuCvisMwyIgXMFulA_a6Bq9BCF8TWwp3KaPqXv3tago

To claim this, I am signing this object:

stulentsev / boilerplate.cpp
Last active Feb 7, 2019
hackerrank boilerplate
View boilerplate.cpp
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the sockMerchant function below.
int sockMerchant(int n, vector<int> ar) {