falue / vcard_generator Goto Github PK
View Code? Open in Web Editor NEWGenerate a large number of vCard contacts with photos, swiss naming convention
Generate a large number of vCard contacts with photos, swiss naming convention
Add an invisible but valid text to every contact: In case of a mix up - you just imported 1000 fake contacts into your 598 real contacts - you are able to filter them more easily out.
Use some sort of comment function?
Misuse an obscure field that is not usually shown to a user?
let user define multiple phone number patterns.
phone_pattern = ["0041 7Z XXX XX XX", "07Z XXX XX XX", "+49 XX XXX XX XX"]
All X
s gets replaced by integer 0-9
All Z
s gets replaced by user def list of integers z_pattern = [6, 7, 8, 9]
random.choice(phone_pattern).replace("Z", str(random.choice(z_pattern)))
ok with one occurrence
random.choice(phone_pattern).replace("X", str(random.randint(0, 9)))
replaces every X with the same integer
random.choice(phone_pattern).replace("X","%s") % random.randint(0, 9)
its missing values to replace the X's
WORKS but requieres import re
:
re.sub('X', lambda m, i=iter(str(random.randint(100000000,900000000))): next(i), random.choice(phone_pattern)).replace("Z", str(random.choice(z_pattern)))
Phone numbers should be randomly assigned WORK
, HOME
or CELL
.
The gender of the first names and the images do not necessarily match.
Use two lists of male and female names and assign matching images.
Images 1-200 are females, 201-400 are male.
Also, add a frequencyofgender
int to determine the likeliness of all genders.
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.