Windows-GPU-UNLOCK
This is Windows GPU UNLOCK: RTX3090 UEFI port, Korean no-reset Windows boot guide, verified source and benchmark evidence
AI translation
Vezi ce înseamnă fiecare cifră și cum se calculează cifra de control. Local, fără server.
Translation pending
OtherTypeScript · HTMLGitHub @Robert-GeorgeDevOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Validate and decode Romanian CNP, CUI/CIF, IBAN and postal codes. Explains every error and shows how the check digit is computed. Zero dependencies, runs in the browser
Taken from the repository README
Loading the full README.
Read the full README ↗Validate and decode Romanian identifiers (CNP, CUI/CIF, IBAN and postal codes) with error messages you can show directly to users. Zero dependencies, fully typed, runs in Node and in the browser.
npm install github:Robert-GeorgeDev/ValidRO
The package is not on the npm registry yet; this installs it straight from GitHub and builds it.
70, which the civil-status system (SIIEASC) now assigns to newly generated CNPs. Many older validators reject these valid codes.Cifra de control este greșită (așteptat 7).import { validateCnp, validateCui, validateIbanRo } from "validro";
validateCnp("3000101221147");
// {
// valid: true,
// error: null,
// data: { cnp: "3000101221147", sex: "M", birthDate: "1800-01-01",
// countyCode: "22", county: "Iași", foreigner: false }
// }
validateCnp("3000101221148");
// { valid: false, error: "Cifra de control este greșită (așteptat 7)", data: null }
validateCui("RO12345674");
// { valid: true, error: null, data: { cui: "12345674", hasRoPrefix: true } }
validateIbanRo("ro49 aaaa 1b31 0075 9384 0000");
// { valid: true, error: null,
// data: { iban: "RO49AAAA1B31007593840000", formatted: "RO49 AAAA 1B31 0075 9384 0000",
// bankCode: "AAAA", treasury: false } }
Every validate* function returns the same shape, so you can handle all of them the same way:
type ValidationResult<T> =
| { valid: true; error: null; data: T }
| { valid: false; error: string; data: null };
Only need true or false? Use isValidCnp, isValidCui, isValidIbanRo and isValidPostalCode.
| Function | Returns |
|---|---|
validateCnp(cnp, now?) | ValidationResult<CnpInfo>; now sets the date used to reject future birth dates |
validateCui(cui) | ValidationResult<CuiInfo> |
validateIbanRo(iban) | ValidationResult<IbanInfo> |
validatePostalCode(postalCode) | ValidationResult<PostalCodeInfo>; exactly 6 digits |
isValidCnp, isValidCui, isValidIbanRo, isValidPostalCode | boolean |
cnpControlDigit(first12) | the CNP control digit |
cuiControlDigit(body) | the CUI control digit |
ibanChecksumOk(iban) | mod-97 check, works for any country |
CNP_COUNTIES | county codes and names |
| Identifier | Checks |
|---|---|
| CNP | 13 digits, sex and century digit, real calendar date including leap years, not in the future, county code (01–52, 70), sequence not 000, control digit (key 279146358279) |
| CUI / CIF | optional RO prefix, 2–10 digits, no leading zero, control digit (key 753217532) |
| IBAN (RO) | 24 characters: RO, 2 check digits, 4-letter bank code, 16 alphanumerics, ISO 13616 mod-97 |
| Postal code | exactly 6 digits |
Spaces, dots and dashes in the input are ignored.
A valid code is well-formed; it does not prove the code exists. A valid CNP may belong to no one, and a valid CUI may be a closed company. To confirm a company is active, query the public ANAF services.
For residents and foreigners (CNP starting with 7, 8 or 9) the century is not encoded, so ValidRO picks the most recent century that does not put the birth date in the future.
ValidRO never makes network requests. The demo page runs the same code in your browser.
All examples in this repository are fictitious: sample CNPs use birth dates in the 1800s, and the IBAN is the official example from the ISO 13616 registry. Please never paste real personal data into issues or tests.
+40Ideas and bugs are welcome in issues. See CONTRIBUTING.md to get started.