Skip to content

Instantly share code, notes, and snippets.

View playday3008's full-sized avatar
🦄

PlayDay playday3008

🦄
View GitHub Profile
@playday3008
playday3008 / PRNG-Speedtest.cpp
Last active June 5, 2021 16:04
Speedtest all (I hope) PRNG (Pseudorandom number generator) on C++
#include <algorithm>
#include <chrono>
#include <iostream>
#include <random>
#include <sstream>
auto rand_st(unsigned long long length)
{
std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
while (length != 0) {
@playday3008
playday3008 / README.md
Last active June 30, 2021 13:36
rEFInd best configuration for dualboot Ubuntu 20.04 (kernel/GRUB) and Windows 10

You need to replace volume token with your PARTUUID

  • Use this command to find PARTUUID blkid -s PARTUUID -o value /dev/sdXY Where sdXX is your partition where located efi/kernel file

  • Replace here, here, and here

You need to replace "options" token with your options located in /boot/grub/grub.cfg