Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
cultpony | 292a62032d |
|
@ -15,4 +15,3 @@
|
|||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
.DS_Store
|
||||
result
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright (C) 2020 by Christine Dodrill <me@christine.website>
|
||||
Copyright (C) 2006 by Rob Landley <rob@landley.net>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||
with or without fee is hereby granted.
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{ pkgs ? import <nixpkgs> { }, fetchgit ? pkgs.fetchgit
|
||||
, buildGoModule ? pkgs.buildGoModule }:
|
||||
|
||||
buildGoModule {
|
||||
name = "todayinmarch2020";
|
||||
src = ./.;
|
||||
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
||||
}
|
2
main.go
2
main.go
|
@ -71,7 +71,7 @@ func index(tmpl *template.Template) http.Handler {
|
|||
Day int
|
||||
Quip string
|
||||
}{
|
||||
Day: int(dur.Hours()/24) + 1,
|
||||
Day: int(dur.Hours() / 24),
|
||||
Quip: quips[rand.Intn(len(quips))],
|
||||
})
|
||||
})
|
||||
|
|
19
quips.json
19
quips.json
|
@ -11,5 +11,20 @@
|
|||
"Some people think this is paranoia, but it isn't. Paranoids only think everyone is out to get them. Developers know it.",
|
||||
"Weather forecast for tomorrow: RIVERS OF BLOOD ALL DAY",
|
||||
"A systems programmer will know what to do when society breaks down, because the systems programmer already lives in a world without law.",
|
||||
"It's not DNS, there's no way it was DNS, it was DNS."
|
||||
]
|
||||
"Coffee is the second reason that justifies the existence of Earth",
|
||||
"Shame on those who look at it",
|
||||
"Format C",
|
||||
"Sleep disorder is commonly treated with time machines",
|
||||
"Our sysadmin set fire to a chicken",
|
||||
"'We should kill them.' 'Who, our sysadmin?' 'I was thinking all of them but it would be a start'",
|
||||
"Of course devops is at fault, there's noone else who could be responsible for anything",
|
||||
"Devops 1: 'How is the server?' Devops 2: 'Stable' Sysadmin: '*Dead* is stable'",
|
||||
"Developers use their computers for precisely ten things, seven of which involve procuring a vast menagerie of furry art",
|
||||
"THE MAGMA PEOPLE ARE WAITING FOR OUR MISTAKES",
|
||||
"Talk Announcement: Vertex-based Elliptic Cryptography on N-way Bojangle Spaces",
|
||||
"Real threat models can be roughly divided into 'Not-Mossad' and 'Mossad'",
|
||||
"DOES THIS WORK LOL",
|
||||
"If you're confused about what a file is, here is a life tip: DO NOT EXECUTE IT TO DISCOVER MORE CLUES",
|
||||
"Proudly rendered in Quirks Mode",
|
||||
"<this section is left empty on purpose>"
|
||||
]
|
|
@ -1,5 +0,0 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ go gopls goimports bashInteractive ];
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<title>What Day of March 2020 Is It?</title>
|
||||
<title>What Day of March, 2020 Is It?</title>
|
||||
<style>
|
||||
main {
|
||||
font-family: monospace, monospace;
|
||||
|
@ -26,10 +26,6 @@
|
|||
color: #ebdbb2;
|
||||
}
|
||||
|
||||
main {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #3c3836;
|
||||
padding: 1em;
|
||||
|
@ -99,25 +95,27 @@
|
|||
</head>
|
||||
|
||||
<body id="top">
|
||||
<main>
|
||||
<big>Today is March <big>{{.Day}}</big>, 2020</big>
|
||||
<center>
|
||||
<main>
|
||||
<big>Today is March <big>{{.Day}}</big>, 2020</big>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<p>{{.Quip}}</p>
|
||||
<p>{{.Quip}}</p>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<footer>
|
||||
<p>From <a href="https://christine.website">Within</a> - <a
|
||||
href="https://twitter.com/theprincessxena">@theprincessxena</a> - <a
|
||||
href="https://tulpa.dev/cadey/todayinmarch2020">Source Code</a></p>
|
||||
</footer>
|
||||
</main>
|
||||
<footer>
|
||||
<p>From <a href="https://christine.website">Within</a> - <a
|
||||
href="https://twitter.com/theprincessxena">@theprincessxena</a> - <a
|
||||
href="https://tulpa.dev/cadey/todayinmarch2020">Source Code</a></p>
|
||||
</footer>
|
||||
</main>
|
||||
</center>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
Loading…
Reference in New Issue