Description | Command |
---|---|
Detach from screen keybinding | ctrl+a d |
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
This file contains 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
{"lastUpload":"2019-11-25T07:46:39.314Z","extensionVersion":"v3.4.3"} |
This file contains 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
package main | |
import ( | |
"fmt" | |
"math" | |
"time" | |
) | |
// humanizeDuration humanizes time.Duration output to a meaningful value, | |
// golang's default ``time.Duration`` output is badly formatted and unreadable. |
WHEN YOU SETUP NEW GCE, DO IT IN THE MORNING THEN TEST RUNNING UNTIL YOUR 13:46, BECAUSE THE FIRST DAY ALWAYS FLIPS OUT FOR SOME STRANGE REASON. ESPECIALLY TEST:
- Telegram commands (
statsBot
):news
,day
,stats
, etc. - Terminal commands (
statsBot
):news
,day
,stats
, etc. screen
command (detech a couple of times), just this time it was a reason for a flip out- Close terminal and let
screen
running in backend
This file contains 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
package main | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" | |
"github.com/go-fsnotify/fsnotify" | |
) |