Skip to content

Instantly share code, notes, and snippets.

View alirzaev's full-sized avatar

Ali Rzaev alirzaev

View GitHub Profile
@alirzaev
alirzaev / WebClientFileSizeLimit4GiB.reg
Created January 27, 2022 14:22
Set the file size for WebDAV to 4GiB
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"FileSizeLimitInBytes"=dword:ffffffff
@alirzaev
alirzaev / hanoi.cpp
Created January 15, 2019 15:48
The Hanoi Tower Sort Algorithm
#include <algorithm>
#include <cassert>
#include <climits>
#include <cstdio>
#include <deque>
typedef std::deque<int> stack;
void move_top1(stack& from, stack& to, stack& spare);
int top(const stack& o)