-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.per
More file actions
38 lines (34 loc) · 1.88 KB
/
Copy pathmain.per
File metadata and controls
38 lines (34 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package main
import "stdio"
// TODO: Make a parser from files:
// - /etc/os_release for OS item
// - /proc/version for Kernel item
// - /proc/cpuinfo for CPU item
// - /proc/meminfo for Memory item
// I'm so sorry for hardcode xd
fn main() {
stdio.Print("+###++###+-##++##+ +##++#####++##+ guest@host\n")
stdio.Print("# .+# ..#+. ## #+ # ## # ## # --------------\n")
stdio.Print("# . #+. ##. ## #+ # ## # ## # OS: NovariaOS 0.2.0-INDEV\n")
stdio.Print("# #.. ##. ## ## #+ # ## # ## # Kernel: n300326\n")
stdio.Print("# ##+. ## ## ## #+ # ## # ## # Uptime: 36 seconds\n")
stdio.Print("# #+##..## ## ##..##- # ## # ## # Shell: internal shell\n")
stdio.Print("# ## # ## ##..## ..#+ # ## # ## # Terminal: tty0\n")
stdio.Print("# ## ##. ##..## ..# . #+ # ## # ## # CPU: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz\n")
stdio.Print("# ## # #..## .## . #+. #+# ## # ## # Memory: 0MiB / 802MiB\n")
stdio.Print("# ## # # .## ..#.. ##. ## ## # ## #\n")
stdio.Print("# ## # ## ..#.. ##. ## # ## # ## #\n")
stdio.Print("# ## # ### . #+. ## ## .# ## # ## #\n")
stdio.Print("# ## # ## #+. ##. ## ## .### # ## #\n")
stdio.Print("# ## # ## ##. ## ## ##..## # ## #\n")
stdio.Print("# ## # ## #+# ## ## .## .+# # ## #\n")
stdio.Print("# ## # ## # +# ## ## .## ..## ## #\n")
stdio.Print("# ## # ## # +# ## .## ..# . # ## #\n")
stdio.Print("# ## # ## # +# .## .+# . #+. # ## #\n")
stdio.Print("# ## # ## # +# .+# #+. ##..### #\n")
stdio.Print("# ## # ## # +# ..#+. ## ## ## #\n")
stdio.Print("# ## # ## # +#.. ##. ## ## # #\n")
stdio.Print("# ## # ## # -##. ## ## ## . #\n")
stdio.Print("# ## # ## # +#. ## ## ## . #\n")
stdio.Print("+##++#####++##+ +##++##++##++###+\n")
}