- Open cmd (run as administrator), then use
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
function ValidaCPF(cpfEnviado) { | |
Object.defineProperty(this, "cpfLimpo", { | |
enumerable: true, | |
get: function() { | |
return cpfEnviado.replace(/\D+/g, ''); | |
} | |
}); | |
} | |
ValidaCPF.prototype.valida = function() { |
#include <iostream> | |
#include <Windows.h> | |
#include <TlHelp32.h> | |
DWORD findProcessID(const std::wstring_view processName); | |
int main() | |
{ | |
std::cout << findProcessID(L"notepad.exe") << '\n'; |
def make_pagination(current: int, last: int, delta: int=2) -> list: | |
pagination_range = [] | |
pagination_range_with_dots = [] | |
left = None | |
for i in range(1, last + 1): | |
if (i == 1 or i == last | |
or i >= current - delta | |
and i < current + delta + 1): |
import argparse | |
parser = argparse.ArgumentParser( | |
description='Calculates prime numbers until the nth element', | |
prog='primes', | |
epilog='Made with love by github.com/richardcss' | |
) | |
parser.add_argument( | |
'n', |
For those who don't bother to remember.
A laptop/notebook with 16+ GB RAM, Nvidia GPU for stability (hardware manufacturers seem notoriously bad at software, but Nvidia is relatively good if you ignore the Experience app that demands your data, and training AI needs 50 GB VRAM nowadays but 80 GB is 10x the price of 24 GB so the 1+k USD cheaper AMD or Apple 128GB are better), Linux and Wine and/or Windows 10 > expensive, hard-to-customize MacBook with MacOS (needs Spectacle and HyperSwitch to almost be as good as Windows 10), flimsy adapter wire and too many proprietary connectors. Preferably a 14+" matte Full HD (UHD is only useful at 23+" or equivalent in VR) [Supe
#include <stdio.h> | |
#include <windows.h> | |
#include <gdiplus.h> | |
#include <time.h> | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) { | |
using namespace Gdiplus; | |
UINT num = 0; | |
UINT size = 0; |