electricwizard1988 / licence-gen Goto Github PK
View Code? Open in Web Editor NEWGenerate fake UK Driving Licence numbers.
Home Page: https://electricwizard1988.github.io/licence-gen
Generate fake UK Driving Licence numbers.
Home Page: https://electricwizard1988.github.io/licence-gen
Any surname starting with Mac should be handled as if the "a" weren't there. This is meant to remove issues with spelling of Mac vs Mc, but applies to any surname that happens to begin with those three letters. Examples:
The two characters in the driving licence number for first name are supposed to contain the initials of the first two given names (with a 9 in the absence of enough if those)
The way the month turns into the respective digits in the license number depends on the bearer's gender: if that is Female, then the month number is incremented by 50.
This is currently not taken into account, resulting in female names like Angela having "male" DL numbers.
Two categories:
Examples of realistic, problematic inputs:
Mão de Ferro
Expected: MAODE
Observed: MÃO D
O'Leary
Expected: OLEAR
Observed: O'LEA
Ágata
Expected: A
Observed: Á
(There's another issue with given names, but I'll create a separate issue for that.)
Add a btn to copy output to clipboard.
The app doesn't look too good on mobile devices, so have a look into making it more responsive.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.