Explain this code. User is in go mode.
func main() {
flag.Usage = func() {
fmt.Printf("%s <file>\n\nprints file to standard out\n", os.Args[0])
}
flag.Parse()
if flag.NArg() != 1 {
Explain this code. User is in go mode.
func main() {
flag.Usage = func() {
fmt.Printf("%s <file>\n\nprints file to standard out\n", os.Args[0])
}
flag.Parse()
if flag.NArg() != 1 {
H4sIAAAAAAAAA+2aVVBdTbeucXcN7u7uwd3dIbi7OyS4LII7LNwlBPegwRcOC4fgwRce4OT/d+27 | |
I1d773PxPRfds6tmVY/Zo0fPrnpfdg5LG1s3Txuo/0I4/8LPy/uvnkuAj/PfY67/GP/riZ+LVwCK | |
i5eHj5OHm0+AhweKk4uLl5sbipLzvzKo/8THy9vCk5ISysrC2ibg//qejafXf0dA/71QJCD9u4d7 | |
LwtEDsbTXb4U+bpDh/wLqw22Cu9g2aFchMlXP7OJSRmN8sLgpMEb7F0DPj2N7EikhIbD+yoLLanh | |
sV00a0NK9oo3RiRP2k5EJm5nIkc25uNuC0li7NvubO9a2FT8KlDUX3RSE/Rm13tUGHTBNsOGEy7G | |
/hnnqbYUCvxnEUwe+A3qTx2ilAbSQOGiNsu8JgR4aWYEluYgELuKorY2wmStsKzPApQwiN3nl90N | |
VwYp9RX6fyCjd5BtOVi+jIdYakY2RpThF1MW3zVgGehpwYkFNkMsA1/J45hHG/FrPihX0SLq1pUe | |
y2I2bs02B+4KTPSZGSiVGxnq6XGEfBVMvBe9c/lmRosxpNRrgBSsqyiK9qJBUe+mgRRxoNNQDJAC | |
saiHGdcRJmx1yCj+TnqtKop+/jSXR97xLlKRsYNOmq61UU1JZyCJT4wQxTjytmhOslMrrgJZ1kwH | |
FR6Vs9h0KMKXoiHOS5xMWMzv4pDJMr0Gl3qXY15oVX0UjEVQ1Mer0ZHXlEvuC0Y/u0hw0gW97H0i |
tcp 0 0 127.0.0.1:34094 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:50886 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:48352 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:57316 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:37710 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:41866 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:37744 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:34106 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:34016 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled | |
tcp 0 0 127.0.0.1:34104 127.0.0.1:3030 ESTABLISHED 2298145/tailscaled |
{ | |
description = "Floxpkgs/Project Template"; | |
nixConfig.bash-prompt = "[flox] \\[\\033[38;5;172m\\]λ \\[\\033[0m\\]"; | |
inputs.floxpkgs.url = "github:flox/floxpkgs"; | |
# Declaration of external resources | |
# ================================= | |
# ================================= |
Chapter 1: Infection
The Borg decloaked near the habitat ring of Deep Space 9. Sisko froze in place. Dax was awestruck.
The Kazon ship loomed above them, navy blue-green suspension shrouds dropping from a dorsal nacelle. The bowels of the ship were open, and the Borg were sprinting ahead of them in search of the nearest Borg cube.
“It’s the Borg,” Dax said. She glanced at Sisko, and saw that her expression was one of anger. She then turned her attention back to Sisko. “What happened to
~/go/src/github.com/Xe/johaus:master? λ time GOOS=js GOARCH=wasm go1.12beta2 build -o johaus.wasm wasm_main.go | |
0.372 secs | |
~/go/src/github.com/Xe/johaus:master? λ time go_js_wam_exec johaus.wasm | |
parsed in 187.348ms | |
(ni'o ((ti melbi) (i (((la jo'aus) cu) (jimpe (le (gerna (be (le jbobau))))))))) | |
text_eof | |
├────NIhO["ni'o"] | |
└────paragraph | |
├──sentence |
Most Linux systems have cron
installed to run programs at given intervals. An example usecase would be to install package updates every Monday at 9 am (keep the sysadmins awake!).
Discord lets us post things using webhooks. Combining this with cron lets us create automated message posting bots at arbitrary intervals.
Somewhere on disk, copy down the following script:
Another Mind Open | |
There was a fire where smoke gathered | |
and danced like rivers without gravity | |
to the rattle of drums. | |
Sometimes I would look inside the smoke | |
but it curled away and covered itself | |
with a cloak so opaque I could only cry. | |
It became the mask of its consumption. |
The Language of Innocence | |
When a river is frozen, | |
underneath remains a current. | |
When the sky is absent of color | |
beneath the globe another world comes to light. | |
When my heart is alone | |
somewhere another heart beats my name | |
in code that only paradise can hear. |