Description | Command |
---|---|
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
Attach to a running session with name | screen -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β β | |
βββ ββββ | |
ββββ ββββββ | |
βββββββββββββββββββ | |
βββββββββββββββββββββ | |
βββββββββββββββββββββββ | |
βββββββββββββββββββββββββ | |
βββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local CONF = "/etc/nn.conf" | |
local m = require("component").modem | |
local event = require("event") | |
local ser = require("serialization") | |
local fs = require("filesystem") | |
local unicode = require("unicode") | |
_G.port = _G.port or 27091 | |
_G.max = _G.max or 15 | |
_G.effects = _G.effects or {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A Gist proving that Kotlin's nullable type can be made into a monad without wrapping into another | |
* object and satisfy the Monadic laws | |
* | |
* Kotlin has comprehensive null safety built into the language enforced at compile time, using its | |
* nullable type. | |
* | |
* Its language structure makes dealing with nullable values simple and succinct. Unlike other language | |
* monadic constructs such as Option (scala), Optional(Java8+) and Maybe(Haskell), it is enforced at | |
* compile time and is compatible with existing non monad aware API (for example, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setwd("~/rProgramming") | |
files.sources = list.files() | |
sapply(files.sources, source) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
In 1.14, villagers use an AI system completely independent from the old Goal system. However, this system can be used by any LivingEntity
. This document aims at explaining the basics of that more advanced AI.
Every living entity now has a Brain
. A brain uses memories and sensors to perform tasks and activities.
Memories are a way to save arbitrary data for use by tasks.