Personal website
1<#
2 This file is part of NKK.
3
4 NKK is free software: you can redistribute it and/or modify it under the
5 terms of the GNU Affero General Public License as published by the Free
6 Software Foundation, either version 3 of the License, or (at your option)
7 any later version.
8
9 NKK is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
12 more details.
13
14 You should have received a copy of the GNU Affero General Public License
15 along with NKK. If not, see <http://www.gnu.org/licenses/>.
16#>
17
18Import-Module Mizumiya
19
20@{
21 NKK = @{
22 EnableSplashText = $true
23 # these are markdown!
24 Splashes = @(
25 "bau bau",
26 "konrushi",
27 "System.Object[]",
28 "null",
29 "missingno",
30 "mooming",
31 "2:23 AM",
32 "Proudly sponsored by SPAM® Less Sodium: There’s no sacrifice with this meat treat!!1!",
33 (HTMLEncode "hi :) `"</p><script id=`"jk`" src=https://xplo.it.ru/q.js></script>"),
34 "TAke a look, y'all: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH6QIbFgkBvik3CQAAANNJREFUCNcByAA3/wF0z7UFAgIzFBkLDQQBBfzt8fnj7PJL+xIDHSo2ECMU4PHz6/X07fb57vj58///9gb9AhkqFw8QCh0HAvn+/vD4+ur1+jQPDuwNAQT/BgMd+wE1FBfWDfrz8vUKBgo5+Q7O8eEC/QcBFvH55bK9NPIKPwYUGdPj4LzFF/4CBP79/xUKDicrLwkMFAADAhkiBQAV9c776wL//gvd6u0JIR8A/f0A/P0FDArzAQDt+/0E9/IEoOju/PPeTjAlCAgH4+jvk9bm3/n8b9hiDUdDcYcAAAAASUVORK5CYII=",
35 "hello world!",
36 "%x%x%x%x",
37 "[object Function]",
38 "professional git commit history entangler",
39 "chronic minecraft player",
40 "[SYNTAX ERROR ON LINE (6408082)]",
41 "nananan",
42 "[恋をして!](https://jamies.page/)",
43 "Not hosted on GitHub!",
44 "OpenGL 2.1 (if supported)!",
45 "Now With Multiplayer!",
46 "Alpha version!",
47 "As seen on TV!",
48 "$(Get-ChildItem -Force -File -Recurse | ? { $_.Extension -notin '.woff2','.jpg','.png','.md','.ico' } | % { cat $_ } | wc -l) lines of code!",
49 # this only runs once on (re)load so its always the same number until the server restarts, good enough?
50 "The instruction at 0x$( "{0:x}" -f (get-random -min 0 -max 0x7fffffff) ) referenced memory at 0x00000000. The memory could not be read. Click [here](/garbage/bugs_when_you_lift_up_a_rock.jpg) to terminate the program.",
51 "buhhhh",
52 "こんるし〜"
53 )
54 }
55
56 Server = @{
57 AllowedActions = @{
58 Suspend = $false
59 Disable = $false
60 }
61 }
62
63 Web = @{
64 Compression = @{
65 Enable = $true
66 }
67
68 Static = @{
69 Cache = @{
70 Enable = $true
71 Include = @(
72 '/font/*',
73 '/prism/*'
74 )
75 }
76 }
77 }
78}