1
0
Fork 0
mirror of https://github.com/MillironX/docker-names.git synced 2024-11-23 08:29:55 +00:00

Remove negative verbs & controversial last names

This commit is contained in:
declanshanaghy 2021-05-10 20:19:30 -07:00 committed by GitHub
parent b001fa1bb5
commit 0e9d52bf01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,12 +4,10 @@ export const left = [
"affectionate",
"agitated",
"amazing",
"angry",
"awesome",
"beautiful",
"blissful",
"bold",
"boring",
"brave",
"busy",
"charming",
@ -17,10 +15,7 @@ export const left = [
"cool",
"compassionate",
"competent",
"condescending",
"confident",
"cranky",
"crazy",
"dazzling",
"determined",
"distracted",
@ -59,7 +54,6 @@ export const left = [
"keen",
"kind",
"laughing",
"loving",
"lucid",
"magical",
"mystifying",
@ -73,8 +67,6 @@ export const left = [
"objective",
"optimistic",
"peaceful",
"pedantic",
"pensive",
"practical",
"priceless",
"quirky",
@ -82,7 +74,6 @@ export const left = [
"recursing",
"relaxed",
"reverent",
"romantic",
"sad",
"serene",
"sharp",
@ -90,8 +81,6 @@ export const left = [
"sleepy",
"stoic",
"strange",
"stupefied",
"suspicious",
"sweet",
"tender",
"thirsty",
@ -155,9 +144,6 @@ export const right = [
// Laura Bassi, the world's first female professor https://en.wikipedia.org/wiki/Laura_Bassi
"bassi",
// Hugh Beaver, British engineer, founder of the Guinness Book of World Records https://en.wikipedia.org/wiki/Hugh_Beaver
"beaver",
// Alexander Graham Bell - an eminent Scottish-born scientist, inventor, engineer and innovator who is credited with inventing the first practical telephone - https://en.wikipedia.org/wiki/Alexander_Graham_Bell
"bell",
@ -170,9 +156,6 @@ export const right = [
// Bhaskara II - Ancient Indian mathematician-astronomer whose work on calculus predates Newton and Leibniz by over half a millennium - https://en.wikipedia.org/wiki/Bh%C4%81skara_II#Calculus
"bhaskara",
// Sue Black - British computer scientist and campaigner. She has been instrumental in saving Bletchley Park, the site of World War II codebreaking - https://en.wikipedia.org/wiki/Sue_Black_(computer_scientist)
"black",
// Elizabeth Helen Blackburn - Australian-American Nobel laureate; best known for co-discovering telomerase. https://en.wikipedia.org/wiki/Elizabeth_Blackburn
"blackburn",
@ -664,9 +647,6 @@ export const right = [
// Srinivasa Ramanujan - Indian mathematician and autodidact who made extraordinary contributions to mathematical analysis, number theory, infinite series, and continued fractions. - https://en.wikipedia.org/wiki/Srinivasa_Ramanujan
"ramanujan",
// Sally Kristen Ride was an American physicist and astronaut. She was the first American woman in space, and the youngest American astronaut. https://en.wikipedia.org/wiki/Sally_Ride
"ride",
// Dennis Ritchie - co-creator of UNIX and the C programming language. - https://en.wikipedia.org/wiki/Dennis_Ritchie
"ritchie",
@ -848,9 +828,6 @@ export const right = [
export function generateName() : string {
const leftElement = left[Math.floor(Math.random() * left.length)];
const rightElement = right[Math.floor(Math.random() * right.length)];
if(leftElement === 'boring' && rightElement === 'wozniak'){
return generateName()
}
return `${leftElement}-${rightElement}`
}