mirror of
https://github.com/MillironX/docker-names.git
synced 2024-11-21 16:16:04 +00:00
Remove negative verbs & controversial last names
This commit is contained in:
parent
b001fa1bb5
commit
0e9d52bf01
1 changed files with 1 additions and 24 deletions
25
src/index.ts
25
src/index.ts
|
@ -4,12 +4,10 @@ export const left = [
|
||||||
"affectionate",
|
"affectionate",
|
||||||
"agitated",
|
"agitated",
|
||||||
"amazing",
|
"amazing",
|
||||||
"angry",
|
|
||||||
"awesome",
|
"awesome",
|
||||||
"beautiful",
|
"beautiful",
|
||||||
"blissful",
|
"blissful",
|
||||||
"bold",
|
"bold",
|
||||||
"boring",
|
|
||||||
"brave",
|
"brave",
|
||||||
"busy",
|
"busy",
|
||||||
"charming",
|
"charming",
|
||||||
|
@ -17,10 +15,7 @@ export const left = [
|
||||||
"cool",
|
"cool",
|
||||||
"compassionate",
|
"compassionate",
|
||||||
"competent",
|
"competent",
|
||||||
"condescending",
|
|
||||||
"confident",
|
"confident",
|
||||||
"cranky",
|
|
||||||
"crazy",
|
|
||||||
"dazzling",
|
"dazzling",
|
||||||
"determined",
|
"determined",
|
||||||
"distracted",
|
"distracted",
|
||||||
|
@ -59,7 +54,6 @@ export const left = [
|
||||||
"keen",
|
"keen",
|
||||||
"kind",
|
"kind",
|
||||||
"laughing",
|
"laughing",
|
||||||
"loving",
|
|
||||||
"lucid",
|
"lucid",
|
||||||
"magical",
|
"magical",
|
||||||
"mystifying",
|
"mystifying",
|
||||||
|
@ -73,8 +67,6 @@ export const left = [
|
||||||
"objective",
|
"objective",
|
||||||
"optimistic",
|
"optimistic",
|
||||||
"peaceful",
|
"peaceful",
|
||||||
"pedantic",
|
|
||||||
"pensive",
|
|
||||||
"practical",
|
"practical",
|
||||||
"priceless",
|
"priceless",
|
||||||
"quirky",
|
"quirky",
|
||||||
|
@ -82,7 +74,6 @@ export const left = [
|
||||||
"recursing",
|
"recursing",
|
||||||
"relaxed",
|
"relaxed",
|
||||||
"reverent",
|
"reverent",
|
||||||
"romantic",
|
|
||||||
"sad",
|
"sad",
|
||||||
"serene",
|
"serene",
|
||||||
"sharp",
|
"sharp",
|
||||||
|
@ -90,8 +81,6 @@ export const left = [
|
||||||
"sleepy",
|
"sleepy",
|
||||||
"stoic",
|
"stoic",
|
||||||
"strange",
|
"strange",
|
||||||
"stupefied",
|
|
||||||
"suspicious",
|
|
||||||
"sweet",
|
"sweet",
|
||||||
"tender",
|
"tender",
|
||||||
"thirsty",
|
"thirsty",
|
||||||
|
@ -155,9 +144,6 @@ export const right = [
|
||||||
// Laura Bassi, the world's first female professor https://en.wikipedia.org/wiki/Laura_Bassi
|
// Laura Bassi, the world's first female professor https://en.wikipedia.org/wiki/Laura_Bassi
|
||||||
"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
|
// 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",
|
"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 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",
|
"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
|
// Elizabeth Helen Blackburn - Australian-American Nobel laureate; best known for co-discovering telomerase. https://en.wikipedia.org/wiki/Elizabeth_Blackburn
|
||||||
"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
|
// 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",
|
"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
|
// Dennis Ritchie - co-creator of UNIX and the C programming language. - https://en.wikipedia.org/wiki/Dennis_Ritchie
|
||||||
"ritchie",
|
"ritchie",
|
||||||
|
|
||||||
|
@ -822,7 +802,7 @@ export const right = [
|
||||||
|
|
||||||
// Cribl Employee Family Names - Add your family name to this list in alphabetical order
|
// Cribl Employee Family Names - Add your family name to this list in alphabetical order
|
||||||
"ago", // Ledio Ago - Sr. Director of Engineering
|
"ago", // Ledio Ago - Sr. Director of Engineering
|
||||||
"amir", // Kam Amir - Director Business Development
|
"amir", // Kam Amir - Director Business Development
|
||||||
"ansell", // Danny Ansell - Regional Sales
|
"ansell", // Danny Ansell - Regional Sales
|
||||||
"bitincka", // Dritan Bitincka - Co-founder and Chief Products Officer
|
"bitincka", // Dritan Bitincka - Co-founder and Chief Products Officer
|
||||||
"bitincka", // Ledion Bitincka - Co-founder and Chief Technology Officer
|
"bitincka", // Ledion Bitincka - Co-founder and Chief Technology Officer
|
||||||
|
@ -848,9 +828,6 @@ export const right = [
|
||||||
export function generateName() : string {
|
export function generateName() : string {
|
||||||
const leftElement = left[Math.floor(Math.random() * left.length)];
|
const leftElement = left[Math.floor(Math.random() * left.length)];
|
||||||
const rightElement = right[Math.floor(Math.random() * right.length)];
|
const rightElement = right[Math.floor(Math.random() * right.length)];
|
||||||
if(leftElement === 'boring' && rightElement === 'wozniak'){
|
|
||||||
return generateName()
|
|
||||||
}
|
|
||||||
return `${leftElement}-${rightElement}`
|
return `${leftElement}-${rightElement}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue