Apply Prettier formatting
parent
4230057dae
commit
acda78c6d0
@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "scrolling-image-header" . }}
|
{{ partial "scrolling-image-header" . }}
|
||||||
<section class="container-fluid list-main">
|
<section class="container-fluid list-main">
|
||||||
<div class="container px-5">
|
<div class="container px-5">
|
||||||
{{ block "content" . }}
|
{{ block "content" . }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<section class="container-fluid list-main">
|
||||||
<section class="container-fluid list-main">
|
<div class="container px-5">
|
||||||
<div class="container px-5">
|
{{ .Content }}
|
||||||
{{ .Content }}
|
</div>
|
||||||
</div>
|
</section>
|
||||||
</section>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,27 +1,31 @@
|
|||||||
|
|
||||||
{{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }}
|
{{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }}
|
||||||
{{ $command := .Get 1 }}
|
{{ $command := .Get 1 }}
|
||||||
{{ $options := .Get 2 }}
|
{{ $options := .Get 2 }}
|
||||||
{{ $figclass := .Get 3 }}
|
{{ $figclass := .Get 3 }}
|
||||||
{{ $imgclass := .Get 4 }}
|
{{ $imgclass := .Get 4 }}
|
||||||
{{ if eq $command "Fit"}}
|
{{ if eq $command "Fit" }}
|
||||||
{{ $img = $img.Fit $options }}
|
{{ $img = $img.Fit $options }}
|
||||||
{{ else if eq $command "Resize"}}
|
{{ else if eq $command "Resize" }}
|
||||||
{{ $img = $img.Resize $options }}
|
{{ $img = $img.Resize $options }}
|
||||||
{{ else if eq $command "Fill"}}
|
{{ else if eq $command "Fill" }}
|
||||||
{{ $img = $img.Fill $options }}
|
{{ $img = $img.Fill $options }}
|
||||||
{{ else if eq $command "Crop"}}
|
{{ else if eq $command "Crop" }}
|
||||||
{{ $img = $img.Crop $options }}
|
{{ $img = $img.Crop $options }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ errorf "Invalid image processing command: Must be one of Crop, Fit, Fill or Resize."}}
|
{{ errorf "Invalid image processing command: Must be one of Crop, Fit, Fill or Resize." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<figure class="figure {{ $figclass }}">
|
<figure class="figure {{ $figclass }}">
|
||||||
<img class="figure-img img img-fluid" src="{{ $img.RelPermalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}">
|
<img
|
||||||
{{ with .Inner }}
|
class="figure-img img img-fluid"
|
||||||
<figcaption class="figure-caption">
|
src="{{ $img.RelPermalink }}"
|
||||||
<small>
|
width="{{ $img.Width }}"
|
||||||
{{ . | markdownify }}
|
height="{{ $img.Height }}"
|
||||||
</small>
|
/>
|
||||||
</figcaption>
|
{{ with .Inner }}
|
||||||
{{ end }}
|
<figcaption class="figure-caption">
|
||||||
|
<small>
|
||||||
|
{{ . | markdownify }}
|
||||||
|
</small>
|
||||||
|
</figcaption>
|
||||||
|
{{ end }}
|
||||||
</figure>
|
</figure>
|
||||||
|
@ -1,42 +1,32 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<section class="container-fluid list-main">
|
||||||
<section class="container-fluid list-main">
|
<div class="container px-5">
|
||||||
<div class="container px-5">
|
|
||||||
|
|
||||||
{{ if eq .Params.storage "yt" }}
|
{{ if eq .Params.storage "yt" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://www.youtube-nocookie.com/embed/" .Params.storageId) }}
|
{{ .Scratch.Set "embedLink" (print "https://www.youtube-nocookie.com/embed/" .Params.storageId) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Params.storage "vimeo" }}
|
{{ if eq .Params.storage "vimeo" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://player.vimeo.com/video/" .Params.storageId "?color=ffffff") }}
|
{{ .Scratch.Set "embedLink" (print "https://player.vimeo.com/video/" .Params.storageId "?color=ffffff") }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Params.storage "lbry" }}
|
{{ if eq .Params.storage "lbry" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }}
|
{{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Params.storage "peertube" }}
|
{{ if eq .Params.storage "peertube" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://video.millironx.com/videos/embed/" .Params.storageId) }}
|
{{ .Scratch.Set "embedLink" (print "https://video.millironx.com/videos/embed/" .Params.storageId) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="ratio ratio-16x9">
|
<div class="ratio ratio-16x9">
|
||||||
<iframe
|
<iframe
|
||||||
src="{{ .Scratch.Get "embedLink" }}"
|
src="{{ .Scratch.Get "embedLink" }}"
|
||||||
title="{{ .Title }}"
|
title="{{ .Title }}"
|
||||||
allowfullscreen
|
allowfullscreen
|
||||||
>
|
>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ .Content }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,49 +1,53 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "scrolling-image-header" . }}
|
{{ partial "scrolling-image-header" . }}
|
||||||
|
|
||||||
|
|
||||||
|
<section class="container-fluid list-main">
|
||||||
|
<div class="container px-5">
|
||||||
|
{{ range .Pages }}
|
||||||
|
<section class="card mb-3">
|
||||||
|
<div class="card-body d-flex align-items-center">
|
||||||
|
{{ $thumbnail := .Resources.GetMatch "thumbnail.png" }}
|
||||||
|
{{ $thumbimg := $thumbnail.Resize "250x" }}
|
||||||
|
<div class="flex-shrink-0">
|
||||||
|
{{ $image := . }}
|
||||||
|
<img
|
||||||
|
class="img-thumbnail rounded"
|
||||||
|
src="{{ $thumbimg.RelPermalink }}"
|
||||||
|
alt="Thumbnail of {{ .Title }}"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1 ms-3 py-1">
|
||||||
|
<h3 class="card-title">{{ .Title }}</h3>
|
||||||
|
<h4 class="card-subtitle">
|
||||||
|
<a href="{{ .Params.deployURL }}">{{ .Params.deployURL }}</a>
|
||||||
|
</h4>
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0">
|
||||||
|
<div class="btn-group-vertical">
|
||||||
|
<a
|
||||||
|
class="btn btn-secondary"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
title="{{ .Params.platform }}"
|
||||||
|
href="{{ .Params.platformURL }}"
|
||||||
|
>
|
||||||
|
<i class="{{ .Params.platformIcon }}"></i>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="btn btn-secondary"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
title="Source code"
|
||||||
|
href="{{ .Params.sourceURL }}"
|
||||||
|
>
|
||||||
|
<i class="fab fa-github"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<section class="container-fluid list-main">
|
|
||||||
<div class="container px-5">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ range .Pages }}
|
|
||||||
<section class="card mb-3">
|
|
||||||
<div class="card-body d-flex align-items-center">
|
|
||||||
{{ $thumbnail := .Resources.GetMatch "thumbnail.png" }}
|
|
||||||
{{ $thumbimg := $thumbnail.Resize "250x" }}
|
|
||||||
<div class="flex-shrink-0">
|
|
||||||
{{ $image := .}}
|
|
||||||
<img class="img-thumbnail rounded" src="{{ $thumbimg.RelPermalink }}" alt="Thumbnail of {{ .Title }}">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-grow-1 ms-3 py-1">
|
</section>
|
||||||
<h3 class="card-title">{{ .Title }}</h3>
|
|
||||||
<h4 class="card-subtitle"><a href="{{ .Params.deployURL }}">{{ .Params.deployURL }}</a></h4>
|
|
||||||
{{ .Content }}
|
|
||||||
</div>
|
|
||||||
<div class="flex-shrink-0">
|
|
||||||
<div class="btn-group-vertical">
|
|
||||||
<a class="btn btn-secondary" data-bs-toggle="tooltip" title="{{ .Params.platform }}"
|
|
||||||
href="{{ .Params.platformURL }}">
|
|
||||||
<i class="{{ .Params.platformIcon }}"></i>
|
|
||||||
</a>
|
|
||||||
<a class="btn btn-secondary" data-bs-toggle="tooltip" title="Source code" href="{{ .Params.sourceURL }}">
|
|
||||||
<i class="fab fa-github"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,9 +1,495 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<body>
|
<body>
|
||||||
<code id="dname"></code>
|
<code id="dname"></code>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
"use strict";const left=["admiring","adoring","affectionate","agitated","amazing","awesome","beautiful","beloved","blissful","bold","brave","busy","caprine","charming","clever","cool","compassionate","competent","confident","dazzling","determined","distracted","dreamy","eager","ecstatic","elastic","elated","elegant","eloquent","epic","exciting","fervent","festive","flamboyant","focused","friendly","frosty","funny","gallant","gifted","goofy","gracious","great","happy","hardcore","heuristic","hircine","hopeful","hungry","infallible","inspiring","interesting","intelligent","jolly","jovial","keen","kind","laughing","lucid","magical","mystifying","modest","musing","nervous","nice","nifty","nostalgic","objective","optimistic","peaceful","practical","priceless","problematic","quirky","quizzical","recursing","relaxed","reverent","ruminant","sad","serene","sharp","silly","sleepy","stoic","strange","sweet","tender","thirsty","trusting","unruffled","upbeat","vibrant","vigilant","vigorous","wizardly","wonderful","xenodochial","youthful","zealous","zen"],right=["albattani","allen","almeida","antonelli","agnesi","archimedes","ardinghelli","aryabhata","austin","babbage","banach","banzai","bardeen","bartik","bassi","bell","benz","bhabha","bhaskara","black","blackburn","blackwell","bohr","booth","borg","bose","bouman","boyd","brahmagupta","brattain","brown","buck","burnell","cannon","carson","cartwright","carver","cerf","chandrasekhar","chaplygin","chatelet","chatterjee","chebyshev","cohen","chaum","clarke","colden","cori","cray","curran","curie","darwin","davinci","dewdney","dhawan","diffie","dijkstra","dirac","driscoll","dubinsky","edison","einstein","elbakyan","elgamal","elion","ellis","engelbart","euclid","euler","faraday","feistel","fermat","fermi","feynman","franklin","gagarin","galileo","galois","ganguly","gates","gauss","germain","goldberg","goldstine","goldwasser","golick","goodall","gould","greider","grothendieck","haibt","hamilton","haslett","hawking","hellman","heisenberg","henderson","hermann","herschel","hertz","heyrovsky","hodgkin","hofstadter","hoover","hopper","hugle","hungate","hypatia","ishizaka","jackson","jang","jemison","jennings","jepsen","joliot","jones","kalam","kaminsky","kapitsa","kare","karpinski","keldysh","keller","kepler","khayyam","khorana","kilby","kirch","knuth","kowalevski","lalande","lamarr","lamport","leakey","leavitt","lederberg","lehmann","levenspiel","lewin","lichterman","liskov","lovelace","lumiere","lush","mahavira","margulis","matsumoto","maxwell","mayer","mccarthy","mcclintock","mclaren","mclean","mcnulty","mendel","mendeleev","meitner","meninsky","merkle","mestorf","mirzakhani","montalcini","moore","morse","murdock","moser","napier","nash","neumann","newton","nightingale","nobel","noether","northcutt","noyce","panini","pare","pascal","pasteur","payne","perlman","pike","poincare","poitras","proskuriakova","ptolemy","raman","ramanujan","ritchie","rhodes","robinson","roentgen","rosalind","rubin","saha","sammet","sanderson","satoshi","shamir","shannon","shaw","shirley","shockley","shtern","sinoussi","snyder","solomon","spence","stonebraker","sutherland","swanson","swartz","swirles","taussig","tereshkova","tesla","tharp","thiele","thompson","torvalds","tu","turing","varahamihira","vaughan","visvesvaraya","volhard","villani","wescoff","wilbur","wiles","williams","williamson","wilson","wing","wozniak","wright","wu","yalow","yonath","zhukovsky","ago","amir","ansell","bieron","bitincka","bondo","chung","easley","emmy","fritze","goozy","gilbert","heady","hoffman","jeebus","katz","krueger","litras","maislin","marko","quick","rochette","romito","shanaghy","sharp","smith","sobolewski","strong","suara","tankersley","vandoren","wilk","vandoren","wilkins","reeder","shannon","geary","walker","denver","medary","robinson","carney","crawford","green","harvey","osborn","anthony","john","glick","martin","humphrey","lewelling","morrill","leedy","stanley","bailey","hoch","stubbs","hodges","capper","allen","davis","paulen","reed","woodring","landon","huxman","ratner","schoeppel","carlson","hagaman","arn","hall","mccuish","docking","anderson","avery","docking","bennett","carlin","hayden","finney","graves","sebelius","parkinson","brownback","colyer","kelly","campbell","thayer","hoyt","hale","morgan","warren","baxter","moonlight","barber","osborne","richards","chatterton","brooks","carey","kendrick","houx","ross","lucas","emerson","clark","miller","smith","hunt","crane","barrett","simpson","hickey","gage","hansen","hathaway","herschler","sullivan","geringer","freudenthal","mead","gordon"];function generateName(){return left[Math.floor(Math.random()*left.length)]+"-"+right[Math.floor(Math.random()*right.length)]}function generateNameWithNumber(){return generateName()+"_"+(Math.floor(6*Math.random())+1)}function generateNameWithDate(){var e=new Date;return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().slice(0,10).replace(/-/g,"")+"_"+generateName()}
|
"use strict";
|
||||||
document.getElementById('dname').innerHTML = generateNameWithDate()
|
const left = [
|
||||||
</script>
|
"admiring",
|
||||||
|
"adoring",
|
||||||
|
"affectionate",
|
||||||
|
"agitated",
|
||||||
|
"amazing",
|
||||||
|
"awesome",
|
||||||
|
"beautiful",
|
||||||
|
"beloved",
|
||||||
|
"blissful",
|
||||||
|
"bold",
|
||||||
|
"brave",
|
||||||
|
"busy",
|
||||||
|
"caprine",
|
||||||
|
"charming",
|
||||||
|
"clever",
|
||||||
|
"cool",
|
||||||
|
"compassionate",
|
||||||
|
"competent",
|
||||||
|
"confident",
|
||||||
|
"dazzling",
|
||||||
|
"determined",
|
||||||
|
"distracted",
|
||||||
|
"dreamy",
|
||||||
|
"eager",
|
||||||
|
"ecstatic",
|
||||||
|
"elastic",
|
||||||
|
"elated",
|
||||||
|
"elegant",
|
||||||
|
"eloquent",
|
||||||
|
"epic",
|
||||||
|
"exciting",
|
||||||
|
"fervent",
|
||||||
|
"festive",
|
||||||
|
"flamboyant",
|
||||||
|
"focused",
|
||||||
|
"friendly",
|
||||||
|
"frosty",
|
||||||
|
"funny",
|
||||||
|
"gallant",
|
||||||
|
"gifted",
|
||||||
|
"goofy",
|
||||||
|
"gracious",
|
||||||
|
"great",
|
||||||
|
"happy",
|
||||||
|
"hardcore",
|
||||||
|
"heuristic",
|
||||||
|
"hircine",
|
||||||
|
"hopeful",
|
||||||
|
"hungry",
|
||||||
|
"infallible",
|
||||||
|
"inspiring",
|
||||||
|
"interesting",
|
||||||
|
"intelligent",
|
||||||
|
"jolly",
|
||||||
|
"jovial",
|
||||||
|
"keen",
|
||||||
|
"kind",
|
||||||
|
"laughing",
|
||||||
|
"lucid",
|
||||||
|
"magical",
|
||||||
|
"mystifying",
|
||||||
|
"modest",
|
||||||
|
"musing",
|
||||||
|
"nervous",
|
||||||
|
"nice",
|
||||||
|
"nifty",
|
||||||
|
"nostalgic",
|
||||||
|
"objective",
|
||||||
|
"optimistic",
|
||||||
|
"peaceful",
|
||||||
|
"practical",
|
||||||
|
"priceless",
|
||||||
|
"problematic",
|
||||||
|
"quirky",
|
||||||
|
"quizzical",
|
||||||
|
"recursing",
|
||||||
|
"relaxed",
|
||||||
|
"reverent",
|
||||||
|
"ruminant",
|
||||||
|
"sad",
|
||||||
|
"serene",
|
||||||
|
"sharp",
|
||||||
|
"silly",
|
||||||
|
"sleepy",
|
||||||
|
"stoic",
|
||||||
|
"strange",
|
||||||
|
"sweet",
|
||||||
|
"tender",
|
||||||
|
"thirsty",
|
||||||
|
"trusting",
|
||||||
|
"unruffled",
|
||||||
|
"upbeat",
|
||||||
|
"vibrant",
|
||||||
|
"vigilant",
|
||||||
|
"vigorous",
|
||||||
|
"wizardly",
|
||||||
|
"wonderful",
|
||||||
|
"xenodochial",
|
||||||
|
"youthful",
|
||||||
|
"zealous",
|
||||||
|
"zen",
|
||||||
|
],
|
||||||
|
right = [
|
||||||
|
"albattani",
|
||||||
|
"allen",
|
||||||
|
"almeida",
|
||||||
|
"antonelli",
|
||||||
|
"agnesi",
|
||||||
|
"archimedes",
|
||||||
|
"ardinghelli",
|
||||||
|
"aryabhata",
|
||||||
|
"austin",
|
||||||
|
"babbage",
|
||||||
|
"banach",
|
||||||
|
"banzai",
|
||||||
|
"bardeen",
|
||||||
|
"bartik",
|
||||||
|
"bassi",
|
||||||
|
"bell",
|
||||||
|
"benz",
|
||||||
|
"bhabha",
|
||||||
|
"bhaskara",
|
||||||
|
"black",
|
||||||
|
"blackburn",
|
||||||
|
"blackwell",
|
||||||
|
"bohr",
|
||||||
|
"booth",
|
||||||
|
"borg",
|
||||||
|
"bose",
|
||||||
|
"bouman",
|
||||||
|
"boyd",
|
||||||
|
"brahmagupta",
|
||||||
|
"brattain",
|
||||||
|
"brown",
|
||||||
|
"buck",
|
||||||
|
"burnell",
|
||||||
|
"cannon",
|
||||||
|
"carson",
|
||||||
|
"cartwright",
|
||||||
|
"carver",
|
||||||
|
"cerf",
|
||||||
|
"chandrasekhar",
|
||||||
|
"chaplygin",
|
||||||
|
"chatelet",
|
||||||
|
"chatterjee",
|
||||||
|
"chebyshev",
|
||||||
|
"cohen",
|
||||||
|
"chaum",
|
||||||
|
"clarke",
|
||||||
|
"colden",
|
||||||
|
"cori",
|
||||||
|
"cray",
|
||||||
|
"curran",
|
||||||
|
"curie",
|
||||||
|
"darwin",
|
||||||
|
"davinci",
|
||||||
|
"dewdney",
|
||||||
|
"dhawan",
|
||||||
|
"diffie",
|
||||||
|
"dijkstra",
|
||||||
|
"dirac",
|
||||||
|
"driscoll",
|
||||||
|
"dubinsky",
|
||||||
|
"edison",
|
||||||
|
"einstein",
|
||||||
|
"elbakyan",
|
||||||
|
"elgamal",
|
||||||
|
"elion",
|
||||||
|
"ellis",
|
||||||
|
"engelbart",
|
||||||
|
"euclid",
|
||||||
|
"euler",
|
||||||
|
"faraday",
|
||||||
|
"feistel",
|
||||||
|
"fermat",
|
||||||
|
"fermi",
|
||||||
|
"feynman",
|
||||||
|
"franklin",
|
||||||
|
"gagarin",
|
||||||
|
"galileo",
|
||||||
|
"galois",
|
||||||
|
"ganguly",
|
||||||
|
"gates",
|
||||||
|
"gauss",
|
||||||
|
"germain",
|
||||||
|
"goldberg",
|
||||||
|
"goldstine",
|
||||||
|
"goldwasser",
|
||||||
|
"golick",
|
||||||
|
"goodall",
|
||||||
|
"gould",
|
||||||
|
"greider",
|
||||||
|
"grothendieck",
|
||||||
|
"haibt",
|
||||||
|
"hamilton",
|
||||||
|
"haslett",
|
||||||
|
"hawking",
|
||||||
|
"hellman",
|
||||||
|
"heisenberg",
|
||||||
|
"henderson",
|
||||||
|
"hermann",
|
||||||
|
"herschel",
|
||||||
|
"hertz",
|
||||||
|
"heyrovsky",
|
||||||
|
"hodgkin",
|
||||||
|
"hofstadter",
|
||||||
|
"hoover",
|
||||||
|
"hopper",
|
||||||
|
"hugle",
|
||||||
|
"hungate",
|
||||||
|
"hypatia",
|
||||||
|
"ishizaka",
|
||||||
|
"jackson",
|
||||||
|
"jang",
|
||||||
|
"jemison",
|
||||||
|
"jennings",
|
||||||
|
"jepsen",
|
||||||
|
"joliot",
|
||||||
|
"jones",
|
||||||
|
"kalam",
|
||||||
|
"kaminsky",
|
||||||
|
"kapitsa",
|
||||||
|
"kare",
|
||||||
|
"karpinski",
|
||||||
|
"keldysh",
|
||||||
|
"keller",
|
||||||
|
"kepler",
|
||||||
|
"khayyam",
|
||||||
|
"khorana",
|
||||||
|
"kilby",
|
||||||
|
"kirch",
|
||||||
|
"knuth",
|
||||||
|
"kowalevski",
|
||||||
|
"lalande",
|
||||||
|
"lamarr",
|
||||||
|
"lamport",
|
||||||
|
"leakey",
|
||||||
|
"leavitt",
|
||||||
|
"lederberg",
|
||||||
|
"lehmann",
|
||||||
|
"levenspiel",
|
||||||
|
"lewin",
|
||||||
|
"lichterman",
|
||||||
|
"liskov",
|
||||||
|
"lovelace",
|
||||||
|
"lumiere",
|
||||||
|
"lush",
|
||||||
|
"mahavira",
|
||||||
|
"margulis",
|
||||||
|
"matsumoto",
|
||||||
|
"maxwell",
|
||||||
|
"mayer",
|
||||||
|
"mccarthy",
|
||||||
|
"mcclintock",
|
||||||
|
"mclaren",
|
||||||
|
"mclean",
|
||||||
|
"mcnulty",
|
||||||
|
"mendel",
|
||||||
|
"mendeleev",
|
||||||
|
"meitner",
|
||||||
|
"meninsky",
|
||||||
|
"merkle",
|
||||||
|
"mestorf",
|
||||||
|
"mirzakhani",
|
||||||
|
"montalcini",
|
||||||
|
"moore",
|
||||||
|
"morse",
|
||||||
|
"murdock",
|
||||||
|
"moser",
|
||||||
|
"napier",
|
||||||
|
"nash",
|
||||||
|
"neumann",
|
||||||
|
"newton",
|
||||||
|
"nightingale",
|
||||||
|
"nobel",
|
||||||
|
"noether",
|
||||||
|
"northcutt",
|
||||||
|
"noyce",
|
||||||
|
"panini",
|
||||||
|
"pare",
|
||||||
|
"pascal",
|
||||||
|
"pasteur",
|
||||||
|
"payne",
|
||||||
|
"perlman",
|
||||||
|
"pike",
|
||||||
|
"poincare",
|
||||||
|
"poitras",
|
||||||
|
"proskuriakova",
|
||||||
|
"ptolemy",
|
||||||
|
"raman",
|
||||||
|
"ramanujan",
|
||||||
|
"ritchie",
|
||||||
|
"rhodes",
|
||||||
|
"robinson",
|
||||||
|
"roentgen",
|
||||||
|
"rosalind",
|
||||||
|
"rubin",
|
||||||
|
"saha",
|
||||||
|
"sammet",
|
||||||
|
"sanderson",
|
||||||
|
"satoshi",
|
||||||
|
"shamir",
|
||||||
|
"shannon",
|
||||||
|
"shaw",
|
||||||
|
"shirley",
|
||||||
|
"shockley",
|
||||||
|
"shtern",
|
||||||
|
"sinoussi",
|
||||||
|
"snyder",
|
||||||
|
"solomon",
|
||||||
|
"spence",
|
||||||
|
"stonebraker",
|
||||||
|
"sutherland",
|
||||||
|
"swanson",
|
||||||
|
"swartz",
|
||||||
|
"swirles",
|
||||||
|
"taussig",
|
||||||
|
"tereshkova",
|
||||||
|
"tesla",
|
||||||
|
"tharp",
|
||||||
|
"thiele",
|
||||||
|
"thompson",
|
||||||
|
"torvalds",
|
||||||
|
"tu",
|
||||||
|
"turing",
|
||||||
|
"varahamihira",
|
||||||
|
"vaughan",
|
||||||
|
"visvesvaraya",
|
||||||
|
"volhard",
|
||||||
|
"villani",
|
||||||
|
"wescoff",
|
||||||
|
"wilbur",
|
||||||
|
"wiles",
|
||||||
|
"williams",
|
||||||
|
"williamson",
|
||||||
|
"wilson",
|
||||||
|
"wing",
|
||||||
|
"wozniak",
|
||||||
|
"wright",
|
||||||
|
"wu",
|
||||||
|
"yalow",
|
||||||
|
"yonath",
|
||||||
|
"zhukovsky",
|
||||||
|
"ago",
|
||||||
|
"amir",
|
||||||
|
"ansell",
|
||||||
|
"bieron",
|
||||||
|
"bitincka",
|
||||||
|
"bondo",
|
||||||
|
"chung",
|
||||||
|
"easley",
|
||||||
|
"emmy",
|
||||||
|
"fritze",
|
||||||
|
"goozy",
|
||||||
|
"gilbert",
|
||||||
|
"heady",
|
||||||
|
"hoffman",
|
||||||
|
"jeebus",
|
||||||
|
"katz",
|
||||||
|
"krueger",
|
||||||
|
"litras",
|
||||||
|
"maislin",
|
||||||
|
"marko",
|
||||||
|
"quick",
|
||||||
|
"rochette",
|
||||||
|
"romito",
|
||||||
|
"shanaghy",
|
||||||
|
"sharp",
|
||||||
|
"smith",
|
||||||
|
"sobolewski",
|
||||||
|
"strong",
|
||||||
|
"suara",
|
||||||
|
"tankersley",
|
||||||
|
"vandoren",
|
||||||
|
"wilk",
|
||||||
|
"vandoren",
|
||||||
|
"wilkins",
|
||||||
|
"reeder",
|
||||||
|
"shannon",
|
||||||
|
"geary",
|
||||||
|
"walker",
|
||||||
|
"denver",
|
||||||
|
"medary",
|
||||||
|
"robinson",
|
||||||
|
"carney",
|
||||||
|
"crawford",
|
||||||
|
"green",
|
||||||
|
"harvey",
|
||||||
|
"osborn",
|
||||||
|
"anthony",
|
||||||
|
"john",
|
||||||
|
"glick",
|
||||||
|
"martin",
|
||||||
|
"humphrey",
|
||||||
|
"lewelling",
|
||||||
|
"morrill",
|
||||||
|
"leedy",
|
||||||
|
"stanley",
|
||||||
|
"bailey",
|
||||||
|
"hoch",
|
||||||
|
"stubbs",
|
||||||
|
"hodges",
|
||||||
|
"capper",
|
||||||
|
"allen",
|
||||||
|
"davis",
|
||||||
|
"paulen",
|
||||||
|
"reed",
|
||||||
|
"woodring",
|
||||||
|
"landon",
|
||||||
|
"huxman",
|
||||||
|
"ratner",
|
||||||
|
"schoeppel",
|
||||||
|
"carlson",
|
||||||
|
"hagaman",
|
||||||
|
"arn",
|
||||||
|
"hall",
|
||||||
|
"mccuish",
|
||||||
|
"docking",
|
||||||
|
"anderson",
|
||||||
|
"avery",
|
||||||
|
"docking",
|
||||||
|
"bennett",
|
||||||
|
"carlin",
|
||||||
|
"hayden",
|
||||||
|
"finney",
|
||||||
|
"graves",
|
||||||
|
"sebelius",
|
||||||
|
"parkinson",
|
||||||
|
"brownback",
|
||||||
|
"colyer",
|
||||||
|
"kelly",
|
||||||
|
"campbell",
|
||||||
|
"thayer",
|
||||||
|
"hoyt",
|
||||||
|
"hale",
|
||||||
|
"morgan",
|
||||||
|
"warren",
|
||||||
|
"baxter",
|
||||||
|
"moonlight",
|
||||||
|
"barber",
|
||||||
|
"osborne",
|
||||||
|
"richards",
|
||||||
|
"chatterton",
|
||||||
|
"brooks",
|
||||||
|
"carey",
|
||||||
|
"kendrick",
|
||||||
|
"houx",
|
||||||
|
"ross",
|
||||||
|
"lucas",
|
||||||
|
"emerson",
|
||||||
|
"clark",
|
||||||
|
"miller",
|
||||||
|
"smith",
|
||||||
|
"hunt",
|
||||||
|
"crane",
|
||||||
|
"barrett",
|
||||||
|
"simpson",
|
||||||
|
"hickey",
|
||||||
|
"gage",
|
||||||
|
"hansen",
|
||||||
|
"hathaway",
|
||||||
|
"herschler",
|
||||||
|
"sullivan",
|
||||||
|
"geringer",
|
||||||
|
"freudenthal",
|
||||||
|
"mead",
|
||||||
|
"gordon",
|
||||||
|
];
|
||||||
|
function generateName() {
|
||||||
|
return (
|
||||||
|
left[Math.floor(Math.random() * left.length)] +
|
||||||
|
"-" +
|
||||||
|
right[Math.floor(Math.random() * right.length)]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function generateNameWithNumber() {
|
||||||
|
return generateName() + "_" + (Math.floor(6 * Math.random()) + 1);
|
||||||
|
}
|
||||||
|
function generateNameWithDate() {
|
||||||
|
var e = new Date();
|
||||||
|
return (
|
||||||
|
e.setMinutes(e.getMinutes() - e.getTimezoneOffset()),
|
||||||
|
e.toISOString().slice(0, 10).replace(/-/g, "") + "_" + generateName()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
document.getElementById("dname").innerHTML = generateNameWithDate();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue